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 apply: | |
* Open about:support in the address bar | |
* Find "Profile Folder" there, open it | |
* Create chrome/userContent.css file there | |
* Put the content of this file there | |
* Open about:config | |
* Enable toolkit.legacyUserProfileCustomizations.stylesheets | |
* Reload the browser |
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
class HashDiff | |
class << self | |
def t(target) | |
en = YAML.load_file("config/locales/en.yml")["en"] | |
target = YAML.load_file("config/locales/#{target}.yml")[target.to_s] | |
for_translation(en, target) | |
end | |
def push(target_language, update) |
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
vim.o.background = "light" | |
vim.o.termguicolors = true | |
if vim.g.colors_name then vim.cmd("hi clear") end | |
vim.cmd("syntax reset") | |
vim.g.colors_name = "Boring Tomorrow" | |
-- Default GUI Colours |
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
chromedriver | |
firefox | |
iterm2 | |
karabiner-elements | |
skype | |
steam | |
thunderbird | |
virtualbox | |
anki | |
djview |
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
FF = "Firefox" | |
CHROME = "Google Chrome" | |
SLACK = "com.tinyspeck.slackmacgap" | |
GLEAM_GH = /github.com\/Crowd9/ | |
module.exports = { | |
defaultBrowser: FF, | |
handlers: [ |
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
# change white to transparent | |
convert old.png -fuzz 20% -transparent white new.png |
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
# re_record_time: 10.minutes | |
# Time: 11:57 | |
# VCR records requests first time | |
$ bundle exec rspec ./spec/features/market/job_offer_spec.rb | |
Job Offer | |
to a hourly job | |
company | |
VCR GET: https://api.stripe.com/v1/customers/cus_BJ3toXQ39RNwHm |
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
AllCops: | |
Exclude: | |
- 'vendor/**/*' | |
- 'spec/fixtures/**/*' | |
- 'tmp/**/*' | |
- 'vagrant/**/*' | |
TargetRubyVersion: 2.3 | |
Lint/EndAlignment: | |
EnforcedStyleAlignWith: variable |
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
jQuery($ => | |
$(document).on('wheel', '.scrollable', function(ev) { | |
let $el = $(this); | |
let height = $el.outerHeight(true); | |
let delta = ev.originalEvent.deltaY; | |
let up = delta < 0; | |
let prevent = function() { | |
ev.stopPropagation(); | |
ev.preventDefault(); |
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
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', '5.1' |
NewerOlder