Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am matiassingers on github.
  • I am matiassingers (https://keybase.io/matiassingers) on keybase.
  • I have a public key whose fingerprint is 8E12 4617 4178 48DB 1A85 1F1E 8732 E8C6 C94C 17F4

To claim this, I am signing this object:

#!/bin/bash
# unzip the .ipa file
unzip -q "$1"
# Default information
displayName=`/usr/libexec/PlistBuddy -c "Print CFBundleDisplayName" Payload/*/Info.plist`
bundleIdentifer=`/usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" Payload/*/Info.plist`
versionName=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Payload/*/Info.plist`
describe('Controller: MeletopCategoryCtrl', function(){
beforeEach(module('companionApp'));
var MeletopCategoryCtrl, scope, notificationService;
beforeEach(inject(function($rootScope, $controller, _notificationService_){
scope = $rootScope.$new();
notificationService = _notificationService_;
spyOn(notificationService, 'load');

Most active GitHub users in Malaysia

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Mon, 14 Apr 2014 04:55:12 GMT till Tue, 14 Apr 2015 04:55:12 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter((user) -> user.location = 'malaysia')
@matiassingers
matiassingers / SassMeister-input-HTML.html
Created August 22, 2014 03:06
Generated by SassMeister.com.
<div class="ordinary-page">
<div class="page-header">
<div class="page-title">
<h1>Ordinary Page Heading</h1>
</div>
</div>
</div>
<div class="search">
<div class="page-header">
@matiassingers
matiassingers / SassMeister-input-HTML.html
Created August 22, 2014 03:05
Generated by SassMeister.com.
<div class="ordinary-page">
<div class="page-header">
<div class="page-title">
<h1>Ordinary Page Heading</h1>
</div>
</div>
</div>
<div class="search">
<div class="page-header">
# .gitignore function
# Improved a little upon the original by kqr - https://github.com/kqr/gists/blob/51f63900924e483888cdd7f777177e804bfb0cca/utils/gi
function gi() {
result=$(curl "http://www.gitignore.io/api/$1" 2>/dev/null)
if [[ $result =~ ERROR ]]; then
echo "Query '$1' has no match. See a list of possible queries with 'gi list'"
elif [[ $1 = list ]]; then
echo "$result"
else
@matiassingers
matiassingers / SassMeister-input.sass
Created August 11, 2014 02:30
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0.rc.1)
// ----
@mixin button($width)
width: $width * 1px
width: #{$width}px
.test
@matiassingers
matiassingers / SassMeister-input-HTML.jade
Created May 31, 2014 09:15
Generated by SassMeister.com.
.three-by-two
p 3:2
.four-by-three
p 4:3
.sixteen-by-nine
p 16:9