- Make some changes in .ssh/config file
Host github-public
HostName github.com
User git
IdentityFile /Users/username/.ssh/id_rsa_public_account
IdentitiesOnly yes
<?php | |
define('OPENED_BRACE', '{'); | |
define('CLOSED_BRACE', '}'); | |
define('OPENED_PARENTHESIS', '('); | |
define('CLOSED_PARENTHESIS', ')'); | |
define('OPENED_BRACKET', '['); | |
define('CLOSED_BRACKET', ']'); | |
$values = [ |
Problem: How to build transaction name for NewRelic in Lumen.
Description: NewRelic tries to group similar transaction into group, to be able easier watch for them later on Extra-Problem: NewRelic has an issue and becuase of that they can not group following transactions:
This is a simple gulpfile to compile and upload lambda functions to AWS.
Each lambda function is a separate folder next to gulpfile. Gulp compiles and packages each lambda function as a zip file under "dist" folder.
Gulpfile also puts an ".env" file to each zip package for lambda functions to differentiate between different environments.
See index.js and config.js for the usage of environments.
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
Hey friends! This is a guide for getting a gig in college as a tech major. I graduated May 2014 with 10 job offers after having 5 internships throughout my four years of college. You can do that, too. Because you're great.
Note: This is an opinionated guide. While it is most effective for on-site, the same pattern can work with remote candidates.
Interviewing is hard. It's not easy to find good people, and once you do, it's often difficult to find out what they can do and how they work. A badly-run interview can pass over a great engineer. Conversely, some engineers are good at passing traditional tech interviews, but bring major problems with work habits or team fit.
The first priority of any manager is to hire the best people. Everything else must wait.
const gulp = require('gulp'), | |
sourcemaps = require('gulp-sourcemaps'), | |
babel = require('gulp-babel'), | |
symlink = require("gulp-sym"), | |
eslint = require('gulp-eslint'), | |
del = require('del'), | |
install = require('gulp-install'), | |
awsLambda = require('node-aws-lambda'), | |
runSequence = require('run-sequence'), | |
zip = require('gulp-zip'), |
import stream from 'stream' | |
import https from 'https' | |
export default class googleServiceStream extends stream.Transform { | |
/** | |
* Initialize the stream | |
*/ | |
constructor() { | |
super({objectMode: true}) | |
} |
<?php | |
function solution($S) | |
{ | |
$stack = []; | |
foreach(parseCommand($S) as $command) { | |
try { | |
$stack = performOperation($command)($stack); | |
} catch (Exception $e) { |