Skip to content

Instantly share code, notes, and snippets.

require.config({
paths: {
jquery: '../bower_components/jquery/dist/jquery',
foundation: '../bower_components/foundation/js/foundation'
},
shim: {
bootstrap: {
deps: ['jquery'],
exports: 'jquery'
},
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<nav class="tab-bar">
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon"><span></span></a>
</section>
<section class="middle tab-bar-section">
<h1 class="title">Foundation</h1>
@rgstephens
rgstephens / main_foundation
Last active August 29, 2015 14:08
Add foundation to main.js from Yeoman generator-backbone
require.config({
paths: {
jquery: '../bower_components/jquery/dist/jquery',
backbone: '../bower_components/backbone/backbone',
underscore: '../bower_components/lodash/dist/lodash',
foundation: '../bower_components/foundation/js/foundation',
app: 'app',
indexView: 'views/index'
},
shim: {
grails {
plugin {
springsecurity {
rest {
active = true
token {
storage {
useMemcached = false
useGorm = true
gorm {
@rgstephens
rgstephens / exportPepper.sh
Created November 6, 2016 22:11
Pepperplate Export to Paprika YAML
#!/bin/sh
ids=`sqlite3 ./recipes_2.db <<!
.mode csv
select Id from Recipe;
!`
dumprecipe() {
sqlite3 ./recipes_2.db <<!
.separator ' '
@rgstephens
rgstephens / mytivo
Last active November 13, 2016 16:06
LIRC File for Tivo Roamio
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Sat Nov 12 14:53:38 2016
#
# contributed by
#
# brand: test
# model no. of remote control:
@rgstephens
rgstephens / lircd
Created November 12, 2016 17:56
LIRC startup script /etc/init.d/lircd
#! /bin/sh
#
# This is an init script for Debian Sid
# Copy it to /etc/init.d/lirc and type
# > update-rc.d lirc defaults 20
#
test -f /usr/local/sbin/lircd || exit 0
@rgstephens
rgstephens / myonkyo
Created November 13, 2016 16:05
LIRC config file for Onkyo TX-NR616
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Sun Nov 13 15:55:42 2016
#
# contributed by
#
# brand: myonkyo
# model no. of remote control:
@rgstephens
rgstephens / docker.log
Created June 26, 2017 20:39
docker logs
Installation completed successfully!
- WHAT TO DO TO FINISH THE TULEAP INSTALLATION (see /root/todo_tuleap.txt)
- Your domain name is plex
- Automatically generated passwords are stored in /data/root/.tuleap_passwd
- Customize /etc/tuleap/conf/local.inc and /etc/tuleap/conf/database.inc
- You may also want to customize /etc/httpd/conf/httpd.conf
- Customize /etc/tuleap/site-content information for your site.
- For instance: contact/contact.txt
-
- Default admin credentials are login: admin / password: iDjAKPrjPjrJPed
@rgstephens
rgstephens / maillog
Created June 26, 2017 20:42
/var/log/maillog
Jun 26 20:41:18 270efe9b3c6f postfix[1790]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:20 270efe9b3c6f postfix[1791]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:22 270efe9b3c6f postfix[1792]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:24 270efe9b3c6f postfix[1793]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:26 270efe9b3c6f postfix[1797]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:28 270efe9b3c6f postfix[1804]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:30 270efe9b3c6f postfix[1805]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:32 270efe9b3c6f postfix[1806]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:34 270efe9b3c6f postfix[1807]: fatal: parameter inet_interfaces: no local interface found for ::1
Jun 26 20:41:36 270efe9b3