This assumes that sidekiq.service
is located in <rails root>/lib/services/sidekiq.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension Float { | |
var radians: Float { | |
get { | |
return self * Float(M_PI / 180.0) | |
} | |
} | |
} | |
struct Location { | |
let radius: Float = 3961.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
class Node<T : Hashable> : CustomStringConvertible { | |
weak var parent: Node? { | |
get { return _parent } | |
} | |
var left: Node? { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# brew install coreutils | |
find $(pwd) -name '*.log' | xargs gtruncate --size 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## | |
# $ clean-url "http://services.pco.dev/songs?arrangement_name=&author=&bpm_max=&bpm_min=&commit=Apply+Filter&filtered_ministry_path=%2F13%2F14%2F18%2F&key_name=&lyrics=&meter=&music_key=&music_key_end=&music_key_end_major=Major&music_key_major=Major&selection_arrangement_field_15=true&selection_song_option_72=true&song_name=&themes=&utf8=%E2%9C%93" | |
# | |
# ****************************************************** | |
# * commit => Apply+Filter * | |
# * filtered_ministry_path => /13/14/18/ * | |
# * music_key_end_major => Major * | |
# * music_key_major => Major * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal struct SystemInfo { | |
let sysname: String | |
let nodename: String | |
let release: String | |
let version: String | |
let machine: String | |
init() { | |
var info: utsname = utsname() | |
let status = withUnsafeMutablePointer(to: &info) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## | |
# Usage `run --number 5 b rspec` | |
# | |
# | |
## | |
require 'optparse' | |
require 'open3' |
I hereby claim:
- I am maddiesch on github.
- I am skylarsch (https://keybase.io/skylarsch) on keybase.
- I have a public key whose fingerprint is 0A98 EEB9 3667 76EF BFED A7FC EB5C 9CC8 F793 91D4
To claim this, I am signing this object:
Destiny 2 Error codes
- SNAIL
- CHICKEN
- DUCK
- PONY
- CAT
- SHEEP
- ELK
- BOAR