Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:

Will Button rekibnikufesin

:shipit:
  • Aaptiv
  • Scottsdale, AZ
View GitHub Profile
@rekibnikufesin
rekibnikufesin / gist:875f7a4bb9833628d802
Created Sep 19, 2014
Puppet File => Ensure exception
View gist:875f7a4bb9833628d802
# manifest
# config file for dfsreferenceservice
class dfsreferenceservice::config {
$debug = hiera('dfsreferenceservice::config::debug')
$domain = hiera('dfsreferenceservice::config::domain' )
$timeout = hiera('dfsreferenceservice::config::timeout' )
$cache_url = hiera('dfsreferenceservice::config::cache_url' )
$cache_key = hiera('dfsreferenceservice::config::cache_key' )
$dfsutil = hiera('dfsreferenceservice::config::dfsutil' )
@rekibnikufesin
rekibnikufesin / create.html
Last active Aug 29, 2015
view using ng-file-upload
View create.html
<section data-ng-controller="PostsController">
<form name="postForm" class="form-horizontal col-md-6" role="form" data-ng-submit="create(postForm.$valid)" novalidate>
<div class="form-group" ng-class="{ 'has-error' : submitted && postForm.content.$invalid }">
<label mean-token="'create-post'" class="col-md-3 control-label">Post</label>
<div class="col-md-offset-4">
<div>WOD: <input type="text" data-ng-model="wod" /></div>
<div>Meals: <input type="text" data-ng-model="meals" /></div>
<div>Stress: <input type="text" data-ng-model="stress" /></div>
<input type="hidden" data-ng-model="selfie">
<button ng-file-select="" ng-model="files" multiple="false"><span class="glyphicon glyphicon-camera"></span></button>
@rekibnikufesin
rekibnikufesin / server.js
Created Mar 13, 2015
Simple Node.js server
View server.js
var http = require('http');
var server = http.createServer(function (request, response) {
  response.writeHead(200, {"Content-Type": "text/plain"});  
response.end("Hello World\n");
});
server.listen(3000);
console.log("Server running at http://127.0.0.1:3000/");
@rekibnikufesin
rekibnikufesin / zork.txt
Created Jul 19, 2016
Input file as used in the egghead.io lesson Node.js Buffers
View zork.txt
West of House
This is an open field west of a white house, with a boarded front door.
There is a small mailbox here.
A rubber mat saying 'Welcome to Zork!' lies by the door.
View append_extend.py
x = [1, 2, 3]
print(x)
y = [1, 2, 3]
print(y)
x.append(4)
y.extend([4])
View key base.md

Keybase proof

I hereby claim:

  • I am rekibnikufesin on github.
  • I am willbutton (https://keybase.io/willbutton) on keybase.
  • I have a public key ASDG6_qQA-_WyHjJS41wnzDBgdq4_VqpRxZOMNADEcI4Wgo

To claim this, I am signing this object: