This file contains hidden or 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
| system %w{261.63 293.66 329.63 349.23 392.00 440.00 493.88 523.25}.inject(%w{ecasound}) { |chains, freq| n = chains.size-1; chains << "-a:#{n} -i playat,#{n*0.3},tone,sine,#{freq},0.3" }.join(' ') |
This file contains hidden or 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
| <relay> | |
| <port>80</port> | |
| <mount>/franceinter/all/franceinterhautdebit.mp3</mount> | |
| <local-mount>/franceinter.mp3</local-mount> | |
| <on-demand>1</on-demand> | |
| <retry-delay>30</retry-delay> | |
| <relay-shoutcast-metadata>1</relay-shoutcast-metadata> | |
| <master> |
This file contains hidden or 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 liquidsoap | |
| set("log.file",false) | |
| def next_function() = | |
| result = list.hd(get_process_lines("./bin/file-scheduler ~/Audio/file-scheduler next")) | |
| request.create(result) | |
| end | |
| def forced_change() |
This file contains hidden or 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
| Confirm you want install box image (dist/disk) in /dev/sdb [y/N] :y | |
| Formatting filesystem | |
| * echo ',,L,*' | sudo /sbin/sfdisk -f -uS /dev/sdb | |
| * grep -q /dev/sdb1 /proc/mounts && sudo umount /dev/sdb1 || true | |
| * sudo mke2fs -L boot /dev/sdb1 | |
| Copy files | |
| * sudo mount -o loop,offset=32768 dist/disk /tmp/disk-20111111-13940-14nn789 | |
| * sudo mount /dev/sdb1 /tmp/sdb1-20111111-13940-15tucum | |
| * sudo rsync -av /tmp/disk-20111111-13940-14nn789/ /tmp/sdb1-20111111-13940-15tucum/ | |
| * sudo umount /tmp/sdb1-20111111-13940-15tucum |
This file contains hidden or 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
| alias rake='bundle-exec rake' | |
| alias cap='bundle-exec cap' | |
| alias rspec='bundle-exec rspec' | |
| alias rails='bundle-exec rails' | |
| alias cucumber='bundle-exec cucumber' | |
| alias irb='bundle-exec irb' |
This file contains hidden or 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
| [esperanzah:~] swaks --from [email protected] \ | |
| --to [email protected] \ | |
| --server mail.tryphon.eu | |
| === Trying mail.tryphon.eu:25... | |
| === Connected to mail.tryphon.eu. | |
| <- 220 mail.tryphon.eu ESMTP Postfix (Debian/GNU) | |
| -> EHLO esperanzah.dbx1.tryphon.priv | |
| <- 250-mail.tryphon.eu | |
| <- 250-PIPELINING | |
| <- 250-SIZE 10240000 |
This file contains hidden or 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
| notice: Starting Puppet master version 2.7.2 | |
| err: Could not find class nagios::nrpe for sandbox at /home/alban/Projects/Tryphon-Puppet/manifests/templates.pp:355 on node sandbox |
This file contains hidden or 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
| $ touch 01-test1 02-test2 | |
| $ rename -n 's/[0-9][0-9]-(.*)/$1/' * | |
| 01-test1 renamed as test1 | |
| 02-test2 renamed as test2 | |
| $ rename 's/[0-9][0-9]-(.*)/$1/' * | |
| $ ls | |
| test1 test2 |
This file contains hidden or 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
| <p style="font-family:Verdana, Geneva, sans-serif; font-size:12px"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="color: rgb(253, 164, 6); font-family: Verdana, Geneva, sans-serif; font-size: 18px; font-weight: bold;">Titre</span></span></p> |
This file contains hidden or 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 Capybara::Driver::RackTest | |
| def headers(key = nil, value = nil) | |
| if key.nil? | |
| @headers ||= {} | |
| elsif value.nil? | |
| headers[key] | |
| else | |
| headers[key] = value | |
| end | |
| end |