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
# How to install the latests version of ruby | |
# 1. clone ruby/ruby | |
# 2. autoconf | |
# 3. ./configure | |
# 4. cd ext/openssl && ruby extconf.rb --with-openssl-dir=<openssl_root>; make; make install | |
# 5. cd ../../ | |
# 6. make | |
# 7. make install-nodoc | |
# You should be ready ti run this script!!!! |
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
require 'bundler/inline' | |
require 'benchmark' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'pry' | |
end | |
LAST_ITEM_SCORE = 1573263909 | |
THREE_WEEKS_FROM_NOW = 1543521400 |
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
GIT | |
remote: git://github.com/davydovanton/dry-system-hanami.git | |
revision: ae0506d4a858921936843501462cb36f55a9c3b0 | |
specs: | |
dry-system-hanami (0.1.0) | |
GEM | |
remote: https://rubygems.org/ | |
specs: | |
addressable (2.5.2) |
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
require 'bundler/inline' | |
require 'benchmark' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'pry' | |
end | |
number_of_job_payload = ARGV[0].to_i || 100_000 |
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
defmodule Flatten do | |
def flat(list) do | |
cond do | |
is_list(list) -> flat(list, []) |> Enum.reverse | |
true -> {:error, "Must pass a List"} | |
end | |
end | |
def flat([], acc), do: acc |
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
module Hybridflow | |
class CRMMessageParser | |
class Clipboard | |
attr_reader :message, :context, :error_handler | |
def self.car_rental_providers | |
providers = Pathify::CarProvider.all.map{ |p| p.name.try(:downcase).try(:strip) }.compact | |
providers.empty? ? _car_rental_providers : providers | |
rescue | |
_car_rental_providers |
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
module AliasClass | |
def self.included(base_class) | |
base_class.class_eval do | |
def self.alias_class(original_class, new_class) | |
self.const_set(new_class, original_class) | |
end | |
end | |
end | |
end |
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
## Plugins | |
1. curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
2. cd ~/.vim/bundle && git clone https://github.com/scrooloose/nerdtree.git | |
3. cd ~/.vim/bundle && git clone https://github.com/kien/ctrlp.vim.git | |
4. cd ~/.vim/bundle && git clone git://github.com/tpope/vim-fugitive.git | |
5. cd ~/.vim/bundle && git clone [email protected]:altercation/vim-colors-solarized.git | |
* * * |
NewerOlder