I hereby claim:
- I am stefanotorresi on github.
- I am stefanotorresi (https://keybase.io/stefanotorresi) on keybase.
- I have a public key whose fingerprint is 0ACF AFD4 CE27 D291 D89F FAF9 BB59 EBFB 607D 4E05
To claim this, I am signing this object:
#!/usr/bin/env bash | |
composer install --no-dev | |
for DEP in $(composer show -N); do | |
echo | |
echo "*** downgrading ${DEP} ***" | |
echo | |
composer update $DEP --prefer-lowest --prefer-stable | |
composer test | |
TEST_FAILED=$? | |
if [[ $TEST_FAILED -gt 0 ]]; then |
env |
#!/bin/bash | |
ADMIN="[email protected]" | |
# set alert-level % | |
ALERT=85 | |
MAILER=/usr/bin/mail | |
df -Ph | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $6 }' | while read output; | |
do | |
usep=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 ) | |
partition=$(echo $output | awk '{ print $2 }' ) |
--- | |
- hosts: wordpress-server | |
vars: | |
root_directory: /var/www/html | |
theme_name: your-theme-name | |
theme_repo: https://yourtheme.git.url.git | |
locale: it_IT | |
url: http://absolute-url.tld | |
title: Worpdress | |
admin_user: admin |
#!/usr/bin/env bash | |
if ! /opt/letsencrypt/letsencrypt-auto renew > /var/log/letsencrypt/renew.log 2>&1 ; then | |
echo "Automated renewal failed:" | |
cat /var/log/letsencrypt/renew.log | |
exit 1 | |
fi | |
if [[ "$(tail -1 /var/log/letsencrypt/renew.log)" != 'No renewals were attempted.' ]]; then | |
service apache2 restart 1> /dev/null |
// Karma configuration | |
// Generated on Thu Feb 25 2016 23:29:01 GMT+0100 (CET) | |
module.exports = function(config) { | |
config.set({ | |
// base path that will be used to resolve all patterns (eg. files, exclude) | |
basePath: '', | |
<?php | |
use Zend\Test\PHPUnit\Controller\AbstractControllerTestCase as TestCase; | |
abstract class AbstractFunctionalTestCase extends TestCase | |
{ | |
public function setUp() | |
{ | |
// assumes cwd is project root | |
$config = include 'config/application.config.php'; |
#!/usr/bin/env python | |
import requests | |
import getpass | |
import json | |
class GithubTokenRetriever: | |
url = 'https://api.github.com/authorizations' | |
def __init__(self, username = '', password = '', note = '', otp = ''): | |
self.user = { |
zfcampus/apigility.org | |
zfcampus/zf-api-problem | |
zfcampus/zf-apigility | |
zfcampus/zf-apigility-admin | |
zfcampus/zf-apigility-admin-ui | |
zfcampus/zf-apigility-doctrine | |
zfcampus/zf-apigility-documentation | |
zfcampus/zf-apigility-documentation-swagger | |
zfcampus/zf-apigility-skeleton | |
zfcampus/zf-content-negotiation |
I hereby claim:
To claim this, I am signing this object: