Getting started:
Related tutorials:
Getting started:
Related tutorials:
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
while true | |
do | |
rsync -avz ./ user@host:remote/directory/ | |
inotifywait -r ./ | |
done |
This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.
http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL
#!/usr/bin/env python3 | |
import getpass | |
import sqlite3 | |
import csv | |
RKIT_PATH = "/Users/" + getpass.getuser() + "/Library/Containers/com.reederapp.rkit2.mac/Data/Library/Application Support/Reeder/rkit/" | |
conn = sqlite3.connect(RKIT_PATH + "rkit.db") | |
DATA_DB_PATH = RKIT_PATH + "rkit-data.db" |
{ | |
"configurations": [ | |
{ | |
"name": "Mac", | |
"includePath": [ | |
"/usr/local/include", | |
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1", | |
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include", | |
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include", | |
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include", |
CFLAGS=-g -std=gnu99 -Wall -pedantic-errors | |
all: encrypt decrypt | |
encrypt: encrypt.o | |
gcc -o encrypt encrypt.o ./GmSSL/libcrypto.a -lpthread -ldl | |
encrypt.o: encrypt.c | |
gcc -c -o encrypt.o encrypt.c -I/usr/local/include | |
decrypt: decrypt.o | |
gcc -o decrypt decrypt.o ./GmSSL/libcrypto.a -lpthread -ldl | |
decrypt.o: decrypt.c | |
gcc -c -o decrypt.o decrypt.c -I/usr/local/include |
// | |
// 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> |
ant | |
apache-spark | |
aria2 | |
asciidoc | |
aspell | |
boot2docker | |
cheat | |
clang-format | |
cloc | |
elasticsearch |