Skip to content

Instantly share code, notes, and snippets.

View faddat's full-sized avatar

Jacob Gadikian faddat

View GitHub Profile
@faddat
faddat / startit.sh
Created December 27, 2014 10:22
Android created Gist
#To start plasma-shell:
#KF5 packages are installed in /opt/kf5, while Qt packages are #installed in /opt/qt-git. Those paths are not exported in PATH, #LD_LIBRARY_PATH or PKG_CONFIG_PATH. You will need to export #those everytime you want to play with KF5. (This way your system #isn't compromised).
export KF5=/opt/kf5
export QTDIR=/opt/qt-git
export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS
export XDG_CONFIG_DIRS=$KF5/etc/xdg
export PATH=$KF5/bin:$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$KF5/lib:$QTDIR/lib
export QT_PLUGIN_PATH=$KF5/lib/plugins:$QTDIR/plugins
@faddat
faddat / fenixer.org
Created January 22, 2015 16:07
Web site configs

server { listen 80 default_server;

root /var/www/fenixer; index index.html index.htm; pagespeed on;

pagespeed FileCachePath /var/ngx_pagespeed_cache;

Verifying that +faddat is my openname (Bitcoin username). https://onename.com/faddat
I am the Miaou user with id 2027 and name "Jacob_Gadikian" on https://dystroy.org/miaou
@faddat
faddat / deisazure.sh
Last active August 29, 2015 14:25
Deis on Azure
./azure-coreos-cluster knockers\
--subscription 10f1e496-d2a8-4e66-a19f-6e30e1363173\
--azure-cert azure-cert.pem\
--num-nodes 3\
--affinity-group myapp-affinity\
--vm-size Large\
--pip\
--deis\
--blob-container-url https://horsey.blob.core.windows.net/vhds/\
--data-disk\
@faddat
faddat / klouds-iterations.md
Last active August 29, 2015 14:26 — forked from ds0nt/klouds-iterations.md
Klouds Genesis Iteration

Klouds Iterations

KLouds micro dev cycles: closing the loop in 24 hours or less-- this is agility!

Iteration 1

Backend

  1. route validation refactoring - business logic stays lean and meaningful (can you elaborate pls?)
  2. standalone rancher module
@faddat
faddat / pxe-cloud-config.yml
Created August 7, 2015 11:14
coreos cloud config
ssh_authorized_keys:
- ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqHUGoqYnhwEI/8rQvh55+kVhGubVKONHcdR6QTv/RGTvneGwf6yTSx+mDWjITjWj7gNg3S+//U4SCtICUR/tN9SffZziZlfScBTGXW2gagOfLjX/ww/D6mGNMv5RT9Msk1zYoBK3/F5bfnwYGCQOvSgwbyWFDM2LZxYLuNGGMVT3y7Z95GT6dP1tKP21+6m47gBwppe2eMErpYWuZtDXY8FlHCxSPh4HH1PuHpo4f7STHXJIdrdN7aRjRB8yziCZ7mucWV+XxDhqpgyf13KznQRALnn5lMF84+h97nqVNrhKwZNuiOnCzk6JNYiUtjrpYFpt1UnCNKMtE0UEpzF5d7lyulS16cvfY3Vjl8hJ+lR5/KCqeyr/ObKGS4wyyFMm5+JjAOuwXijT+bDUVyT8WJIPqON9njHVxq9qyQ+LOurMLSCCRhdr6Sfv8vq1mWkXJixgtXy2nXpyAEKtCxWddWgLnWJS9QhFmdmdS9BR2ZxJZiLU/BdGtoM8etyraM6SbWm7870twr1BdL/RLCi14GfEIn4J4KGnsGi6nMVUPVCoiOWTy2E/2xcaO/weezMkjXsstp0xJa0r9n9PRkf64zqbzA4d4T3YYm9c6meiwFiofXTZFpYbXHuC1MSTZQ9/4u2CnrlDqBqHFIK23tINhFtSaGihfLtziFf0+iVdVrw== faddat@gmail.com
@faddat
faddat / cloud-config.yml
Created August 21, 2015 00:43
cloud config for pxe
#cloud-config
coreos:
units:
- name: etcd2.service
command: start
- name: fleet.service
command: start
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqHUGoqYnhwEI/8rQvh55+kVhGubVKONHcdR6QTv/RGTvneGwf6yTSx+mDWjITjWj7gNg3S+//U4SCtICUR/tN9SffZziZlfScBTGXW2gagOfLjX/ww/D6mGNMv5RT9Msk1zYoBK3/F5bfnwYGCQOvSgwbyWFDM2LZxYLuNGGMVT3y7Z95GT6dP1tKP21+6m47gBwppe2eMErpYWuZtDXY8FlHCxSPh4HH1PuHpo4f7STHXJIdrdN7aRjRB8yziCZ7mucWV+XxDhqpgyf13KznQRALnn5lMF84+h97nqVNrhKwZNuiOnCzk6JNYiUtjrpYFpt1UnCNKMtE0UEpzF5d7lyulS16cvfY3Vjl8hJ+lR5/KCqeyr/ObKGS4wyyFMm5+JjAOuwXijT+bDUVyT8WJIPqON9njHVxq9qyQ+LOurMLSCCRhdr6Sfv8vq1mWkXJixgtXy2nXpyAEKtCxWddWgLnWJS9QhFmdmdS9BR2ZxJZiLU/BdGtoM8etyraM6SbWm7870twr1BdL/RLCi14GfEIn4J4KGnsGi6nMVUPVCoiOWTy2E/2xcaO/weezMkjXsstp0xJa0r9n9PRkf64zqbzA4d4T3YYm9c6meiwFiofXTZFpYbXHuC1MSTZQ9/4u2CnrlDqBqHFIK23tINhFtSaGihfLtziFf0+iVdVrw== faddat@gmail.com
@faddat
faddat / bash-hacks.sh
Last active September 3, 2015 00:52 — forked from ds0nt/bash-hacks.sh
Awesome bash hacks --- (for web devs & ninjas, for dot-file pride, for pleasing the monospace gods )
#### #### #### #### #### ####
# / ! /
# / e /
# / M /
# / /
# / k /
# / r /
# / o /
# F /
# /
@faddat
faddat / pxe-cloud-config.yml
Created September 30, 2015 00:33
oh, it just sets up a user
users:
- name: core
passwd: pacopower