Skip to content

Instantly share code, notes, and snippets.

View duckinator's full-sized avatar

Ellen Marie Dash duckinator

View GitHub Profile
#!/usr/bin/env ruby
require 'config_collector'
module Tessellator; end
class Tessellator::Fetcher < Struct.new(:version, :user_agent, :http_redirect_limit, :pages_path)
VERSION = "9001"
def initialize(*args, **keyword_args, &block)
#!/usr/bin/env ruby
class Module
def _refine(klass, &block)
raise TypeError, "wrong argument type #{klass.class} (expected Class)" unless klass.is_a?(Class)
const_set(klass.name, Class.new(klass, &block))
end
end
#!/usr/bin/env ruby
$: << '../net-socket/lib'
$: << './lib'
require 'from'
from('net/socket').import(:TCP)
p Object.constants.grep /VERSION/
---- Minecraft Crash Report ----
WARNING: coremods are present:
TransformerLoader (OpenComputers-MC1.8.9-1.6.0.2-beta.1.jar)
ThaumcraftLoader (Thaumcraft-1.8.9-5.2.4.jar)
FldLoadingPlugin (FastLeafDecay-1.8-1.6.jar)
CoreXU2 (extrautils2-1.8.9-alpha-0.0.2.jar)
MalisisSwitchesPlugin (malisisswitches-1.8.9-1.0.1.jar)
IC2core (industrialcraft-2-2.3.237-ex18.jar)
thaumicinfusion (ThaumicInfusion-1.8.9-4.83.jar)
X = 1
class A
X = 2
end
class A::B
p X # => 1
end
def fetch_items(options={})
limit = options.fetch(:limit)
timestamp = options.fetch(:timestamp)
paged_helper = PagedHelper
client = OurHttpClient
responses = paged_helper.
new(limit, timestamp).
fetch_pages { |params| client.get(params) }
# //\
rm test && clang -std=c99 test.c -o test && ./test; exit $?
#include <stdio.h>
int main() {
puts("Hello, world!");
return 1;
}
source 'https://rubygems.org'
gem 'rack'
gem 'grape'
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose readDependencies loading dependencies from C:\Users\Marie\dev\webpages\duckinator\marie.codes\package.json
5 verbose install where, deps [ 'C:\\Users\\Marie\\dev\\webpages\\duckinator\\marie.codes',
5 verbose install [ 'express',
5 verbose install 'static-favicon',