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
1: ["FIN"] | |
2: ["SYN"] | |
3: ["SYN", "FIN"] | |
4: ["RST"] | |
5: ["RST", "FIN"] | |
6: ["RST", "SYN"] | |
7: ["RST", "SYN", "FIN"] | |
8: ["PUSH"] | |
9: ["PUSH", "FIN"] | |
10: ["PUSH", "SYN"] |
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://github.com/caseyhoward/nokogiri-plist | |
require 'nokogiri-plist' | |
# /apps/gnome-terminal/profiles/Default | |
# -> background_color | |
# -> bold_color | |
# -> foreground_color | |
# -> palette | |
def convert_to_key(real_color) |
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/sh | |
# | |
# $FreeBSD$ | |
# | |
# PROVIDE: puppetm | |
# REQUIRE: NETWORK | |
# KEYWORD: shutdown | |
# Original: http://svnweb.freebsd.org/ports/head/sysutils/puppet/files/puppet.in?revision=332664&view=co |
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/sh | |
# | |
# $FreeBSD$ | |
# | |
# PROVIDE: puppet | |
# REQUIRE: NETWORK | |
# KEYWORD: shutdown | |
# Original: http://svnweb.freebsd.org/ports/head/sysutils/puppet/files/puppet.in?revision=332664&view=co |
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
[main] | |
vardir=/var/puppet | |
ssldir=$vardir/ssl | |
#The default value is '$vardir/lib/facter:$vardir/facts'. | |
rundir=/var/run/puppet | |
logdir=/var/log/puppet | |
confdir=/usr/local/etc/puppet | |
templatedir=$confdir/templates |
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
server { | |
listen 80; | |
server_name nagios.example.tld; | |
access_log /var/log/nginx/nagios.access.log; | |
error_log /var/log/nginx/nagios.error.log info; | |
expires 31d; | |
root /usr/share/nagios3/htdocs; |
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
// ==UserScript== | |
// @name Paint It Greyscale | |
// @namespace John Wrenn | |
// @description Surf the web in soothing shades of grey! | |
// @author shadowbq | |
// @grant none | |
// @include * | |
// ==/UserScript== | |
var $; |
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
!ENTRY org.eclipse.ui 4 0 2013-01-14 10:47:09.876 | |
!MESSAGE Unhandled event loop exception | |
!STACK 0 | |
java.lang.StackOverflowError | |
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:774) | |
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720) | |
at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:211) | |
at org.eclipse.swt.custom.StyledTextRenderer.getLineHeight(StyledTextRenderer.java:569) | |
at org.eclipse.swt.custom.StyledText.getLineIndex(StyledText.java:4220) | |
at org.eclipse.jface.text.JFaceTextUtil.getBottomIndex(JFaceTextUtil.java:69) |
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 bash | |
for i in *; do | |
n=`echo $i | tr [:upper:] [:lower:]` | |
if [ $i != $n ]; then | |
# echo -e "$i to $n" | |
git mv -f $i $n | |
fi | |
done |