I hereby claim:
- I am paul-ylz on github.
- I am paulyeoh (https://keybase.io/paulyeoh) on keybase.
- I have a public key whose fingerprint is 7586 E1DB 2956 E7C8 866D 3524 91E2 B4A5 CFAC 95B7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# With thanks to Houston gem maintainers and | |
# http://joshsymonds.com/blog/2013/10/17/sidekiq-plus-houston-production-ready/ | |
# | |
module ApnsConnHandler | |
class ApnConnection | |
def initialize | |
setup() | |
end |
# Quicksort is a ruby implementation of the well-known algorithm | |
# https://en.wikipedia.org/wiki/Quicksort | |
class Quicksort | |
# sort will recursively run the partition function | |
# lo and hi identify the index range to be sorted | |
def sort(arr, lo, hi) | |
return unless lo < hi | |
pidx = partition(arr, lo, hi) | |
sort(arr, lo, pidx - 1) | |
sort(arr, pidx + 1, hi) |
import React from "react"; | |
import { Alert, Button } from "react-native"; | |
import { SubmissionError } from "redux-form"; | |
// localization.js | |
// Each type of API call must have a "default" message | |
const localizedStrings = { | |
en: { | |
somethingWentWrong: "Oops, we're sorry, something went wrong", | |
"serverErrors.widgetSubmit.default": |