Skip to content

Instantly share code, notes, and snippets.

View wurmr's full-sized avatar
💭
🚀

Jim Karg wurmr

💭
🚀
  • Minneapolis, MN
  • 08:37 (UTC -06:00)
View GitHub Profile
@Starefossen
Starefossen / remoteDataTableView.swift
Last active January 16, 2023 09:50
Remote JSON Data to tableView in iOS 8.0 (Swift)
import UIKit
import Foundation
import XCPlayground
XCPSetExecutionShouldContinueIndefinitely()
class RemoteAPI {
func getData(completionHandler: ((NSArray!, NSError!) -> Void)!) -> Void {
let url: NSURL = NSURL(string: "http://itunes.apple.com/search?term=Turistforeningen&media=software")
let ses = NSURLSession.sharedSession()
@mrzmyr
mrzmyr / groupBy.js
Created April 17, 2014 10:31
AngularJS – groupBy filter
angular.module('filters.groupBy', [])
.filter('groupBy', function() {
return function(items, groupedBy) {
if (items) {
var finalItems = [],
thisGroup;
for (var i = 0; i < items.length; i++) {
if (!thisGroup) {
cinst VisualStudio2013Premium -InstallArguments "WebTools Win8SDK" -source "$env:temp\boxstarter\buildpackages"
@PaulStovell
PaulStovell / DeployToAzure.ps1
Created March 25, 2013 00:49
This is the bundled version of the Windows Azure deployment process used by Octopus.
## Octopus Azure deployment script, version 1.0
## --------------------------------------------------------------------------------------
##
## This script is used to control how we deploy packages to Windows Azure.
##
## When the script is run, the correct Azure subscription will ALREADY be selected,
## and we'll have loaded the neccessary management certificates. The Azure PowerShell module
## will also be loaded.
##
## If you want to customize the Azure deployment process, simply copy this script into
@BenHall
BenHall / bootstrap.jade
Created November 22, 2011 18:36
Twitter Bootstrap in Jade
script(src='/javascripts/jquery-1.7.min.js')
link(rel='stylesheet', href='/stylesheets/bootstrap.min.css')
link(rel='stylesheet', href='/stylesheets/bootstrap-overrides.css')