start new:
tmux
start new with session name:
tmux new -s myname
| #!ipxe | |
| #dhcp | |
| echo Starting Ubuntu x64 installer for ${hostname} | |
| set base-url http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64 | |
| kernel ${base-url}/linux | |
| initrd ${base-url}/initrd.gz | |
| imgargs linux auto=true fb=false priority=critical preseed/locale=en_GB kbd-chooser/method=gb preseed/url=http://172.16.195.128/ubuntuPreseed.cfg | |
| # DEBCONF_DEBUG=5 | |
| boot || | |
| # If everything failed, give the user some options |
There are a number of good introductory SQL resources available for free and online. There are also some paid resources which I recommend for beginners, that are very effective, and well worth expensing in my opinion.
A couple of notes:
| # Install tmux 2.8 on Centos | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # cd src | |
| cd /usr/local/src | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz |
| // Package main | |
| // Copyright 2017 Kranz. All rights reserved. | |
| // Use of this source code is governed by a MIT-style | |
| // license that can be found in the LICENSE file. | |
| /** | |
| Test read file by chunks | |
| ➜ read ll | |
| total 13241936 | |
| drwxr-xr-x 5 rlopes staff 170B 16 Jan 01:19 ./ |
| #!/bin/bash | |
| # FZF_DEFAULT_COMMAND utility for fzf | |
| # | |
| # Tries to use Watchman, Ripgrep (rg), The Silver Searcher (ag) in this order. | |
| # ...or falls back the fzf's Unix default. | |
| # | |
| # TODO: | |
| # - Use 'git ls-files -cmod' in Git repositories |
| package main | |
| import ( | |
| "fmt" | |
| "math/big" | |
| "context" | |
| "io/ioutil" | |
| "github.com/ethereum/go-ethereum/accounts" | |
| "github.com/ethereum/go-ethereum/accounts/keystore" |
| pragma solidity ^0.4.10; | |
| // Update: Just use HardHat's: https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/console.sol | |
| // Enables event logging of the format `console.log('descriptive string', variable)`, | |
| // without having to worry about the variable type (as long as an event has been declared for that type in the | |
| // Console contract. | |
| contract Console { | |
| event LogUint(string, uint); |