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 ruby | |
require 'yaml' | |
if ARGV.size < 1 | |
puts "Usage: github-test.rb my-project.gemspec" | |
exit | |
end | |
require 'rubygems' | |
require 'rubygems/specification' |
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/source_code/DibHelper.cpp b/source_code/DibHelper.cpp | |
index 4bfbd94..c8a02fe 100644 | |
--- a/source_code/DibHelper.cpp | |
+++ b/source_code/DibHelper.cpp | |
@@ -165,7 +165,7 @@ boolean is_config_set_to_1(LPCTSTR szValueName) { | |
HKEY hKey; | |
LONG i; | |
i = RegOpenKeyEx(HKEY_CURRENT_USER, | |
- L"SOFTWARE\\screen-capture-recorder", 0, KEY_READ, &hKey); | |
+ L"SOFTWARE\\evp-capture", 0, KEY_READ, &hKey); |
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 'java' | |
class A < javax.swing.JFrame | |
def initialize *args | |
super(*args) | |
end | |
end | |
A.new |
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
package main | |
import "fmt" | |
import "strings" | |
// some ruby #map type things, in golang | |
// mostly taken from https://groups.google.com/forum/#!topic/golang-nuts/fgaeXCUEPC4 | |
// apparently calling this out with specific types is faster than defining it generically to use interfaces: http://comments.gmane.org/gmane.comp.lang.go.general/43076 | |
func _map(coll []string, f func(string) string) []string { | |
var newColl = make([]string, len(coll)) |
NewerOlder