Skip to content

Instantly share code, notes, and snippets.

View mightyhorst's full-sized avatar
🎯
Focusing

Nick Mitchell mightyhorst

🎯
Focusing
View GitHub Profile
<?php
/**
* A simple Facebook PHP example.
*
* - This is not a "Facebook SDK".
* - This example uses Curl, Hash, JSON, Session extensions.
* - This does not use the JavaScript SDK, nor the cookie set by it.
* - This works with Canvas, Page Tabs with IFrames, the Registration Plugin
* and with any other flow which uses the signed_request.
@mightyhorst
mightyhorst / dropzone-directive.js
Last active August 29, 2015 14:26 — forked from compact/dropzone-directive.js
AngularJS directive for Dropzone.js
/**
* An AngularJS directive for Dropzone.js, http://www.dropzonejs.com/
*
* Usage:
*
* <div ng-app="app" ng-controller="SomeCtrl">
* <button dropzone="dropzoneConfig">
* Drag and drop files here or click to upload
* </button>
* </div>
@mightyhorst
mightyhorst / template.html
Created September 4, 2015 22:12
Sample Template partial
<div id="{{id}}" class="product-list">
<ul data-src="{{products}}">
<li ng-repeat="product in products">
<img ng-src="product.imgUrl">
<h1>{{product.name}}</h1>
<p>{{product.description}}</p>
</li>
</ul>
</div>
<rss version="2.0">
<channel>
<item>
<title> Becz Wallace </title>
<description><![CDATA[ <b>Becz Wallace - April 1, 2016 </b>,
<img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xtf1/v/t1.0-1/p160x160/10419425_10152836653529759_7696067194740137069_n.jpg?oh=b353e6e2f26cbb2a05100bdbfaa36c25&oe=571B0937&__gda__=1457322913_a79ab0f832201f00496895185caa39b4" style="float: left; border: 3px white solid; margin: 0px 10px 10px 0px;">
Becz Wallace is
a market leader and award-winning innovator in consumer electronics and telecommunications, today announced two important achievements as a result of its relationship with the U.S. Environmental Protection Agency (EPA) and the U.S. Department of Energy (DOE), and its continued commitment to responsible environmental stewardship. Samsung has been named as an award recipient for Excellence in Product Labeling from the EPA and DOE's ENERGY STAR program. Samsung's ENERGY STAR acco
@mightyhorst
mightyhorst / angular-jqueryui-dnd.html
Created March 1, 2016 21:36 — forked from codef0rmer/angular-jqueryui-dnd.html
AngularJS + jQueryUI Drag & Drop
<!DOCTYPE html>
<html ng-app="App">
<head>
<meta name="description" content="AngularJS + jQuery UI Drag-n-Drop" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.1/angular.min.js"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap.min.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<meta charset=utf-8 />
// ~~~ testing.and.sequence.diagram.framework.js ~~~
function loadScripts(array,callback){
var loader = function(src,handler){
var script = document.createElement("script");
script.src = src;
script.onload = script.onreadystatechange = function(){
script.onreadystatechange = script.onload = null;
handler();
}
var head = document.getElementsByTagName("head")[0];
@charset "utf-8";
body {
margin:0;
}
#mocha {
font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 60px 50px;
}
@mightyhorst
mightyhorst / view.txt
Created July 10, 2017 09:18
Component Psuedo Code
ContextMenuView
ContextTitle
ContextMenuItems
ContextMenuItem
@mightyhorst
mightyhorst / kitset.ci.yaml
Created August 29, 2017 22:28
YAML schemas
triggers:
api:
base_url: http://api.kitset.io/v1/project/{{id}}/
# url:
# /scaffold?
# app=frontend/gateway/backend
# &platform=python/nodejs/ios/angular/reactjs
# &step=all/docker/model/view
# /ci/{env_name=test}/build
# /ci/{env_name=staging}/build