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
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
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
https://dbl.oisd.nl/ |
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 | |
#Author: Guido Diepen | |
#Convenience script that can help me to easily create a clone of a given | |
#data volume. The script is mainly useful if you are using named volumes | |
#First check if the user provided all needed arguments | |
if [ "$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
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
#server_name myhome; | |
listen 80; | |
listen [::]:80; |
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
{ | |
"label": "cppcheck", | |
"group": "test", | |
"command": "cppcheck src/gameboycore --enable=all -q", | |
"options": { | |
"cwd": "${workspaceFolder}" | |
}, | |
"type": "shell", | |
"problemMatcher": { | |
"owner": "cpp", |
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
https://cliutils.gitlab.io/modern-cmake/ |
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
Nintendo 64 | |
----------- | |
* http://n64devkit.square7.ch/ |
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
from neopixel import * | |
from Queue import Queue | |
from SimpleXMLRPCServer import SimpleXMLRPCServer | |
from threading import Thread | |
from argparse import ArgumentParser | |
import logging | |
import time | |
class BacklightDriver: |
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
# Find open ssh ports on network | |
nmap -sS -p 22 192.168.10.0/24 |
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
from myplugins import BasePlugin | |
from argparse import ArgumentParser | |
class Plugin1(BasePlugin): | |
def __init__(self): | |
BasePlugin.__init__(self, 'plugin1') | |
def init_parser(self, parser): | |
parser.add_argument('-t', '--topics') |
NewerOlder