Skip to content

Instantly share code, notes, and snippets.

View nateberkopec's full-sized avatar

Nate Berkopec nateberkopec

View GitHub Profile
@nateberkopec
nateberkopec / repro_script.rb
Created August 14, 2017 15:51
Sentry repro script for rails
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
@nateberkopec
nateberkopec / resume.txt
Created August 7, 2017 18:17
Mohammed Elias Al-Hussein - Resume
____________________________________________________________
PERSONAL INFORMATION
Mohammed Elias Alhussein
Istanbul , Turkey
+ 90 5312303185
eliass.alhusain@gmail.com
Gender : Male | Date of birth 1/1/1993 | Nationality Syrian
WORK EXPERIENCE
2015 - 2016 Member of a software Developer Team
require 'krpc'
CLIENT_NAME = "Console"
HOST_IP = "192.168.1.13"
$client = KRPC::Client.new(name: CLIENT_NAME, host: HOST_IP).connect!
binding.pry
@nateberkopec
nateberkopec / test.rb
Created July 31, 2017 01:08
KRPC - test rocket script
require 'krpc'
CLIENT_NAME = "Flight Computer"
MISSION_NAME = "UPPER STAGE TEST"
HOST_IP = "192.168.1.13"
KRPC_CMD_WAIT = 0.01
SPOOL_TO_THRUST_PERCENT = 0.25
$client = KRPC::Client.new(name: CLIENT_NAME, host: HOST_IP).connect!
@nateberkopec
nateberkopec / mohammed-signed.md
Last active August 8, 2017 13:40
mohammed-signed.md

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256


layout: post title: "How To Get A Computer Science Degree in a Warzone" date: 2017-08-10 7:00:00 summary: "An appeal to any Canadian readers or friends of mine to help one of our own: a young computer programmer fleeing the Syrian Civil War." readtime: "2580 words/12 minutes"


@nateberkopec
nateberkopec / keybase.md
Created July 29, 2017 17:32
keybase.md

Keybase proof

I hereby claim:

  • I am nateberkopec on github.
  • I am nateberkopec (https://keybase.io/nateberkopec) on keybase.
  • I have a public key ASCNxGGomrAYwaFCor0xa9ATHG3YaMR_K8r_22uBOVfAwgo

To claim this, I am signing this object:

@nateberkopec
nateberkopec / .block
Created July 14, 2017 21:26 — forked from mbostock/.block
Force-Directed Graph
license: gpl-3.0
height: 600
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.links line {
stroke: #999;
stroke-opacity: 0.6;
}
.nodes circle {
# Ever felt like your unit test suite was just too zippy? Slow that shit down immediately
# by running hundreds of jobs which have nothing to do with the behavior under test!
# This works even better if you have Sidekiq jobs enqueued in ActiveRecord callbacks!
module Sidekiq
class Testing
class << self
alias_method :my_tests_are_too_fast!, :inline!
end
end
@nateberkopec
nateberkopec / speedshop.md
Created March 15, 2017 13:20
Speedshop Contract

This is a Services Agreement between The Speedshop Ltd. Co. (“we,” “us,” “our”) and any individual, entity, or organization that procures our services (“you” or “your”).

  1. Acceptance of Terms: Any work that we do for you is governed by the terms and conditions that you’re reading now. If you don’t agree to them, we can’t provide you with any services. This agreement is a binding contract between you and The Speedshop.
  2. Terms May Change: Periodically, we may change the terms and conditions in this agreement, including the amount of our fees. If we do change any of these terms, they’ll take effect for you the next time that you contract for our services. Any work that we’ve already completed or previously initiated for you continue to be governed by the agreement in effect at the time that you contracted with us.
  3. Taxes: You are responsible for payment of all applicable sales and use taxes.
  4. Refund: If you’re genuinely dissatisfied with our services and provide us with notice within thirty (30) days of