I hereby claim:
- I am josecelano on github.
- I am josecelano (https://keybase.io/josecelano) on keybase.
- I have a public key ASA6nwb4qqa8gSA5lHoCFaIKCBPKwzS9z4iwYf4S-eZBcAo
To claim this, I am signing this object:
/* converts Bencoded data on stdin to JSON on stdout */ | |
#include <stdio.h> | |
#include <ctype.h> | |
#include <stdlib.h> | |
int pos = 0; | |
int c; | |
char stack[1024], *sp = stack; |
I hereby claim:
To claim this, I am signing this object:
# This is a basic workflow to automatically build a Svelte app and deploy it to GitHub Pages | |
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#ifndef FRACT_STDLIB_H_ | |
#define FRACT_STDLIB_H_ | |
#ifdef __cplusplus |
<?php | |
$currency_symbols = array( | |
'AED' => 'د.إ', // ? | |
'AFN' => 'Af', | |
'ALL' => 'Lek', | |
'AMD' => '', | |
'ANG' => 'ƒ', | |
'AOA' => 'Kz', // ? | |
'ARS' => '$', | |
'AUD' => '$', |
Verifying my Blockstack ID is secured with the address 1KcajFC1xmw6bEBdXBcyG5xTfuUFkGNW4F https://explorer.blockstack.org/address/1KcajFC1xmw6bEBdXBcyG5xTfuUFkGNW4F |
#!/bin/sh -v | |
# Set directories permissions | |
# Set Apache user as group owner for directories which require write perms | |
# This script is running as jenkins user. Jenkins should belong to www-data group | |
find ./vendor/orchestra/testbench/fixture/storage -type d -exec chgrp -v www-data {} + | |
find ./vendor/orchestra/testbench/fixture/storage -type d -exec chmod ug+rw {} + | |
find ./vendor/orchestra/testbench/fixture/bootstrap/cache -type d -exec chgrp -v www-data {} + | |
find ./vendor/orchestra/testbench/fixture/bootstrap/cache -type d -exec chmod ug+rw {} + | |
chgrp -v www-data ./vendor/orchestra/testbench/fixture/bootstrap/cache/services.php | |
chmod ug+rw ./vendor/orchestra/testbench/fixture/bootstrap/cache/services.php |
#!/usr/bin/php | |
<?php | |
printf("%sGit pre-commit hook %1\$s", PHP_EOL); | |
$projectName = basename(getcwd()); | |
exec('phpunit --configuration phpunit.xml', $output, $returnCode); // Assuming cwd here | |
if ($returnCode !== 0) { | |
$minimalTestSummary = array_pop($output); | |
printf("Test suite for %s failed: ", $projectName); | |
printf("( %s ) %s%2\$s", $minimalTestSummary, PHP_EOL); | |
return false; // exit(1); |
<?php | |
final class GetProjectsController extends Controller | |
{ | |
/** | |
* @var QueryObjectFactory | |
*/ | |
private $queryObjectFactory; | |
/** |
#!/bin/bash | |
# Following the guide found at this page | |
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html | |
echo "\r\nUpdating system ...\r\n" | |
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa | |
sudo apt-get update | |