I hereby claim:
- I am iterion on github.
- I am iterion (https://keybase.io/iterion) on keybase.
- I have a public key whose fingerprint is C6F8 8F99 B19F 6CAF F184 7024 BA06 FC28 DDD1 5EE2
To claim this, I am signing this object:
4a5,44 | |
> "ContractDetails": { | |
> "title": "ContractDetails", | |
> "nullable": true, | |
> "description": "Contract information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `contract_details` as path parameters." | |
> }, | |
> "EmergencyContactDetails": { | |
> "title": "EmergencyContactDetails", | |
> "nullable": true, | |
> "description": "Emergency contact information. Its properties may vary depending on the country." |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-t | |
bind-key C-t send-prefix | |
# Set up reload key for tmux | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
unbind t | |
# Start at 1 rather than 0 |
require 'httparty' | |
require 'nokogiri' | |
require 'pry' | |
curr = {} | |
stats = nil | |
begin | |
res = HTTParty.get("http://www.xe.com/iso4217.php") | |
html = Nokogiri::HTML.parse(res) | |
links = html.css("#currencyTable td a").map { |a| a["href"] }.reject { |link| link[0] == "#" } |
# Description: | |
# Balls Response | |
# | |
# Commands: | |
# balls - Display a picture of balls | |
module.exports = (robot) -> | |
robot.hear /balls/i, (msg) -> | |
imageMe msg, "balls", (url) -> | |
msg.send url |
I hereby claim:
To claim this, I am signing this object:
git remote add github <<clone url>>
git push github
Molecule.FeesMixin = Ember.Mixin.create | |
actions: | |
addFee: -> | |
trade = @get('content') | |
fee = @store.createRecord('fee', { | |
trade: trade, | |
name: "broker fee", | |
price: 5, | |
editing: true | |
}) |
def try_invalid_char_fix file | |
temp = Tempfile.new('fix_file') | |
File.open(file, "r").each_line do |line| | |
original_encoding = line.encoding.name | |
new_line = line.encode('UTF-16', original_encoding, :invalid => :replace, :replace => '') | |
temp.write new_line.encode('UTF-8', 'UTF-16') | |
end | |
temp.close | |
begin | |
#make copy of the old file |
require 'benchmark' | |
require 'mongoid' | |
class FakeModel | |
attr_accessor :test1, :test2, :test3, :test4, :test5, :test6, :test7, :test8 | |
def initialize | |
self.test1 = 1 | |
self.test2 = 1 | |
self.test3 = 1 | |
self.test4 = 1 |