Command: heroku pgbackups:capture --remote production
Response: >>> HEROKU_POSTGRESQL_COLOR_URL (DATABASE_URL) ----backup---> a712
Command: heroku pgbackups:url [db_key] --remote production
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
pl: | |
devise: | |
confirmations: | |
confirmed: "Twoje konto zostało aktywowane. Zostałeś pomyślnie zalogowany." | |
send_instructions: "Za chwilę otrzymasz email z instrukcją jak aktywować konto." | |
send_paranoid_instructions: "Jeśli Twój adres email istnieje w naszej bazie, za chwilę powinieneś otrzymać instrukcję jak aktywować konto." | |
failure: | |
already_authenticated: "Jesteś aktualnie zalogowany." |
http://kopalniawiedzy.pl/wiadomosci.rss | |
http://rss.slashdot.org/Slashdot/slashdot | |
http://feeds.feedburner.com/Neurotycznie | |
http://bronikowski.com/feed | |
http://gpgpu.org/feed | |
http://www.osnews.com/files/recent.rdf | |
http://osnews.pl/feed/ | |
http://www.mt.com.pl/feed | |
http://freeviewdocumentaries.com/feed/ | |
http://www.focus.pl/rss/ |
echo "1T" | sed -e 's/t/kg/i;s/g/km/i;s/m/kk/i;s/k/*1024/ig;s/b//i' | bc |
fetch = +refs/pull/*/head:refs/remotes/origin/pr/* |
for name in *.ogg; do ffmpeg -i "$name" "$name.mp3"; done; |
# linux is awsome | |
# first.csv | |
# A | |
# B | |
# C | |
# D | |
# second.csv | |
# B |
# Get info about all Contexts in ldap | |
ldapsearch -x -H ldap://localhost -b "" -s base configContext namingContexts monitorContext | |
# display cn=config structures and data | |
ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config" | |
# or | |
slapcat -b cn=config > config.ldiff | |
# modify config |
def s3_form_tag(options = {}) | |
bucket = options[:bucket] | |
access_key_id = options[:access_key_id] | |
secret_access_key = options[:secret_access_key] | |
key = options[:key] || '' | |
content_type = options[:content_type] || '' # Defaults to binary/octet-stream if blank | |
redirect = options[:redirect] || '/' | |
acl = options[:acl] || 'public-read' | |
expiration_date = options[:expiration_date].strftime('%Y-%m-%dT%H:%M:%S.000Z') if options[:expiration_date] | |
max_filesize = options[:max_filesize] || 671088640 # 5 gb |
find -L . -type f -name "*.rhtml" | while read FNAME; do cp $FNAME `dirname $FNAME``echo '/'``basename $FNAME .rhtml`.html.erb; done |