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
source 'https://rubygems.org' | |
gem 'bindata' | |
gem 'bcrypt_pbkdf', github: 'mfazekas/bcrypt_pbkdf-ruby' |
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
[colors] | |
highlight = color223 | |
verbose = color66 | |
warn = color167 | |
error = color124 | |
debug = color245 | |
deprecate = color132 | |
skip = color72 | |
unreachable = color124 | |
ok = color142 |
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
# As read on the card, top-down. For convenience, leading zeros can be skipped | |
rows = [ | |
"11000001100001001110010101010101001011000110", | |
"11000000110000000101010001000100100100001", | |
"100011000110001000000100000000000001000", | |
"100001000000000000000100001001000000", | |
"0", | |
"100001000100101110110100000000100001000", | |
"10010000000000000000000000000000000", | |
"10001000000001000001000010000100000100011", |
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
source 'https://rubygems.org' | |
gem 'activesupport', '~> 5.0' | |
gem 'minitest' |
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
$ npm install -g eslint eslint-config-standard-react-native | |
[ciachciach] | |
npm ERR! Linux 4.4.0-28-generic | |
npm ERR! node v4.0.0 | |
npm ERR! npm v2.14.2 | |
npm ERR! code EPEERINVALID | |
npm ERR! peerinvalid The package eslint@3.0.1 does not satisfy its siblings' peerDependencies requirements! | |
npm ERR! peerinvalid Peer eslint-config-standard@5.3.1 wants eslint@^2.0.0-rc.0 | |
npm ERR! peerinvalid Peer eslint-config-standard-react-native@1.0.0 wants eslint@^3.0.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
/* Append this to /opt/scudcloud/resources/login.css */ | |
[data-emoji^=twi], [data-emoji^=rarity], [data-emoji^=pp], [data-emoji^=flutter], [data-emoji^=aj], [data-emoji^=rd], [data-emoji^=sb], [data-emoji^=granny] { | |
height: 100% !important; | |
} | |
[data-emoji^=twi], [data-emoji^=rarity], [data-emoji^=pp], [data-emoji^=flutter], [data-emoji^=aj], [data-emoji^=rd], [data-emoji^=sb], [data-emoji^=granny] > .emoji-sizer { | |
width: 2em !important; | |
height: 2em !important; | |
} |
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 'open3' | |
require 'delegate' | |
require 'stringio' | |
class BzipFile < SimpleDelegator | |
attr_accessor :path | |
end | |
# Features and nonfeatures: | |
# * doesn't support writing |
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
args={...} | |
url="http://mctechtree.herokuapp.com/solve.lua" | |
name=table.concat(args, ' ') | |
-- TODO: split on commas, pass multiple items | |
local request = http.post(url, "items[]="..name) | |
if request == nil then | |
error("Error making request") | |
end | |
data=request.readAll(); | |
loadstring(data)() |
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
it 'ignores HTML comments and CDATA sections' do | |
use_css %(<![CDATA[ | |
<!-- | |
p { color: green } | |
--> | |
]]>) | |
expect { rendering '<p></p>' }.not_to raise_error | |
end |
NewerOlder