Skip to content

Instantly share code, notes, and snippets.

Avatar
🐹
#TomsterOnTour

Dawid Pośliński PoslinskiNet

🐹
#TomsterOnTour
View GitHub Profile
@bstahlhood
bstahlhood / UIImage+Retina4.h
Created Sep 13, 2012
Swizzled UIImage imageNamed for iPhone 5
View UIImage+Retina4.h
//
// UIImage+Retina4.h
// StunOMatic
//
// Created by Benjamin Stahlhood on 9/12/12.
// Copyright (c) 2012 DS Media Labs. All rights reserved.
//
#import <UIKit/UIKit.h>
@DominikDary
DominikDary / .irbrc
Created Jul 14, 2012
IRB Configuration to speed up the development of calabash-android mobile tests.
View .irbrc
require 'rubygems'
require 'irb/completion'
require 'irb/ext/save-history'
ARGV.concat [ "--readline",
"--prompt-mode",
"simple" ]
# 25 entries in the list
IRB.conf[:SAVE_HISTORY] = 50
@vlado
vlado / gist:1877457
Last active Apr 3, 2018
Postgres on macos or OSX - Fix
View gist:1877457
# ** ERROR 1 **
# FATAL: lock file "postmaster.pid" already exists
# HINT: Is another postmaster (PID 4646) running in data directory "/usr/local/var/postgres"?
#
# ** ERROR 2 **
# Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
#
# To fix one of this errors:
cat /usr/local/var/postgres/postmaster.pid # pid is the number on first line
You can’t perform that action at this time.