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
diff -rupN a/Makefile valag-1.2/Makefile | |
--- a/Makefile 2013-11-27 22:30:17.772031704 +0000 | |
+++ valag-1.2/Makefile 2013-11-22 19:01:59.642559732 +0000 | |
@@ -9,7 +9,7 @@ DESTDIR = $(PREFIX) | |
all: valag | |
valag: $(SRCS) | |
- $(VALAC) -g -o valag --thread --pkg libvala-0.14 --pkg libgvc --pkg glib-2.0 --vapidir . $+ | |
+ $(VALAC) -g -o valag --thread --pkg libvala-0.22 --pkg libgvc --pkg glib-2.0 --vapidir . $+ | |
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
$ gdb break write if 2 == *(int*)($esp + 4) && strstr((char*)*(int*)($esp + 8), "your string") != 0 |
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 original_directory patch_directory -type f ! -name '*.ext' -printf '%f\n' | diff -ru original_directory patch_directory -X - > project.patch |
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
diff --git a/tests/Makefile.am b/tests/Makefile.am | |
index bcf82e1..eb158d7 100644 | |
--- a/tests/Makefile.am | |
+++ b/tests/Makefile.am | |
@@ -112,6 +112,7 @@ TESTS = \ | |
delegates/bug639751.vala \ | |
delegates/bug659778.vala \ | |
delegates/bug703804.vala \ | |
+ objects/cascade.vala \ | |
objects/chainup.vala \ |
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
## | |
# | |
# Cool things I made | |
# display-and-space | |
# Display command syntax from manfiles. | |
# | |
# spin-directory | |
# Loop through directory stack. | |
# | |
# Run previous command as 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
#!/usr/bin/python | |
import time, os, sys | |
# do the UNIX double-fork magic | |
pid = os.fork() | |
if pid > 0: | |
# parent process, exit | |
sleep(5) | |
sys.exit(0) |
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 Sprouted Passwords | |
// @namespace http://idioticdev.com | |
// @description Generate and autofill passwords using that website's domain as the seed. | |
// @include * | |
// @version 1.3 | |
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js | |
// @require http://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.2/seedrandom.min.js | |
// @grant GM_registerMenuCommand | |
// ==/UserScript== |
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 Egg Napper | |
// @namespace idioticdev.com | |
// @include http*://dragcave.net/locations/* | |
// @grant none | |
// @version 1 | |
// ==/UserScript== | |
var SCROLL = true; | |
var ONLY_RARES = false; |
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
require 'shellwords' | |
module Jekyll | |
class StylusConverter < Converter | |
safe true | |
def matches(ext) | |
ext =~ /\.styl/i | |
end |
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
import java.util.Queue; | |
/** | |
* Base class for all postfix elements. | |
*/ | |
public interface Element { | |
/** | |
* Resolves the element to a number pushing the result onto the stack. | |
*/ | |
public void resolve (Queue<Double> stack); |
OlderNewer