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
# add source | |
cat >> /etc/apt/sources.list <<EOF | |
# Percona XtraBackup | |
deb http://repo.percona.com/apt precise main | |
deb-src http://repo.percona.com/apt precise main | |
EOF | |
# add signing key | |
apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A |
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
ff18f75f8b0ad1c1363d5cce9db813da GrandTheftAutoV.exe | |
882b69cc9478004e2878655a099d31ff GrandTheftAutoV.exe.001 | |
164b9522cbf574a04603e956cf558aa4 GrandTheftAutoV.exe.002 | |
08c2ff42b2123ed6abd91395e8869e72 GrandTheftAutoV.exe.003 | |
1f3d7ca33f1f98897606857a2e73a33b GrandTheftAutoV.exe.004 | |
0a7e62e837ee3784257b0dacc502d9a2 GrandTheftAutoV.exe.005 | |
c1f95852ca39c2b3c772fd5a10007e70 GrandTheftAutoV.exe.006 | |
2d08e283e9e47c6be5190d8ebaf811f6 GrandTheftAutoV.exe.007 | |
ad2cfc3b2fb36bebd5cbe43681db6316 GrandTheftAutoV.exe.008 | |
ae9f9c1b475f0eb06ff9c6c751ed809c GrandTheftAutoV.exe.009 |
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
def upload video | |
@app.stats.yt_videos_new +1 | |
ldata = assemble_local_data | |
result = @instance.connection.video_upload( | |
File.open(video), | |
:title => ldata[:title], | |
:description => ldata[:desc], | |
:keywords => ldata[:keywords], | |
:category => @instance.config['target_category'] |
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
initial load 0.010000 0.000000 0.010000 ( 0.001589) | |
Calculating ------------------------------------- | |
::new 71.000 i/100ms | |
------------------------------------------------- | |
::new 726.286 (± 3.4%) i/s - 3.692k | |
Calculating ------------------------------------- | |
::one 71.000 i/100ms | |
#one 6.942k i/100ms | |
------------------------------------------------- |
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
Sehr geehrte Damen und Herren, | |
wie Sie sicherlich in den Medien verfolgt haben, sinkt die Anzahl von freien IPv4-Adressen | |
weltweit drastisch. In Europa ist der verfügbare Adresspool bereits vollständig vergeben. | |
Auch wir erhalten vom europäischen IP-Adressverwalter Reseaux IP Europeens (RIPE) keine | |
weiteren IPv4-Adressen. | |
Da die Nachfrage nach IPv4-Adressen jedoch weiterhin sehr hoch ist, sind wir gezwungen, | |
die Verwendung sowie die Vergabe an Kunden restriktiver zu gestalten. |
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
# Insert this into /etc/rc.local before the line "exit 0" (do not remove the shebang/1st line either) | |
# Change basepath and webuser respectively. | |
rails_start() { screen -md su - www-data -c "cd /home/www/$1/current ; bundle exec unicorn -c config/unicorn.rb -E production -D"; } | |
rails_start "com.example" | |
rails_start "some_app" |
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
// Put this into a bookmark or paste it | |
// (beware that at least Chrome strips | |
// away the `javascript:` for security reasons) | |
javascript:var customStyles = document.createElement('style'); customStyles.appendChild(document.createTextNode('body * { -webkit-transition: all 0.25s ease-in-out;-moz-transition: all 0.25s ease-in-out;-o-transition: all 0.25s ease-in-out;transition: all 0.25s ease-in-out;}body *:hover {-webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);-ms-transform: rotate(180deg);-o-transform: rotate(180deg);transform: rotate(180deg);}'));document.documentElement.insertBefore(customStyles); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<notice version="2.0"> | |
<api-key>4c34e088c66a4460b88a8a2159cb5003</api-key> | |
<notifier> | |
<name>airbrake_js</name> | |
<version>0.2.0</version> | |
<url>http://airbrake.io</url> | |
</notifier> | |
<error> | |
<class>Error</class> |
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
2013-07-27T05:13:40Z 1610 TID-fo9os PostReceive JID- INFO: done: 0.03 sec | |
2013-07-27T05:24:10Z 1610 TID-jghnk PostReceive JID- INFO: start | |
2013-07-27T05:24:10Z 1610 TID-jghnk PostReceive JID- INFO: done: 0.032 sec | |
2013-07-27T05:29:34Z 1610 TID-fo9os PostReceive JID- INFO: start | |
2013-07-27T05:29:34Z 1610 TID-fo9os PostReceive JID- INFO: done: 0.028 sec | |
2013-07-27T05:35:19Z 1610 TID-jghnk PostReceive JID- INFO: start | |
2013-07-27T05:35:19Z 1610 TID-jghnk PostReceive JID- INFO: done: 0.029 sec | |
2013-07-27T05:37:58Z 1610 TID-fo9os PostReceive JID- INFO: start | |
2013-07-27T05:37:58Z 1610 TID-fo9os PostReceive JID- INFO: done: 0.03 sec | |
2013-07-27T05:39:39Z 1610 TID-jghnk PostReceive JID- INFO: start |
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
require "shellwords" | |
class ContentRenderer | |
def initialize str, opts | |
@str = str.dup | |
@opts = opts.reverse_merge markdown: true, youtube: true | |
end | |
def to_str | |
@_rendered ||= @opts.inject(@str) do |text, (opt, perform)| |