Skip to content

Instantly share code, notes, and snippets.

View sebslomski's full-sized avatar

Sebastian Slomski sebslomski

View GitHub Profile
curl -L http://install.ohmyz.sh | sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install git wget
brew install caskroom/cask/brew-cask
brew cask install google-chrome iterm2 dropbox box-sync sonos virtualbox telegram heroku-toolbelt vim sublime-text skype mailbox spotify slack
brew install node seil mysql postgres postgis
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
@sebslomski
sebslomski / pure-labs job-description.md
Created April 23, 2015 16:56
pure labs job description

Engineering & Product / Full-Time / Munich, Germany

Developer

The Job

Pure Labs runs multiple products. Our biggest products by now are Cutters Lounge, an appointment manager used by over 500 hairdressers in Germany, our Conference Manager, which is used by a Fortune 500 company with multiple large conferences per month and Travelio, a platform for individual traveling, which we have just launched (http://travel.io). As all of these products are growing vastly we are looking for developers.

Your Repsonsibility

@sebslomski
sebslomski / DEPLOYMENT.md
Created February 8, 2015 19:12
Deployment Checklist
  1. Add the target domain to your /etc/hosts.
  2. Check the site in IE9 under the target domain. Are there any CORS ajax calls? Are all ajax calls working?
  3. Remove the target domain from your /etc/hosts.
  4. Download all files to your desktop, name it by the project name and the current date (e.g. foo-2015-01-01)
  5. Run the make file in production mode. Are all css and js files minified?
  6. Upload the built code.
  7. Check if the site is responding and working properly. In IE as well.
  8. Open the site with Javascript disabled. Is the CSS still there (not less compiled at runtime)?
@sebslomski
sebslomski / .vimrc
Created January 7, 2015 14:14
vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
@sebslomski
sebslomski / zalando.tamper.js
Last active December 31, 2023 15:34
Zalando Ärmelänge - in chrome, add Tampermonkey plugin. add new script. copy paste to new script
// ==UserScript==
// @name Zalando Ärmelänge
// @namespace http://sebslomski.com
// @version 0.1
// @match http://www.zalando.de/*
// @copyright 2014+, Seb
// ==/UserScript==
var $productList = $('.productsGridList.catalog');
.content-wrapper {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left:0;
z-index: 100;
}
.content {
var Model = Backbone.Model.extend({
listener: 'guy',
initialize: function() {
if (this.id) {
this.listenTo(
App.vent,
'model:' + this.listener + ':' + this.id + ':changed',
this.onChange
);
# My backup script. Requires gmvault for gmail backup.
# config.json.sample:
# {
# "files": {
# "Work": [
# "~/Devel/Work/Foo-App",
# "~/Devel/Work/Foo-API"
# ],
# "Dropbox": [
# "~/Dropbox/public",
@sebslomski
sebslomski / singleton.coffee
Created May 19, 2011 12:47 — forked from meltingice/singleton.coffee
Example singleton class and example for Coffeescript
class Singleton
# We can't make private variables!
__instance = null
# Static singleton retriever/loader
@get: ->
if not @__instance?
@__instance = new @
@__instance.init()