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
module.exports.loop = function () { | |
console.log("Hello World") | |
var spawner = Object.values(Game.spawns)[0]; | |
if (spawner.store[RESOURCE_ENERGY] >= 300) { | |
console.log(spawner.spawnCreep([WORK,CARRY,MOVE], Game.time)); | |
} | |
Object.values(Game.creeps).forEach(c => { |
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
// Simple script that exports a users "Saved For Later" list out of Feedly | |
// as a JSON string. | |
// | |
// This was intended for use in the Google Chrome's "Inspector" tool so your | |
// mileage may vary if used in other contexts. | |
// | |
// Format of JSON is as follows: | |
// [ | |
// { | |
// title: "Title", |
I hereby claim:
- I am curzonj on github.
- I am curzonj (https://keybase.io/curzonj) on keybase.
- I have a public key whose fingerprint is 6628 B50D 9CDB 70D6 C97C 2328 AFCC C2EF 073E 1F88
To claim this, I am signing 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
# This file lists certificates that you wish to use or to ignore to be | |
# installed in /etc/ssl/certs. | |
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file. | |
# | |
# This is autogenerated by dpkg-reconfigure ca-certificates. | |
# Certificates should be installed under /usr/share/ca-certificates | |
# and files with extension '.crt' is recognized as available certs. | |
# | |
# line begins with # is comment. | |
# line begins with ! is certificate filename to be deselected. |
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
testing |
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
set nocompatible " Use gVim defaults | |
" set tw=80 tw to specify a default text width | |
set fo=tcrq " fo to specify default formatoptions | |
" t auto-wraps text using textwidth | |
" c auto-wraps comments using textwidth | |
" r auto-inserts the current comment leader | |
" q allows formatting of comments | |
" allow backspacing over everything in insert mode |
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
[Condor, Tackle] | |
Damage Control I | |
Overdrive Injector System I | |
Fleeting Warp Disruptor I | |
Patterned Stasis Web I | |
Limited 1MN Microwarpdrive I | |
Sensor Booster I, Targeting Range Script | |
Rocket Launcher I, Scourge Rocket |
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
Mixlib::ShellOut.class_eval do | |
def exec(*args) | |
Bundler.with_clean_env do | |
# we have to rerun this because bundler wiped it | |
set_environment | |
gem_home = ENV.delete('GEM_HOME') | |
paths = ENV['PATH'].split(':') | |
ENV['PATH'] = paths.delete_if {|n| n =~ /^#{Regexp.escape(gem_home)}/ }.join(':') |
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
RSpec::Core::RakeTask.class_eval do | |
def reject_patterns(&block) | |
@reject_patterns = block | |
end | |
private | |
def files_to_run | |
if ENV['SPEC'] |
NewerOlder