Skip to content

Instantly share code, notes, and snippets.

View chadselph's full-sized avatar

Chad Selph chadselph

View GitHub Profile
@DreamingInBinary
DreamingInBinary / Best in Class iOS Checklist
Last active January 29, 2024 18:18
This is a public checklist updated every year after the latest version of iOS and iPadOS are shipped. It's a boiled down version of a "Best in Class" app checklist created by Jordan Morgan.
# A Best in Class Checklist
A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10.
> To use this, create a Github Issue in your own repo, and simply copy and paste this text.
## iOS Core Technology
_Things any iOS app can benefit from_
- [ ] iCloud Sync
- [ ] Focus Filter Support
@igstan
igstan / poly-return.scala
Last active June 15, 2017 22:50
Polymorphic return types in Scala using implicit parameters
trait Factory[T] {
def create: T
}
object Factory {
implicit def stringFactory: Factory[String] = new Factory[String] {
def create = "foo"
}
implicit def intFactory: Factory[Int] = new Factory[Int] {
@bigethan
bigethan / query_test.php
Created October 25, 2011 18:16
MySQL Racing PHP against Python with Gevent and SQLAlchemy
<?php
//read in file
$queries = file('homepage_queries.txt');
$conns = array();
$connList = '';
$queryCount = 0;
//start timer
$start = microtime(true);
@eykd
eykd / pycache.py
Created October 26, 2010 15:06
A simple script for caching packages on S3 and building simple HTML indices.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""pycache -- cache a python package from PyPI on S3.
A simple script to collect a cache of packages locally and sync them up to an S3 bucket, using directories as namespaces so that different projects can have different dependencies.
This is just about the simplest thing that could possibly work.
"""
import warnings
warnings.filterwarnings('ignore')