Skip to content

Instantly share code, notes, and snippets.

View eliaskg's full-sized avatar

Elias Klughammer eliaskg

View GitHub Profile
### Keybase proof
I hereby claim:
* I am eliaskg on github.
* I am elias (https://keybase.io/elias) on keybase.
* I have a public key whose fingerprint is 9907 4593 744B 6EAF 0CE3 AD67 C59A 9F21 5DC6 8859
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am eliaskg on github.
  • I am elias (https://keybase.io/elias) on keybase.
  • I have a public key whose fingerprint is D458 DE28 2F6E 0694 6BAF 42C7 5294 709A 9336 AFFA

To claim this, I am signing this object:

Basecamp is under network attack

Criminals have laid siege to our networks using what's called a distributed denial-of-service attack (DDoS) starting at 8:46 central time, March 24 2014. The goal is to make Basecamp, and the rest of our services, unavailable by flooding the network with bogus requests, so nothing legitimate can come through. This attack was launched together with a blackmail attempt that sought to have us pay to avoid this assault.

Note that this attack targets the network link between our servers and the internet. All the data is safe and sound, but nobody is able to get to it as long as the attack is being successfully executed. This is like a bunch of people blocking the front door and not letting you into your house. The contents of your house are safe -- you just can’t get in until they get out of the way.

We're doing everything we can with the help of our network providers to mitigate this attack and halt the interruption of service. We're also contacting law enforcement to track d

@eliaskg
eliaskg / nginx
Created June 15, 2012 10:53 — forked from omarramos/nginx
Modified Nginx init scrip to work with default nginx passenger module instalation path
#! /bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: nginx init.d dash script for Ubuntu or other *nix.
# Description: nginx init.d dash script for Ubuntu or other *nix.
### END INIT INFO
@eliaskg
eliaskg / gist:2856127
Created June 2, 2012 01:50
UIColor snippet for RubyMotion
# Usage:
# color('0088cc')
# With alpha channel:
# color('ff0000', 0.5)
def color(color_string, alpha = 1.0)
red = color_string[0,2].hex
green = color_string[2,2].hex
blue = color_string[4,2].hex
- (void)initWithName {
if (self = [super initWithDifferentName]) {
// Bla..
}
}
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
gem 'motion-cocoapods', '=1.0.1'
require 'motion-cocoapods'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MyApp'
app.icons = ['icons/icon.png', 'icons/icon@2x.png']
app.prerendered_icon = true
@eliaskg
eliaskg / members.js
Created February 29, 2012 08:50
Refresh members loader
// --- This little script loads the users of the @refreshmunich lists and sorts them by name.
var members = [];
// --- Fire the Twitter API request
JSONP.get('https://api.twitter.com/1/lists/members.json', {
slug:'members',
owner_screen_name:'refreshmunich'
}, function(data) {
members = data.users;
@eliaskg
eliaskg / gist:1710766
Created January 31, 2012 14:26
Jakefile
var ENV = require("system").env,
FILE = require("file"),
JAKE = require("jake"),
task = JAKE.task,
FileList = JAKE.FileList,
app = require("cappuccino/jake").app,
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
OS = require("os");
app ("MyApp", function(task)