<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
To install, you need to have the WordPress i18n library on your computer. Check it out using SVN:
sudo svn co http://i18n.svn.wordpress.org/tools/trunk/ /usr/lib/wpi18n
You don't have to put the library in /usr/lib/wpi18n, but if you don't put it there, make sure to set the $WP_I18N_LIB environment variable in your .bashrc file (with no trailing slash):
export WP_I18N_LIB="/path/to/i18n/lib"
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
| This configuration is a working copy which I have tested on Apache 2.2.x and 2.4.x | |
| I highly recommend you use this version of mod_fastcgi as it works with Apache 2.4.x, fastcgi.com version does not! | |
| https://github.com/ByteInternet/libapache-mod-fastcgi | |
| The fastcgi.com version is 2.4.6, the version I am recommending registers as 2.4.7 | |
| To patch mod_fastcgi for use with Apache 2.4.x look at the debian/patches folder. It's not specific to Debian OS so don't let that fool you. I personally use Archlinux. | |
| Of course to compile mod_fastcgi: |
| --- src/main.c~ 2012-10-23 12:35:34.000000000 +0900 | |
| +++ src/main.c 2012-12-04 18:42:25.000000000 +0900 | |
| @@ -2315,6 +2315,7 @@ | |
| mch_errmsg("\"\n"); | |
| mch_exit(2); | |
| } | |
| + setvbuf(scriptout, NULL, _IONBF, 0); | |
| break; | |
| #ifdef FEAT_GUI_W32 |
| Windows Registry Editor Version 5.00 | |
| ; Default color scheme | |
| ; for Windows command prompt. | |
| ; Values stored as 00-BB-GG-RR | |
| [HKEY_CURRENT_USER\Console] | |
| ; BLACK DGRAY | |
| "ColorTable00"=dword:00000000 | |
| "ColorTable08"=dword:00808080 | |
| ; BLUE LBLUE |
| #!/bin/sh | |
| # /var/git/$REPONAME.git/hooks/ | |
| # This script just multiplexes the hook to multiple sub-scripts, since you can only have one hooks/post-receive | |
| while read oldrev newrev refname | |
| do | |
| echo $oldrev $newrev $refname | /usr/share/doc/git-core/contrib/hooks/post-receive-email | |
| echo $oldrev $newrev $refname | /home/buildbot/buildbot/scripts/post-receive-hook | |
| done |