I hereby claim:
- I am rafeca on github.
- I am rafeca (https://keybase.io/rafeca) on keybase.
- I have a public key whose fingerprint is C4C1 E981 FE92 B87F 4567 D228 05E8 4458 B0B9 48F0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
require_once 'Zend/Application/Resource/ResourceAbstract.php'; | |
require_once 'Zend/Log.php'; | |
/** | |
* Multilog Resource | |
* | |
* @category Zend | |
* @package Zend_Application |
$(document).ready(function(){ | |
phono = $.phono({ | |
apiKey: 'xxx', | |
onReady: function(event, phone) { | |
// (...) | |
}, | |
audio: { | |
type: 'java', | |
jar: 'http://hudson.voxeolabs.com/hudson/job/PhonoSDK/lastBuild/artifact/artifacts/sdk/plugins/audio/phono.audio.jar' | |
} |
rafeca->roa ~/Documents/Curro/TID/10fridays/connfurence git:(telephony) ✗ sudo pecl install libevent | |
Password: | |
downloading libevent-0.0.4.tgz ... | |
Starting to download libevent-0.0.4.tgz (9,003 bytes) | |
.....done: 9,003 bytes | |
3 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20090626 | |
Zend Module Api No: 20090626 |
import re | |
def _camel_to_underscore_case(name): | |
""" | |
Translate 'CamelCaseNames' to 'camel_case_names'. | |
""" | |
camelcase_boundry = '((?<=[a-z])[A-Z])' | |
return re.sub(camelcase_boundry, '_\\1', name).lower() | |
def camel_to_underscore_case(obj, deep=True): |
function chpwd() { | |
if [ -e .venv ]; then | |
echo "$fg[green]Switching to virtualenv \"`cat .venv`\"$reset_color" | |
workon `cat .venv` | |
fi | |
} |
#!/usr/bin/env ruby | |
CONFIGURED_INTERFACES = ["O2", "TID"] | |
VPN_INTERFACE_NAMES = "%s VPN" | |
RACOON_CONFIG_FILES = "/etc/racoon/racoon.conf.%s" | |
unless (ARGV.length > 0 && CONFIGURED_INTERFACES.include?(ARGV[0].upcase)) | |
puts "usage: vpn_connect [#{CONFIGURED_INTERFACES.join('|')}]" | |
exit 1 | |
end |
<?php | |
function _buildParams(array $data = array(), $preffix = '') | |
{ | |
$query = array(); | |
foreach ($data as $k=>$v){ | |
if (is_array($v)){ | |
$query[] = _buildParams($v, $preffix ? $preffix .'[' . (is_int($k) ? '' : $k) . ']' : $k); | |
} else if ($preffix) { |
diff -r 4a634fdf26e2 src/main/webapp/js/build-pipeline.js | |
--- a/src/main/webapp/js/build-pipeline.js Sat Aug 25 16:04:30 2012 -0700 | |
+++ b/src/main/webapp/js/build-pipeline.js Wed Sep 05 23:24:46 2012 +0100 | |
@@ -69,6 +69,18 @@ | |
}, | |
triggerBuild : function(id, upstreamProjectName, upstreamBuildNumber, triggerProjectName, dependencyIds) { | |
var buildPipeline = this; | |
+ | |
+ // Ugly patch by rafeca to fix this bug: https://issues.jenkins-ci.org/browse/JENKINS-14656 | |
+ var currentBox = $('#build-' + id); |
# First, remove the tags from the origin repository | |
$ git tag -l | grep -e '-[a-zA-Z][0-9]*$' | awk '{ print ":" $1}' | xargs git push origin | |
# Then, remove the tags locally | |
$ git tag -l | grep -e '-[a-zA-Z][0-9]*$' | xargs git tag -d |