install
sudo snap install lxd && lxd init
Init
lxd init --preseed <<EOF
sudo snap install lxd && lxd init
lxd init --preseed <<EOF
loadkeys us-acentos
Wireless connection
Install MySQL-8.0 from [here].
Open Terminal and go to /MySQL-8.0/bin
directory.
Run mysqld --initialize
.
This will initialize the mysql data directory at location specified in /MySQL-8.0/my.ini
file;
if not, it will initialize the data directory inside /MySQL-8.0/data
.
Run mysqld --console
command.
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
*.pid.lock |
I generally try to avoid libraries and code I did not write/test but here is a quick refrence for:
Library | Library | Library |
---|---|---|
Android Annotations | Buterknife | Dagger2 |
EventBus | FirbaseJobDispatcher | Glide |
Icepick | JodaTime | LeakCanary |
ObjectBox | OkHttpClient | Moshi |
package main | |
import ( | |
"bufio" | |
"context" | |
"fmt" | |
"log" | |
"os" | |
"time" | |
) |
To add a conda environment to the list of environments:
$ source activate thisenv
(thisenv) $ pip install ipykernel
(thisenv) $ python -m ipykernel install --user --name thisenv
import ctypes | |
import ctypes.wintypes | |
import sys | |
class WINHTTP_CURRENT_USER_IE_PROXY_CONFIG(ctypes.Structure): | |
_fields_ = [("fAutoDetect", ctypes.wintypes.BOOL), | |
("lpszAutoConfigUrl", ctypes.wintypes.LPWSTR), | |
("lpszProxy", ctypes.wintypes.LPWSTR), | |
("lpszProxyBypass", ctypes.wintypes.LPWSTR)] | |
#
# ~/.bashrc
#
[[ $- != *i* ]] && return