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
g=git | |
ga='git add' | |
gaa='git add --all' | |
gap='git apply' | |
gapa='git add --patch' | |
gau='git add --update' | |
gav='git add --verbose' | |
gb='git branch' | |
gbD='git branch -D' | |
gba='git branch -a' |
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
-- AngusP's XMonad Config | |
import System.IO | |
import System.Exit | |
import XMonad | |
import XMonad.Actions.CycleWS | |
import XMonad.Actions.CopyWindow | |
import XMonad.Actions.MouseGestures | |
import XMonad.Actions.SpawnOn | |
import XMonad.Hooks.DynamicLog |
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
g=git | |
ga='git add' | |
gaa='git add --all' | |
gapa='git add --patch' | |
gau='git add --update' | |
gb='git branch' | |
gba='git branch -a' | |
gbd='git branch -d' | |
gbda='git branch --no-color --merged | command grep -vE "^(\*|\s*(master|develop|dev)\s*$)" | command xargs -n 1 git branch -d' | |
gbl='git blame -b -w' |
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
git: aliased to hub |
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
LibreNMS Poller | |
Version info: | |
Commit SHA: 969b963180ea42272c5b9c40851c683daf1c6337 | |
Commit Date: 1481790205 | |
DB Schema: 152 | |
PHP: 5.6.28-0+deb8u1 | |
MySQL: 10.0.28-MariaDB-0+deb8u1 | |
RRDTool: 1.4.8 | |
SNMP: NET-SNMP 5.7.2.1 | |
DEBUG! |
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
#!/usr/bin/env python | |
import json | |
import paho.mqtt.client as mqtt | |
prog = [] | |
leds = 50 | |
def generate_frame(n, timeout): | |
frame = [[n, n, n] for _ in range(0, 50)] | |
return [frame, timeout] |
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
LibreNMS Discovery | |
Version info: | |
Commit SHA: | |
DB Schema: 148 | |
PHP: 7.0.12-1+deb.sury.org~xenial+1 | |
MySQL: 10.1.18-MariaDB-1~jessie | |
RRDTool: 1.5.5 | |
SNMP: NET-SNMP 5.7.3 | |
DEBUG! | |
SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1] |
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
-- AngusP's XMonad Config | |
import System.IO | |
import System.Exit | |
import XMonad | |
import XMonad.Actions.CycleWS | |
import XMonad.Actions.CopyWindow | |
import XMonad.Actions.MouseGestures | |
import XMonad.Actions.SpawnOn | |
import XMonad.Hooks.DynamicLog |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration." | |
(setq-default | |
;; List of additional paths where to look for configuration layers. | |
;; Paths must have a trailing slash (i.e. `~/.mycontribs/') | |
dotspacemacs-configuration-layer-path '() |
NewerOlder