(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| RewriteRule "(^|/)\.(?!well-known\/)" - [F] |
| diff --git a/src/config.rs b/src/config.rs | |
| index 5142b9b..80fe5a2 100644 | |
| --- a/src/config.rs | |
| +++ b/src/config.rs | |
| @@ -369,6 +369,7 @@ impl de::Deserialize for ActionWrapper { | |
| "Paste" => Action::Paste, | |
| "Copy" => Action::Copy, | |
| "PasteSelection" => Action::PasteSelection, | |
| + "OpenNewWindow" => Action::OpenNewWindow, | |
| "Quit" => Action::Quit, |
| !: | |
| |_ [hid=hide ~] | |
| ++ poke-mars-args | |
| |= [ost=bone you=ship *] | |
| :_ +>.$ | |
| :- [ost %pass / %g %cide %$] | |
| :- [ost %give %nice ~] | |
| %+ turn (~(tap by sup.hid)) | |
| |= [ost=bone *] | |
| =- [ost %give %rush %tang -] |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #** | |
| * For statement definition | |
| * | |
| * @example | |
| * for { $i=0; $i<20; $i++ } { | |
| * ... | |
| * } | |
| *# | |
| define { Function, Function } 'for' { |
TCL-Expect scripts are an amazingly easy way to script out laborious tasks in the shell when you need to be interactive with the console. Think of them as a "macro" or way to programmaticly step through a process you would run by hand. They are similar to shell scripts but utilize the .tcl extension and a different #! call.
The first step, similar to writing a bash script, is to tell the script what it's executing under. For expect we use the following:
#!/usr/bin/expect
If you are adventurous, here the process to have Hipchat working in your favourite IRC client:
First, you need to install the IRSSI XMPP plugin. You can find this package in your distribution, but I advice you to use the latest version possible if you don't want this segfault errors everywhere: http://gna.org/bugs/?20487
The first version released after the patch fix is the 0.52-2 that you can download here: https://launchpad.net/ubuntu/+archive/primary/+files/irssi-plugin-xmpp_0.52-2_amd64.deb (No dependencies so it should work in any Debian distributions)
Once it's done. You have to configure IRSSI. Either via command line, either manually in the ~/.irssi/config file. I followed this thread: http://cybione.org/lists/irssi-xmpp-list/msg00339.html and it was pretty successful.
You can find your XMPP access on your HipChat account on this page: https://boxuk.hipchat.com/account/xmpp. Everything has a XMPP account id. Even the Rooms name. So you have to use these instead of the real names for your I
| # ksh git prompt support | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # This script allows you to see repository status in your prompt. | |
| # | |
| # To enable: | |
| # | |
| # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
| <?php | |
| // app/start/global.php | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Application Error Logger | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here we will configure the error logger setup for the application which |
| public function __get($key) | |
| { | |
| $func = array($this, 'get' . ucwords($key)); | |
| if (\is_callable($func)) { | |
| return call_user_func($func); | |
| } | |
| } |