Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>CSS Grid Test</title>
</head>
<body>
<div class="wrapper">
<div class="header"></div>
<div class="menu">
@jafstar
jafstar / deck2.html
Last active December 1, 2016 22:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>Texas Holdem Simulator</title>
<meta charset="UTF-8" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
@paulirish
paulirish / bling.js
Last active July 3, 2024 20:45
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@tkafka
tkafka / LICENSE.txt
Last active May 17, 2024 02:08
Drop-in replacement for ReactCSSTransitionGroup that uses velocity.js instead of CSS transforms. Add your own transitions to `transitions` hash.
The MIT License (MIT)
Copyright (c) 2014 Tomas Kafka
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@camoles
camoles / vhosts.go
Last active September 23, 2017 03:41 — forked from JalfResi/revprox.go
Virtual Hosts in Go
package main
import(
"net/url"
"net/http"
"net/http/httputil"
)
func main() {
vhost1, err := url.Parse("http://127.0.0.1:1980")
@ninnemana
ninnemana / watcher.go
Created October 3, 2013 15:54
golang continuous compilation - monitors for file changes on and .go file recursively. assumes file containing main() is index.go
package main
import (
"fmt"
"github.com/str1ngs/util/file"
"log"
"os"
"os/exec"
"path/filepath"
"time"
c:\Users\{Name}\AppData\Roaming\Notepad++\plugins\Config\NppFTP\
http://www.seangw.com/wordpress/2011/01/notepad-unknown-exception-on-launch-with-nppftp/
Options +FollowSymLinks All -Indexes -MultiViews
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
@jafstar
jafstar / openshift_alias.txt
Last active October 12, 2015 18:18
Openshift Add Remove Alias
rhc app remove-alias -a myAppName --alias www.mywebsite.com
rhc app remove-alias -a myAppName --alias mywebsite.com
rhc app add-alias -a myAppName --alias www.mywebsite.com
rhc app add-alias -a myAppName --alias mywebsite.com
//NEW
rhc alias add
@jafstar
jafstar / radio_streams.txt
Last active May 10, 2024 08:57
Radio Streams
//ABC JAZZ
//mp3: "http://listen.radionomy.com/abc-jazz"
//FRISKY FM
//mp3: "http://scfire-mtc-aa02.stream.aol.com:80/stream/1015"
http://stream2.friskyradio.com:8000/frisky_mp3_hi
http://chill.friskyradio.com/friskychill_mp3_high
//WWOZ
//mp3: "http://wwoz-sc.streamguys.com/wwoz-hi.mp3"