remove wikipedia blackout..
Copy below to your bookmarks bar, drag drop etc
javascript:$("div").css('display','block');$("#mw-sopaOverlay").css('display','none')
let rec readUntilEOL' (line: string) (stream: NetworkStream) : Async<String> = | |
printfn "readUntilEOL': %s %A" line stream | |
async { | |
if line.EndsWith(String.NLCR) then return line | |
else | |
let! output = stream.AsyncRead(1) | |
let! result = readUntilEOL' (line + Encoding.ASCII.GetString(output)) stream | |
return result | |
} | |
#config/initializers/datamapper_readonly.rb | |
module DataMapperReadOnly | |
def read_only! | |
[:valid?, :create, :update, :save, :destroy].each do |t| | |
before t do | |
raise Exception.new "read-only class attempted write" | |
end | |
end | |
end | |
end |
diff --git a/stdlib/public/Glibc/module.map b/stdlib/public/Glibc/module.map | |
index b08485d..704e2b4 100644 | |
--- a/stdlib/public/Glibc/module.map | |
+++ b/stdlib/public/Glibc/module.map | |
@@ -184,7 +184,7 @@ module SwiftGlibc [system] { | |
export * | |
} | |
module ioctl { | |
- header "/usr/include/x86_64-linux-gnu/sys/ioctl.h" | |
+ header "/usr/include/sys/ioctl.h" |
diff --git a/lib/Immediate/REPL.cpp b/lib/Immediate/REPL.cpp | |
index 740b315..86e1ff2 100644 | |
--- a/lib/Immediate/REPL.cpp | |
+++ b/lib/Immediate/REPL.cpp | |
@@ -33,11 +33,7 @@ | |
#include "llvm/Support/PrettyStackTrace.h" | |
#include "llvm/Support/Process.h" | |
-#if defined(__APPLE__) | |
-// FIXME: Support REPL on non-Apple platforms. Ubuntu 14.10's editline does not |
#!/usr/bin/env ruby | |
require 'digest/sha1' | |
sums=File.open('SHA1.txt', 'r') {|fp| fp.read.downcase.split("\n")} | |
while true | |
pa = Digest::SHA1.hexdigest(gets().strip).downcase | |
puts sums.include?(pa) ? "Password is in dump, not decrypted" \ | |
: sums.include?(pa.gsub(/^.{5}/,'00000')) ? "Password exists and has been decrypted" \ | |
: "All good!" | |
end |
<h1>HAI GUYS</h1> |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
require 'iconv' | |
ic = Iconv.new('UTF-8//IGNORE', 'UTF-8') | |
questions = [] | |
print "Starting.." | |
Dir['*.txt'].each do |file| | |
print "." | |
questions << ic.iconv(File.open(file).read).downcase.split("\n") | |
end |
remove wikipedia blackout..
Copy below to your bookmarks bar, drag drop etc
javascript:$("div").css('display','block');$("#mw-sopaOverlay").css('display','none')
{ | |
"files": | |
{ | |
"bootstrap": "https://raw.github.com/twitter/bootstrap/master/bootstrap.min.css", | |
"coffeescript": "https://raw.github.com/jashkenas/coffee-script/master/extras/coffee-script.js", | |
"jquery": "http://code.jquery.com/jquery.min.js", | |
"task.js": "https://raw.github.com/mozilla/task.js/master/lib/task.js", | |
"underscore": "http://documentcloud.github.com/underscore/underscore-min.js" | |
}, | |
"packages": |