Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am serenadex on github.
  • I am serenadex (https://keybase.io/serenadex) on keybase.
  • I have a public key ASAw8Ku8-Ft-mlFp3rqOKe8Rc1m3LusQ-ldztO0qr71m7go

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1PS88GpqpGgxVM4Qt6kYETfLDL5K4gyvfS https://explorer.blockstack.org/address/1PS88GpqpGgxVM4Qt6kYETfLDL5K4gyvfS

Keybase proof

I hereby claim:

  • I am serenadex on github.
  • I am serenadex (https://keybase.io/serenadex) on keybase.
  • I have a public key ASC1GpF8M8s3Tza8yVviCDzaNdmQp9lSEtmda4sHNUJq0go

To claim this, I am signing this object:

@SerenadeX
SerenadeX / Serializable.swift
Created December 30, 2015 18:26 — forked from anaimi/Serializable.swift
Serialize a Swift object to JSON or Dictionary, with selective properties.
/*
Purpose:
Convert (or Serialize) an object to a JSON String or Dictionary.
Usage:
Use 'Serialize.toJSON' on instances of classes that:
- Inherit from NSObject
- Implement 'Serializable' protocol
- Implement the property 'jsonProperties' and return an array of strings with names of all the properties to be serialized
NOTE:
* Select is the center clicky bit of the top touch pad.
* You can also click / click-and-hold the edges of the touch pad
* Home button looks like a TV to the right of Menu
REMOTE PAIRING
Unpair Siri Remote: Menu, Volume-Up (+), hold for a second or two
REDO RESOLUTION (AUTO)
Screen Resolutions: Menu, Volume-Down (-), hold for a second or two and then release
@SerenadeX
SerenadeX / sample.sh
Created November 7, 2015 17:45
Sample init.d script
#!/bin/bash
# myapp daemon
# chkconfig: 345 20 80
# description: myapp daemon
# processname: myapp
DAEMON_PATH="/home/wes/Development/projects/myapp"
DAEMON=myapp
DAEMONOPTS="-my opts"

Social media cards

What needs to be done on each social network to get your website's pages to be presented properly.

Twitter

Twitter makes it very clear on their website. There are a few different types of cards and it involves putting <meta> tags on each of your pages for the relevant info.

Facebook

@SerenadeX
SerenadeX / RC&FP.md
Created August 19, 2014 20:40
Reactive Cocoa and Functional Programming

##Functional Programming

  • No state
  • No Side effects
  • immutability
  • First class functions

Clojure

Reactive Programming

Keybase proof

I hereby claim:

  • I am SerenadeX on github.
  • I am serenadexs (https://keybase.io/serenadexs) on keybase.
  • I have a public key whose fingerprint is 310B C3E0 E9A7 E9F9 EB92 C531 76BB BD0C 196A 652A

To claim this, I am signing this object: