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
#!/bin/bash | |
### | |
feedurl='' #url do feed do teu tracker | |
series=("American.Horror.Story" "The.X.Factor") #aqui uma array com as series | |
dir='' #diretorio onde o teu cliente de torrent esta escutando | |
## | |
mkdir -p /tmp/torresmos/ | |
cd /tmp/torresmos | |
wget $feedurl -O feed.xml -o /dev/null; |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).
I kinda regret for not using Boxen to automate the process, but TBH I have this laptop for almost 3yrs and this is the first time I needed to reinstall everything, maybe the next time...
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
#!/usr/bin/env bash | |
set -u | |
set -e | |
export GIT_WORK_TREE="/var/www/example.com" | |
export NODE_VERSION="0.10" | |
echo "--> Checking out..." | |
git checkout -f |
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
--------------------------------------------------------------------------------------------------------- | |
# app/helpers/application_helper.rb | |
--------------------------------------------------------------------------------------------------------- | |
def horizontal_simple_form_for(record, options={}, &block) | |
options[:html] ||= {} | |
options[:html][:class] = "form-horizontal #{options[:html][:class]}".rstrip | |
options[:wrapper] = :bootstrap_horizontal | |
simple_form_for(record, options, &block) | |
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
WITH table_scans as ( | |
SELECT relid, | |
tables.idx_scan + tables.seq_scan as all_scans, | |
( tables.n_tup_ins + tables.n_tup_upd + tables.n_tup_del ) as writes, | |
pg_relation_size(relid) as table_size | |
FROM pg_stat_user_tables as tables | |
), | |
all_writes as ( | |
SELECT sum(writes) as total_writes | |
FROM table_scans |
- Site Reliability Engineering: How Google Runs Production Systems
- Operating Systems
- Operating Systems: Three Easy Pieces
- How Linux Works, 2nd Edition
- Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation
- [Systems Performance: Enterprise and the Cloud](https://www.amazon.com/gp/product/0133390098?ie=UTF8&tag=deirdrestraug-20&linkCode=as2&camp=1789&creative=390957&creativ
format | repo_full_name | stargazers_count |
---|---|---|
gohugoio/hugo | gohugoio/hugo | 38629 |
containous/traefik | containous/traefik | 25222 |
influxdata/influxdb | influxdata/influxdb | 17505 |
influxdata/influxdb | influxdata/influxdb | 17505 |
[wagoodman/dive](https://github.com/wagoodman/dive/blob/master/.gore |
OlderNewer