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
wpull_hook.callbacks.version = 2 |
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/doc/terse_options.rst b/doc/terse_options.rst | |
index 725ae72..b223979 100644 | |
--- a/doc/terse_options.rst | |
+++ b/doc/terse_options.rst | |
@@ -35,6 +35,7 @@ Brief Option Overview | |
[--random-file FILE] [--edg-file FILE] | |
[--warc-file FILENAME] [--warc-append] | |
[--warc-header STRING] [--warc-max-size NUMBER] | |
+ [--move-warc-to DIR] | |
[--warc-cdx] [--warc-dedup FILE] [--no-warc-compression] |
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 'sinatra' | |
get '/proof*' do | |
status 200 | |
'<html><body>Click it: <a href="proof/">Proof</a></body></html>' | |
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
#include <boost/intrusive/unordered_set.hpp> | |
#include <chrono> | |
#include <random> | |
#include <vector> | |
#include <iostream> | |
namespace bi = boost::intrusive; | |
struct Billboard : public bi::unordered_set_base_hook<> | |
{ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme version="1.0" name="ir_black"> | |
<!-- This file was generated using vimColorsToQtC.pl. --> | |
<style name="SearchResult" foreground="#f6f3e8" /> | |
<style name="LineNumber" foreground="#3d3d3d" /> | |
<style name="DisabledCode" foreground="#3d3d3d" /> | |
<style name="CurrentLineNumber" foreground="#ffff00" bold="true" /> | |
<style name="Selection" background="#262d51" foreground="#f6f3e8" /> | |
<style name="DillFileLine" background="#384048" foreground="#a0a8b0" /> | |
<style name="DiffFileLine" background="#384048" foreground="#a0a8b0" /> |
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
!function(){function n(n,t){return t>n?-1:n>t?1:n>=t?0:0/0}function t(n){return null===n?0/0:+n}function e(n){return!isNaN(n)}function r(n){return{left:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)<0?r=i+1:u=i}return r},right:function(t,e,r,u){for(arguments.length<3&&(r=0),arguments.length<4&&(u=t.length);u>r;){var i=r+u>>>1;n(t[i],e)>0?u=i:r=i+1}return r}}}function u(n){return n.length}function i(n){for(var t=1;n*t%1;)t*=10;return t}function o(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function a(){this._=Object.create(null)}function c(n){return(n+="")===da||n[0]===ma?ma+n:n}function l(n){return(n+="")[0]===ma?n.slice(1):n}function s(n){return c(n)in this._}function f(n){return(n=c(n))in this._&&delete this._[n]}function h(){var n=[];for(var t in this._)n.push(l(t));return n}function g(){var n=0;for(var t in this._)++n;return n}function p(){for(var n in this._)return!1;return!0}function v(){this._=Object |
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 | |
# assumes iocat (https://www.npmjs.com/package/iocat) is somewhere in PATH | |
iocat ws://dashboard.at.ninjawedding.org:4567/stream | grep -v '^>' | jq -r 'select(.url) | .job_data.ident + "\t" + (.response_code | tostring) + " " + .wget_code + " " + .url' |
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
reserved-dhcp-165-124-223-118:migrate davidyip$ RAILS_ENV=development rake db:migrate | |
(in /Users/davidyip/Projects/pathcore/pathcore) | |
== 20080812182649 AddUniqueIndexToCollectionGroupsRequisitionIdentifier: migrating | |
-- add_index(:collection_groups, :requisition_identifier, {:unique=>true}) | |
rake aborted! | |
SQLite3::SQLException: SQL logic error or missing database: CREATE UNIQUE INDEX "index_collection_groups_on_requisition_identifier" ON "collection_groups" ("requisition_identifier") |
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 Bits | |
import Data.Word (Word32, Word64) | |
-- Utilities | |
concatBytes :: (Bits a) => a -> a -> a | |
concatBytes b1 b2 = (.|.) (shiftL b1 8) b2 | |
le4 :: [Word32] -> [[Word32]] | |
le4 (x4:x3:x2:x1:[]) = [x1,x2,x3,x4]:[] | |
le4 (x4:x3:x2:x1:xs) = [x1,x2,x3,x4]:le4 xs |
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
<html> | |
<head> | |
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<div id="container"> | |
<div id="header"> | |
Header | |
</div> | |
<div id="sidebar"> |
OlderNewer