1a. Inline syntax without description (can be done):
{{ "navigation.menu.hello" | trans({'%name%':'Tester'}) }}
1b. Block syntax without description (can be done):
{% trans with {'%name%': 'Tester'} %}navigation.menu.hello{% endtrans %}
#!/bin/bash | |
# | |
# Copyleft (c) 2013 Olexandr Melnyk <me@omelnyk.net>. Use at your own risk. | |
# Last revision: 2014-01-31 07:33:15 UTC | |
# | |
# software repos | |
sudo dpkg --add-architecture i386 |
#!/bin/bash | |
sudo apt-get install lib32v4l-0 | |
sudo tee /usr/local/bin/skype > /dev/null << EOL | |
#!/bin/bash | |
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype | |
EOL |
--- grub.cfg.orig 2014-01-09 15:32:35.434458513 +0000 | |
+++ grub.cfg.ssd 2014-01-09 15:38:44.752289861 +0000 | |
@@ -60,7 +60,7 @@ | |
insmod part_msdos | |
insmod lvm | |
insmod ext2 | |
-set root='lvm/ubuntu--vg-root' | |
+set root='(hd0,1)' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint='lvm/ubuntu--vg-root' 988304c3-2da0-455d-8a97-124956557e37 |
. |
#!/usr/bin/ruby | |
abort "Usage: ./subshuffle.rb <srt-file>" if ARGV.count != 1 | |
subs = [] | |
text = "" | |
open(ARGV.last) do |file| | |
file.each do |line| | |
line.strip! |
lala
#!/usr/bin/ruby | |
words = ["apple", "car", "bus", "tools"] | |
word = words.sample | |
puzzle = "_" * word.length | |
ERROR_THRESHOLD = 7 | |
error_count = 0 | |
puts "Puzzle: #{puzzle}" | |
while puzzle != word and error_count < ERROR_THRESHOLD do |
u |