Skip to content

Instantly share code, notes, and snippets.

Working from home

Noel Yahan noelyahan

Working from home
Block or report user

Report or block noelyahan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View application-template-jeebuild.json
"metadata": {
"name": "jee-sample"
"kind": "Template",
"apiVersion": "v1beta1",
"description": "This example shows how to create a simple jee application in openshift origin v3",
"parameters": [{
"name": "MYSQL_USER",
"description": "administrator username",
# Preconditions
DOCKER_VERSION=`docker version | grep 'Server version' | cut -d ' ' -f 3`
echo "Docker ${REQUIRED_DOCKER_VERSION} is required to run Fabric8."
exit -1
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name:

noelyahan /
Created Jan 12, 2017 — forked from learncodeacademy/
What are Javascript Generators?

##what are generators##

  • They're pausable functions, pausable iterable functions, to be more precise
  • They're defined with the *
  • every time you yield a value, the function pauses until .next(modifiedYieldValue) is called
var myGen = function*() {
  var one = yield 1;
  var two = yield 2;
  var three = yield 3;
  console.log(one, two, three);
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<canvas id="mycanvas"></canvas>
<script id="jsbin-javascript">
noelyahan / transitions_scale.pde
Created Apr 26, 2019
This processing sketch will provide a scale up down transition for rectangle and circle
View transitions_scale.pde
* Scale
* by Denis Grutze.
* modified by Noel.
* Paramenters for the scale() function are values specified
* as decimal percentages. For example, the method call scale(2.0)
* will increase the dimension of the shape by 200 percent.
* Objects always scale from the origin.
You can’t perform that action at this time.