Skip to content

Instantly share code, notes, and snippets.

View floatplane's full-sized avatar

Brian Sharon floatplane

View GitHub Profile
@floatplane
floatplane / results.md
Created July 2, 2025 16:19
units => currency code mapping results
would be changed input value inferred currency code confidence
usd USD 100.0
USD USD 100.0
eur EUR 100.0
JPY JPY 100.0
jpy JPY 100.0
EUR EUR 100.0
cad CAD 100.0
GBP GBP 100.0
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------+------------------+------------------+-------------------+-------------------+-------------------+-------------------+-------------------+--------------------+--------------------+--------------------+-------------------+--------------------+--------------------+--------------------+-------------------+--------------------+--------------------+--------------------+
| Metric | 2020-04-30 | 2020-07-31 | 2020-10-31 | 2021-01-31 | 2021-04-30 | 2021-07-31 | 2021-10-31 | 2022-01-31 | 2022-04-30 | 2022-07-31 | 2022-10-31 | 2023-01-31 | 2023-04-30
@floatplane
floatplane / build.gradle
Created October 13, 2015 00:41
Gradle iOS test output
plugins {
id "org.openbakery.xcode-plugin" version "0.11.4"
}
xcodebuild {
target = 'Core'
scheme = 'CoreTests'
sdk = 'iphonesimulator'
destination {
name = 'iPad Retina'
@floatplane
floatplane / rtags + OS X.md
Last active December 6, 2018 02:13
rtags OS X
  1. brew install llvm --with-libcxx --with-clang --without-assertions --with-rtti
  2. git clone [email protected]:Andersbakken/rtags.git; cd rtags; git submodule init; git submodule update
  3. make a build directory, run cmake from it:

[email protected]: /Users/brian/src/rtags/build [master] $ LLVM_CONFIG=/usr/local/opt/llvm/bin/llvm-config CMAKE_PREFIX_PATH=/usr/local/opt/llvm CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ cmake .. ```

  1. make && make install
  2. set up launchd integration: https://github.com/Andersbakken/rtags#integration-with-launchd-mac-os-x
  3. generate compile_commands.json: xctool -reporter json-compilation-database:compile_commands.json -workspace iOS/Paper/Paper.xcworkspace -scheme Paper -configuration Debug -derivedDataPath .build
@floatplane
floatplane / .lldbinit
Created May 7, 2015 17:05
Sample .lldbinit
# This file contains commands that LLDB will execute at startup. Drop it in your
# home directory: ~/.lldbinit
# Dump the UIKit view hierarchy
command regex rd 's/[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/.+$/po [%1 recursiveDescription]/'
# Try not to step into uninteresting library code. Needs some work.
settings set target.process.thread.step-avoid-regexp ^(std::(!function)|boost::shared_ptr)
# https://github.com/facebook/chisel
@floatplane
floatplane / gist:6226786
Last active August 18, 2023 13:20 — forked from remy/gist:2484402
jquery marquee plugin - forked to support percentage widths on marquee element, AMD wrapped
/**
* author Remy Sharp
* url http://remysharp.com/tag/marquee
*/
require(['jquery'], function ($) {
$.fn.marquee = function (klass) {
var newMarquee = [],
last = this.length;