Skip to content

Instantly share code, notes, and snippets.

View ricobeck's full-sized avatar
🏢
Working from office like an animal

Rico Becker ricobeck

🏢
Working from office like an animal
View GitHub Profile
@ricobeck
ricobeck / Shaker.swift
Created April 1, 2024 20:10
Detecting shake of playdate device
//
// Shaker.swift
//
//
// Created by Rico Becker on 30.03.24.
//
import PlaydateKit
struct Shaker {
let gravity: Float = 9.80665
import Foundation
// # Structure
// - SwiftPackage
// - Sources
// - Tests
// - Resources
// - test.txt
// - SwiftPackageTests
// - SwiftPackageTests.swift
Pod::Spec.new do |spec|
spec.name = "R.swift.Library"
spec.version = "5.0.0.alpha.2"
spec.license = "MIT"
spec.summary = "Companion library for R.swift, featuring types used to type resources"
spec.description = <<-DESC
This library contains types used by the `R.generated.swift` file that is normally generated by R.swift. R.swift depends on this pod to include some types and other libraries can use this project to extend R.swift types.
R.swift is a tool to get strong typed, autocompleted resources like images, fonts and segues in Swift projects.
Pod::Spec.new do |spec|
spec.name = "R.swift"
spec.version = "5.0.0.alpha.2"
spec.license = "MIT"
spec.summary = "Get strong typed, autocompleted resources like images, fonts and segues in Swift projects"
spec.description = <<-DESC
R.swift is a tool to get strong typed, autocompleted resources like images, fonts and segues in Swift projects.
@ricobeck
ricobeck / gist:37e1ade3014f3c99c4f1
Created April 2, 2015 09:59
Moya 0.6.1 -> alamofire swift 1.2
Pod::Spec.new do |s|
s.name = "Moya"
s.version = "0.6.1"
s.summary = "Network abstraction layer written in Swift"
s.description = <<-EOS
Moya abstracts network commands using Swift Generics to provide developers
with more compile-time confidence.
A ReactiveCocoa extension exists as well. Instructions for its installation
are in [the README](https://github.com/ashfurrow/Moya).
EOS
Pod::Spec.new do |s|
s.name = 'CSV'
s.version = '0.0.2'
s.license = 'MIT'
s.platform = :osx
s.summary = "Format data to the comma-separated values format."
s.homepage = 'https://github.com/rdavies/CSV'
s.author = { 'Ryan Davies' => 'ryan@ryandavies.net' }
s.source = { :git => 'https://github.com/rdavies/CSV.git', :tag => s.version.to_s }
s.source_files = 'CSV/*.{h,m}'
@ricobeck
ricobeck / gist:eaf6750d82ac80bd4799
Created February 10, 2015 20:10
MMDrawerController+Storyboard
Pod::Spec.new do |s|
s.name = "MMDrawerController+Storyboard"
s.version = "0.0.1"
s.summary = "Storyboard category extension for MMDrawerController"
s.homepage = "https://github.com/TomSwift/MMDrawerController-Storyboard"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Nick Hodapp" => "nicholashodapp@gmail.com" }
s.source = { :git => "https://github.com/TomSwift/MMDrawerController-Storyboard.git", :tag => "0.0.1" }
s.platform = :ios, '6.0'
We take images from your camera, scramble them, beam them to our orbiting satellite.
Unscramble them, then scramble them again, then unscramble them that all-important final time.
Our competitors claim we scramble our images too much.
http://www.springfieldspringfield.co.uk/view_episode_scripts.php?episode=s20e16

Keybase proof

I hereby claim:

  • I am ricobeck on github.
  • I am ricobeck (https://keybase.io/ricobeck) on keybase.
  • I have a public key whose fingerprint is 421B 3225 6C3C 6D3A 047C CC5C EA35 4120 45D3 898D

To claim this, I am signing this object:

@ricobeck
ricobeck / gist:b2cf8b5a00e37b3edbed
Created October 20, 2014 19:17
Copy acknowledgements post installer hook
post_install do |installer|
require 'fileutils'
FileUtils.mkdir_p 'APPNAME/Resources/Acknowledgements'
FileUtils.copy('Pods/Pods-APPNAME-acknowledgements.plist', 'APPNAME/Resources/Acknowledgements/Acknowledgements.plist')
end