sudo apt-get install git \
xcb \
libxcb-util0-dev \
libxcb-ewmh-dev \
libxcb-randr0-dev \
libxcb-icccm4-dev \
libxcb-keysyms1-dev \
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s.sort((a,b) => { | |
a = a.replace(/^[a-z]+:\/\//, '') | |
b = b.replace(/^[a-z]+:\/\//, '') | |
a = a.split("/")[0]; | |
b = b.split("/")[0]; | |
if (a.indexOf('.') === -1) return 1 | |
if (b.indexOf('.') === -1) return -1 | |
let aa = a.split("."), | |
bb = b.split("."), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
user root; | |
error_log /tmp/.nginx.log; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 8080; | |
location / { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -la |
I hereby claim:
- I am defektive on github.
- I am defektive (https://keybase.io/defektive) on keybase.
- I have a public key ASDufweLDBHGmWjMT5oqJNDh2oZgBn0bzfRIecllzTmSmwo
To claim this, I am signing this object:
Or, How I switched an existing ubuntu install to arch linux without losing data, or rejoining my domain.
The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
This guide has been forked from https://gist.github.com/binaerbaum/535884a7f5b8a8697557
I've successfully switched existing ubuntu and fedora installations to arch linux without data loss.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
###################################################################### | |
##x``` | |
##| | |
##| .__ .__ .__ .__ | |
##| ____________ ______ | |__ _____ ____ _____| |__ ____ | | | | | |
##| \_ __ \__ \ \____ \| | \\__ \ _/ __ \ / ___/ | \_/ __ \| | | | | |
##| | | \// __ \| |_> > Y \/ __ \\ ___/ \___ \| Y \ ___/| |_| |__ | |
##| |__| (____ / __/|___| (____ /\___ >____ >___| /\___ >____/____/ | |
##| \/|__| \/ \/ \/ \/ \/ \/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
############################################################ | |
###### ********* Work Log ********** ###### | |
############################################################ | |
## - Manage your daily todos in a nice markdown format | |
## - Generate a report for [slack|stand]ups | |
############################################################ | |
ACTION="view" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
web: &WEB | |
user: root | |
guard: | |
user: root | |
jobs: | |
user: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
folder=$1 | |
watchlist=$1/watchlist | |
sleep=$2 | |
slack_post() { | |
message=$1 | |
payload='payload={"channel": "#earl-earl-url", "username": "earlbot", "text": "'$message'", "icon_emoji": ":ghost:"}' |
NewerOlder