Skip to content

Instantly share code, notes, and snippets.

@DrOctogon
DrOctogon / docker-compose.yml
Created September 5, 2023 20:31 — forked from joekrill/docker-compose.yml
Linkwarden Docker Compose
version: "3.9"
volumes:
postgres:
services:
postgres:
image: postgres
restart: unless-stopped
healthcheck:
# Jekyll Quick Reference (Cheat Sheet)
## Table of Contents
- [Jekyll Commands](#jekyll-commands)
- [Octopress Commands](#octopress-commands)
- [Folder Structure](#folder-structure)
- [Global Variables](#global-variables)
- [Site Variables](#site-variables)
- [Page Variable](#page-variables)
@DrOctogon
DrOctogon / index.html
Created December 13, 2019 06:48
Text Animation: Montserrat
<svg viewBox="0 0 960 300">
<symbol id="s-text">
<text text-anchor="middle" x="50%" y="80%">Montserrat</text>
</symbol>
<g class = "g-ants">
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
@DrOctogon
DrOctogon / beerslider-use-with-jquery-and-various-start-parameters.markdown
Created March 1, 2019 19:09
BeerSlider - use with jQuery and various start parameters
@DrOctogon
DrOctogon / vagrant-autocomplete
Created November 14, 2013 22:39
Vagrant Bash AutoComplete
#!/bin/bash
__pwdln() {
pwdmod="${PWD}/"
itr=0
until [[ -z "$pwdmod" ]];do
itr=$(($itr+1))
pwdmod="${pwdmod#*/}"
done

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
=Rails 3.0.pre on App Engine
You can Rails 3 on App Engine, but it won't be especially useful until bundler 10. You should try these instead:
- Rails 2.3.5: DataMapper version: http://gist.github.com/268192
- Rails 2.3.5: TinyDS version: http://gist.github.com/269075
==Install the Development Environment
The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack.
@DrOctogon
DrOctogon / Update all git repos within a dir
Created July 16, 2013 17:19
Update all git repos within a dir
find . -name ".git" -type d -prune -execdir git pull \;
@DrOctogon
DrOctogon / daemonextension.py
Created July 9, 2013 16:47 — forked from gvangool/daemonextension.py
Daemonize django with supervisor
"""
Copyright (c) 2009, Sean Creeley
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,