Skip to content

Instantly share code, notes, and snippets.


Aron Cedercrantz rastersize

View GitHub Profile
rastersize /
Last active May 22, 2019
Syntax highlighting of xcconfig files for Sublime Text 3

Syntax highlighting of xcconfig files for Sublime Text 3

A syntax highlighter configuration for .xcconfig (Xcode configuration) files for Sublime Text 3. Based on work by @dflems.

Screenshot of an xcconfig file being highligthed

Fig 1: Screenshot of an xcconfig file being highligthed. Shown with the “Tomorrow - Night” theme.


Copy the files *.sublime-* files into an xcconfig directory in your Packages directory.


Keybase proof

I hereby claim:

  • I am rastersize on github.
  • I am rastersize ( on keybase.
  • I have a public key ASAy0pshfSYEGOeFcCsJ3K9hbgcj2jnS9G8_WgEz3E5U0wo

To claim this, I am signing this object:

rastersize / HMAC.swift
Created Oct 11, 2016 — forked from MihaelIsaev/HMAC.swift
Easy to use Swift implementation of CommonCrypto HMAC. You can easily hash your String to: md5, sha1, sha224, sha256, sha384, sha512 with pure Swift.
View HMAC.swift
// HMAC.swift
// Created by Mihael Isaev on 21.04.15.
// Copyright (c) 2014 Mihael Isaev inc. All rights reserved.
// ***********************************************************
// How to import CommonCrypto in Swift project without Obj-c briging header
rastersize / RSTimingFunction.h
Created Feb 10, 2016 — forked from raphaelschaad/RSTimingFunction.h
All the cool animation curves from `CAMediaTimingFunction` but not limited to use with CoreAnimation. See what you can do with cubic Bezier curves here: To get started just "Download Gist", throw the .h and .m files into your Xcode project and you're good to go!
View RSTimingFunction.h
// RSTimingFunction.h
// Created by Raphael Schaad on 2013-09-28.
// This is free and unencumbered software released into the public domain.
#import <Foundation/Foundation.h>
View ioslocaleidentifiers.tsv
mr Marathi
bs Bosnian
ee_TG Ewe (Togo)
ms Malay
kam_KE Kamba (Kenya)
mt Maltese
ha Hausa
es_HN Spanish (Honduras)
ml_IN Malayalam (India)
ro_MD Romanian (Moldova)
# This is a set of bash function definitions, and a bash command, that
# set up bash completion for the Mac OS X "open" command.
# Add this command to your .bashrc:
# .
rastersize /
Last active Dec 12, 2015 — forked from phughes/
Generate an `UIImage`/`NSImage` category for each image in the supplied directory. (Differs from the original in that it generates a category with methods instead of a list of `#define`s.)
import os.path as path
import string
import argparse
import glob
import re
def basename(filename):
base = filename
if filename.find('@2x') > 0:
base = filename[:filename.find('@2x')]
View setup github issues
# Delete default labels
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/bug"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/duplicate"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/enhancement"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/invalid"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/question"