Skip to content

Instantly share code, notes, and snippets.

require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'activerecord'
gem 'pg'
gem 'benchmark-ips'
gem 'oj'
end
ROWS = 1_000_000
ACCOUNTS = 20
REBUILD = true
require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'activerecord', '~> 4.2'
gem 'pg'

Keybase proof

I hereby claim:

  • I am daniloisr on github.
  • I am daniloresende (https://keybase.io/daniloresende) on keybase.
  • I have a public key ASBik1jBsw_T2F9Dp0P-ppT211nadjhFHDIB1smsJ33XvAo

To claim this, I am signing this object:

require 'bundler/inline'
gemfile do
source 'https://rubygems.org'
gem 'activerecord', '~> 6.0'
gem 'sqlite3'
end
require 'pp'
require 'active_record'
import Signal exposing (..)
import Window exposing (..)
import Mouse exposing (..)
import Graphics.Element exposing (..)
type Input = Win (Int, Int) | Move (Int, Int) | NoOp
type alias Model = { input: Input }
initModel : Model
begin
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
end
gemfile(true) do
source 'https://rubygems.org'
gem 'activerecord'
unless File.exist?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
ruby '2.1.5'
gem 'rails' , '4.2.0'
gem 'arel'
gem 'sqlite3'
gem 'active_model_serializers', '0.9.2'
require 'httparty'
class SmartWallet
include HTTParty
KEY = 'E485075C-A77D-404A-A966-72AD93E1CB7D'
def self.create_account
url = 'http://smartwalletstaging.mundipagg.com'
account_url = "#{url}/Account"
diff --git app/assets/stylesheets/application.css.scss app/assets/stylesheets/application.css.scss
index 7202805..4f3504b 100644
--- app/assets/stylesheets/application.css.scss
+++ app/assets/stylesheets/application.css.scss
@@ -7,68 +7,5 @@
@import "base/media-queries";
@import "ui/icons";
-/*********************************************************************
-* Common Styles
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key
# that enables you to choose a character from a menu of options. If you are on Lion
# try it by pressing and holding down 'e' in any app that uses the default NSTextField
# for input.
#
# It's a nice feature and continues the blending of Mac OS X and iOS features. However,
# it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode,
# as it means you cannot press and hold h/j/k/l to move through your file. You have
# to repeatedly press the keys to navigate.