Skip to content

Instantly share code, notes, and snippets.

View nicokoelewijn's full-sized avatar
👋

Nico Koelewijn nicokoelewijn

👋
  • NK Development
  • Tiel
View GitHub Profile
func enumerateFonts(){
for fontFamily in UIFont.familyNames() {
println("Font family name = \(fontFamily as! String)");
for fontName in UIFont.fontNamesForFamilyName(fontFamily as! String) {
println("- Font name = \(fontName)");
<?php
$peoples = array(
array("name" => "jeffrey", "age" => 28),
array("name" => "john", "age" => 20)
);
// the common way
function array_pluck($toPluck, $arr) {
$ret = array();
foreach($arr as $item) {