Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/** @jsx hJSX */ | |
import {hJSX} from '@cycle/dom'; | |
const DIALOGUE_NAME = `dialogue`; | |
let idSuffix = 0; | |
function makeCycleId() { | |
return `${DIALOGUE_NAME}-${idSuffix++}`; |
import logger from './logger'; | |
let log = logger('Category'); | |
log.trace('Just tracing stuff'); | |
log.debug('Here is a debug message'); | |
log.success('The successful thing happened that we wanted to happen'); | |
log.info('Information makes the world go around, and here is that string:', str); | |
log('An info message can be logged using short form'); | |
log.warn('You better be careful about this kind of thing'); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/bash | |
[ -f /usr/bin/gcc ] || (apt-get update && apt-get install -y build-essential libncurses-dev libssl-dev chrpath) | |
#wget http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-7.2d.tar.gz | |
#tar zxf libatomic_ops-7.2d.tar.gz | |
#cd libatomic_ops-7.2/ | |
#./configure --prefix=/opt/flussonic | |
#make install | |
#cd .. |
-module(encode_uri_rfc3986). | |
-author('Renato Albano <[email protected]>'). | |
-export([encode/1]). | |
%% Taken from <http://erlangexamples.com/>, | |
%% from <http://github.com/CapnKernul/httparadise> | |
%% and <http://www.erlang.org/doc/man/edoc_lib.html> | |
encode([C | Cs]) when C >= $a, C =< $z -> |
#!/bin/bash -e | |
# Usage # copy from browser "JIRA-205\nTicket title" | |
# $ jira2branch # echoes jira-205-ticket-title | |
# $ JIRA2BRANCH_TEAM=team jira2branch # echoes jira-205-team-ticket-title | |
# $ jira2branch team2 # override mode | |
# echoes jira-205-team2-ticket-title ignoring $JIRA2BRANCH_TEAM | |
OS=`uname` |
#!bash | |
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |