(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # The following comments fill some of the gaps in Solargraph's understanding of | |
| # Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
| # ignored at runtime. | |
| # | |
| # You can put this file anywhere in the project, as long as it gets included in | |
| # the workspace maps. It's recommended that you keep it in a standalone file | |
| # instead of pasting it into an existing one. | |
| # | |
| # @!parse | |
| # class ActionController::Base |
| from typing import List, Tuple, Optional, Union, Any, ContextManager, Callable, overload | |
| import builtins | |
| import math | |
| import pickle | |
| class dtype: ... | |
| _dtype = dtype |
| # PC2 <---eth cable--- PC1 <-- ((( wifi ))) | |
| # connect as root on PC1 | |
| su | |
| # install networkmanager | |
| pacman -S networkmanager | |
| # enable networkmanager and start it | |
| systemctl start NetworkManager |
| public static byte[] rotateYUV420Degree90(byte[] data, int imageWidth, int imageHeight) { | |
| byte[] yuv = new byte[imageWidth * imageHeight * 3 / 2]; | |
| // Rotate the Y luma | |
| int i = 0; | |
| for (int x = 0; x < imageWidth; x++) { | |
| for (int y = imageHeight - 1; y >= 0; y--) { | |
| yuv[i] = data[y * imageWidth + x]; | |
| i++; | |
| } | |
| } |
| # Claas Heuer, August 2015 | |
| # | |
| # urls: | |
| # http://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host | |
| # http://www.gnu.org/software/libc/download.html | |
| cd $HOME | |
| mkdir glibc_update | |
| cd glibc_update |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| rocksdb::Status CopyDB(const std::string& source_db_name, | |
| const Options& source_db_options, | |
| const std::string& destination_db_name, | |
| const Options& destination_db_options) { | |
| rocksdb::Status s; | |
| // Create the source/destination DBs | |
| rocksdb::DB* source_db = nullptr; | |
| auto sanitized_source_db_options = source_db_options; | |
| sanitized_source_db_options.create_if_missing = false; |
| // | |
| // libuuid sample program | |
| // | |
| // library install for debian | |
| // $ sudo apt-get install uuid-dev | |
| // | |
| // compile | |
| // $ gcc uuid_test.c -luuid -o uuid_test | |
| // | |
| #include <stdio.h> |
As configured in my dotfiles.
start new:
tmux
start new with session name: