This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <err.h> | |
#include <stdbool.h> | |
#include <ctype.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Expected output: | |
// Got exception do nothing | |
// Got message test2 | |
// Got message test3 | |
// Actual output: | |
// Got exception do nothing | |
// Got message test3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const execSync = require('child_process').execSync; | |
module.exports = () => { | |
const configuration = {}; | |
const terraformFolder = process.env.SERVERLESS_ENVIRONMENT == 'production' ? 'production' : 'staging'; | |
const cwd = __dirname + '/' + terraformFolder; | |
const output = execSync('terraform output -json', { | |
cwd, | |
encoding: 'utf-8', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <err.h> | |
#include <stdbool.h> | |
#include <ctype.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IP=127.0.0.1 # Or your public/private IP | |
KUBELET_OPTIONS="--api_servers=http://$IP:8080 --v=2 --address=0.0.0.0 --enable_server --hostname_override=$IP --config=/etc/kubernetes/manifests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# git-branch-status | |
# * originally by http://github.com/jehiah | |
# * "s'all good!" message by http://github.com/kd35a | |
# * ANSI colors by http://github.com/knovoselic | |
# * column formatting, filters, and usage by http://github.com/bill-auger | |
# this script prints out pretty git branch sync status reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AmceBundle\Command; | |
class MyCommand | |
{ | |
// ... | |
protected function execute(InputInterface $input, OutputInterface $output) | |
{ |
OlderNewer