This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| angular.module('app.sell').directive('tooltip', function() { | |
| return { | |
| restrict: 'EA', | |
| transclude: true, | |
| scope: { | |
| text: '@' | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Anything you type in here will be executed | |
| ;; immediately with the results shown on the | |
| ;; right. | |
| ( #(conj %1 %2 %3) {"foo" "bar"} {"zub" "bub"} { "hi" "there"} ) | |
| ( (fn [yep stuff] (conj yep stuff)) {"foo" "bar"} {"zub" "bub"} ) | |
| ( #(* 2 %) 5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** @jsx React.DOM */ | |
| /* jshint ignore:start */ | |
| var Step1 = React.createClass({ | |
| // transferPropsTo() will take any props passed to CheckLink | |
| // and copy them to <a> | |
| handleMakeChange: function(makeValue) { | |
| this.setState({ | |
| makeValue: makeValue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var times = { "Schedule": { | |
| "2014-09-27T00:00:00": [ | |
| 16 | |
| ], | |
| "2014-09-28T00:00:00": [ | |
| 8, | |
| 9, | |
| 10, | |
| 11, | |
| 14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******/ (function(modules) { // webpackBootstrap | |
| /******/ // The module cache | |
| /******/ var installedModules = {}; | |
| /******/ | |
| /******/ // The require function | |
| /******/ function __webpack_require__(moduleId) { | |
| /******/ | |
| /******/ // Check if module is in cache | |
| /******/ if(installedModules[moduleId]) | |
| /******/ return installedModules[moduleId].exports; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config alias.pullall '!f(){ git pull "$@" && git submodule update --init --recursive; }; f' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Code goes here | |
| var Parent = function(foo1){ | |
| this.foo1 = foo1 | |
| } | |
| Parent.prototype.derp = function(){ | |
| console.log('derp derp'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " let Vundle manage Vundle, required | |
| Plugin 'gmarik/Vundle.vim' | |
| Plugin 'glidenote/newdayone.vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Anything you type in here will be executed | |
| ;; immediately with the results shown on the | |
| ;; right. | |
| (import 'java.util.UUID) | |
| (UUID/randomUUID) | |
| (defn who-are-you [input] | |
| (cond |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns async-tea-party.core | |
| (:require [clojure.core.async :as async]) | |
| ) | |
| (def tea-channel (async/chan 10)) | |
| (async/>!! tea-channel :cup-of-tea) | |
| (async/<!! tea-channel) |
OlderNewer