This guide is for Tinci developers and any Tinci collaborator that will write CSS that Tinci has to later maintain.
This is a work in progress and may change in the future but for now we're happy with this.
This guide is for Tinci developers and any Tinci collaborator that will write CSS that Tinci has to later maintain.
This is a work in progress and may change in the future but for now we're happy with this.
This works even with Grooveshark dead!
The awesome people at audiosplitter.fm provide a little code snippet that allows you to get your Grooveshark collection back.
Go to http://grooveshark.com and open your browser devtools, go to the Console tab and type the content of the JS script. You'll get a big JSON blob, if you know how to exploit it good for you, if not audiosplitter.fm can import it, go use it ;)
source 'https://rubygems.org' | |
gem 'rails', '4.2.1' | |
gem 'pg' | |
gem 'sass-rails', '~> 5.0' | |
gem 'uglifier', '>= 1.3.0' | |
gem 'coffee-rails', '~> 4.1.0' | |
gem 'jquery-rails' | |
gem 'rspec-rails' |
ruby_version = '2.3.1' | |
def yes!(statement) | |
!!(ask("#{statement} [yes]") =~ /^(y(es)?)?$/) | |
end | |
project_name = @app_name.parameterize | |
doing_tests = yes!('Do you plan on writing tests?') |
fr: | |
admin: | |
js: | |
true: Vrai | |
false: Faux | |
is_present: Est présent | |
is_blank: Est vide | |
date: Date ... | |
between_and_: Entre le ... et le ... | |
today: "Aujourd'hui" |
# _plugins/redcarpet_rouge.rb | |
require 'redcarpet' | |
require 'rouge' | |
require 'rouge/plugins/redcarpet' | |
module Jekyll | |
class RedcarpetRouge < Converter | |
safe true | |
priority :high |
# tweaking the Ruby GC to speed up tests | |
export RUBY_GC_MALLOC_LIMIT=90000000 | |
export RUBY_FREE_MIN=200000 | |
# chruby | |
source /usr/local/opt/chruby/share/chruby/chruby.sh | |
source /usr/local/opt/chruby/share/chruby/auto.sh | |
RUBIES=(/usr/local/rubies/*) | |
chruby $(cat ~/.ruby-version) |
[advice] | |
# Hides command hints in basic `git status`. | |
statusHints = false | |
# Hides any warning when checking out a commit by hash instead of branch. | |
detachedHead = false | |
[alias] | |
# Shows the commit hash on 6 chars to match `git log`. | |
# -s suppresses the author name and timestamp from the output. | |
blame = blame --abbrev=6 -s |