Skip to content

Instantly share code, notes, and snippets.

View garriguv's full-sized avatar
🏠
Working from home

Vincent Garrigues garriguv

🏠
Working from home
View GitHub Profile
@garriguv
garriguv / keybase.md
Created August 8, 2016 14:53
keybase.md

Keybase proof

I hereby claim:

  • I am garriguv on github.
  • I am garriguv (https://keybase.io/garriguv) on keybase.
  • I have a public key ASBsxLwJWXWyYrTegkFOyt-VrU05y779Uk6LHe_CoW_k3Ao

To claim this, I am signing this object:

language: objective-c
before_install:
- brew update
- brew install carthage
xcode_workspace: LIBRARY_NAME.xcworkspace
xcode_scheme: SPECS_SCHEME
osx_image: xcode7.2
xcode_sdk: iphonesimulator9.2
env:
global:
@garriguv
garriguv / setup
Created January 17, 2016 12:14
Setup script
#!/bin/sh
carthage_installed() {
command -v carthage >/dev/null
}
install_dependencies() {
carthage update --platform iOS --use-submodules --no-use-binaries
}
@garriguv
garriguv / .gitignore
Last active January 17, 2016 13:07
iOS library .gitignore
## OS X Finder
.DS_Store
## Build generated
build/
DerivedData
## Various settings
*.pbxuser
!default.pbxuser
$ClassName = $NAME.substring(0, $NAME.indexOf("Spec"))
#set( $ClassName = $NAME.substring(0, $NAME.indexOf("Spec")) )
#import <Specta/Specta.h>
#import <Specta/Expecta.h>
#import "${ClassName}.h"
@interface ${ClassName} (Spec)
@end
SpecBegin(${ClassName})
@garriguv
garriguv / MyClassSpec.m
Last active January 11, 2016 08:51
Specta
#import <Specta/Specta.h>
#import <Specta/Expecta.h>
#import "MyClass.h"
@interface MyClass (Spec)
@end
SpecBegin(MyClass)
@garriguv
garriguv / init.lua
Created October 25, 2015 19:02
Mjolnir configuration
local hotkey = require "mjolnir.hotkey"
local window = require "mjolnir.window"
local screen = require "mjolnir.screen"
local grid = require "mjolnir.bg.grid"
grid.MARGINX = 0
grid.MARGINY = 0
grid.GRIDWIDTH = 8
grid.GRIDHEIGHT = 8
@garriguv
garriguv / init.lua
Created October 25, 2015 18:41
Mjolnir configuration
local hotkey = require "mjolnir.hotkey"
local window = require "mjolnir.window"
local screen = require "mjolnir.screen"
local modifier = {"cmd", "alt", "ctrl"}
-- left half
hotkey.bind(modifier, "left", function()
local win = window.focusedwindow()
local screenFrame = screen.mainscreen():frame()
@garriguv
garriguv / appcode.vmoptions
Created October 25, 2015 16:57
AppCode JVM options
-Xss2m
-Xms512m
-Xmx4096m
-XX:NewSize=128m
-XX:MaxNewSize=128m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=96m
-XX:+UseCompressedOops