Skip to content

Instantly share code, notes, and snippets.

""
"" Janus setup
""
" Define paths
let g:janus_path = escape(fnamemodify(resolve(expand("<sfile>:p")), ":h"), ' ')
let g:janus_vim_path = escape(fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h"), ' ')
let g:janus_custom_path = expand("~/.janus")
" Source janus's core
import {ComponentMetadata as Component, ViewMetadata as View, CORE_DIRECTIVES} from 'angular2/angular2';
import {RouteParams, onDeactivate} from 'angular2/router';
import {Socket} from 'services/socket';
import {WebRTC} from 'services/webrtc';
import {Upload} from 'components/upload';
@Component({
selector: 'hideoout',
prodivers: [RouteParams, Socket, WebRTC],
lifecycle: [onDeactivate]
.hideout {
position: relative;
min-height: 100vh;
background: $hideout-color;
.heading {
padding: 20px 80px;
text-align: center;
color: white;
p {
margin-top: 50px;
module.exports = [{
types: ['message'],
regex: /^(!|\/)dick$/,
action: (chat, stanza) => {
var timer;
var shaft = "=";
var balls = "8";
var head = "D";
var dicker = () => {
'use strict'
angular.module 'meshApp'
.config ($stateProvider) ->
$stateProvider.state 'dash',
url: '/dash'
templateUrl: 'app/dash/dash.html'
controller: 'DashCtrl'
controllerAs: 'dash'
authenticate: true
@camwhite
camwhite / .vimrc
Last active November 9, 2015 04:23
""
"" Janus setup
""
" Define paths
let g:janus_path = escape(fnamemodify(resolve(expand("<sfile>:p")), ":h"), ' ')
let g:janus_vim_path = escape(fnamemodify(resolve(expand("<sfile>:p" . "vim")), ":h"), ' ')
let g:janus_custom_path = expand("~/.janus")
" Source janus's core
export PATH="/usr/local/bin:/usr/local/bin/subl:~/bin:$PATH"
export TERM=screen-256color-bce
alias ta='tmux attach -t'
alias tkss='tmux kill-session -t'
alias tksv='tmux kill-server'
alias tl='tmux list-sessions'
alias ts='tmux new-session -s'
// Shows the playlist
name: '!playlist',
help: 'Skip the song if moderator, else place a vote to skip the song.',
types: ['message'],
regex: /^(!|\/)playlist$/,
action: function( chat, stanza ) {
let player = getPlayer( chat );
let playlist = getPlaylist( chat );
let tracks = [];
# Path to your oh-my-zsh installation.
export ZSH=/Users/camwhite/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="cam"
# Uncomment the following line to use case-sensitive completion.
@mixin randomizer($multiple, $lum) {
@for $i from 1 through 5 {
&:nth-child(#{$i}) {
background: hsl($multiple * $i, 100%, $lum);
}
}
}