Skip to content

Instantly share code, notes, and snippets.

View chadfurman's full-sized avatar

Chad Furman chadfurman

View GitHub Profile
@chadfurman
chadfurman / designer.html
Last active August 29, 2015 14:20
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
module.exports = function(robot) {
response_orig = {
send: robot.Response.prototype.send,
reply: robot.Response.prototype.reply
}
robot.Response.prototype.send = function() {
var args = Array.prototype.slice.call(arguments);
log_it(this, args);
response_orig.send.call(this, args);
```
$ mkdir cms
$ cd cms
$ npm init
$ npm install angular2 --save-dep
```
class TextMessage extends Message
# Represents an incoming message from the chat.
#
# user - A User instance that sent the message.
# text - A String message.
# id - A String of the message ID.
constructor: (@user, @text, @id) ->
super @user
#!/bin/sh
echo '.' >> /home/lotus/crontest
DISPLAY=:0.0 feh --randomize --bg-fill /home/lotus/Pictures/Wallpapers/
<access uri="http://localhostpc.com:1337"/>
<allow-navigation href="http://localhostpc.com:1337/*"/>
......
<meta http-equiv="Content-Security-Policy" content="default-src 'self' localhostpc.com:1337">
### Keybase proof
I hereby claim:
* I am shadelotus on github.
* I am chadfurman (https://keybase.io/chadfurman) on keybase.
* I have a public key whose fingerprint is C456 2527 842E E748 0093 AD63 0D84 09CE 2974 6971
To claim this, I am signing this object:
function sortByPath(arr, path) {
var index, values, returnArr;
console.log(arguments);
var argsList = Array.prototype.slice.call(arguments,2);
var possibleFunc = argsList.splice(-1,1)[0];
console.log('possibleFunc', possibleFunc);
console.log('argsList', argsList);
var compare = function (a,b) {
if (a < b) {
return -1;
@chadfurman
chadfurman / keybase.md
Created October 22, 2015 16:22
keybase.md

Keybase proof

I hereby claim:

  • I am chadfurman on github.
  • I am chadfurman (https://keybase.io/chadfurman) on keybase.
  • I have a public key whose fingerprint is C456 2527 842E E748 0093 AD63 0D84 09CE 2974 6971

To claim this, I am signing this object: