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
class EventEmitter | |
/// Shared Instance. | |
public static var sharedInstance = EventEmitter() | |
// ReactNativeEventEmitter is instantiated by React Native with the bridge. | |
private static var eventEmitter: ReactNativeEventEmitter! | |
private init() {} |
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
checkpoint = [20000, "00004e207e5f4616b0fe08ffff10bf1019331d98"] | |
checkpoint = [40000, "00009c404ff04b5e2e1bf593b3a5354f47d4d08d"] | |
checkpoint = [60000, "0000ea6059f1b29115d331f083ca204b9451b98b"] | |
checkpoint = [80000, "000138803fc6a034c2525b2a69cfb02a9fc61fc0"] | |
checkpoint = [100000, "000186a0cfef22f58e73790f30b39afd24fb9a6e"] | |
checkpoint = [120000, "0001d4c01bbf70e01d3fcaf6f7db72f2f5329922"] | |
checkpoint = [140000, "000222e0fdbf21818e7a5f93197f32dfbd86feed"] | |
checkpoint = [160000, "0002710059e204243e1407e81b21373b10b3cd23"] | |
checkpoint = [180000, "0002bf208c24011279986856a2c7c936d9754f94"] | |
checkpoint = [200000, "00030d4039940e2087ef827fd5926dcadcdc6741"] |
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
[Unit] | |
Description=xgtd-instance-%i | |
After=network.target | |
Before=shutdown.target | |
[Service] | |
User=your-user | |
Group=your-user | |
WorkingDirectory=/whereever-you-put-xgt | |
ExecStart=/bin/bash -lc "XGT_INSTANCE_INDEX=%i rake run" |
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 | |
set -e | |
DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get clean && sudo apt-get update | |
sudo apt-get install -y \ | |
autoconf \ | |
automake \ |
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
for f in `find . -regex '.*\.html\.erb'`; do echo "Converting $f" && html2haml $f > "${f%.erb}.haml" && rm $f; done |
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/bash | |
# concatenate all openaddresses csv files in to a single stream | |
# note: deduplicates lines in each file | |
# avoid locale issues with the sort command | |
export LC_ALL=C; | |
# base path of openaddresses file system | |
OAPATH='/data/oa'; |
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/bash | |
# Dependencies | |
for dep in 'git' 'wget' 'curl'; do | |
if [ ! `which $dep` ]; then | |
echo "$dep required, please install it and try again"; | |
exit 1; | |
fi | |
done |
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 'sneakers/runner' | |
task :environment | |
namespace :sneakers do | |
desc "Start processing jobs with all workers" | |
task :work => :environment do | |
silence_warnings do | |
Rails.application.eager_load! unless Rails.application.config.eager_load | |
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
FROM ruby:latest | |
MAINTAINER Alexander Rhett Crammer <Alexander2475914@gmail.com> | |
# ENV Variables | |
ENV HOME /home/rails/eximius | |
# Dependencies required by Rails and RubyGems | |
RUN apt-get update -qq \ | |
&& apt-get install -y \ | |
build-essential \ |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCroOFzPBL98c4Vi+FZlZtN+gcBnXGQBoJeHQ5t/XEpWb7/9kJH2uJVM+0hoISLXjhMztkJ1J2dOSH3aDjdKFK05TB70tAyUmEdyYZEOhQA08DK2e1zMzLxQEVa6fR2CG7zkStWR3k/q5whO1kw900OJKsPxu1oRL/DJfszd7IihV0Im8jWUG45V+terOk0F2kG5mrZb2VTIPctrSVNPzois7sDSy3MtN+viaAFWfWV3hi/pkdFEx50M3gO+a90LEZX8lv0tAw6Cs8qGY4Vh4QB0gk8l1w/cYABhNqAQBLrpVxUxm4A9af82naATIIm34SVcVqwYQGketkyyz4JQlhD obskein@rdEdon.local |
NewerOlder