Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<title>Site Title</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="" />
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 / rv.txt
Created November 29, 2012 17:23
RV's free Javascript/DHTML effects
http://www.mf2fm.com/rv/
http://www.dynamicdrive.com/dynamicindex3/index.html
@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 April 10, 2025 20:37
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"
@jafstar
jafstar / adobe.html
Created August 19, 2012 15:44
HTML5 Image Progress Events
<html>
<head>
<script>
var request;
var progressBar;
function loadImage(imageURI)
{
request = new XMLHttpRequest();
@jafstar
jafstar / wp_copyright.php
Created August 12, 2012 17:27
Wordpress Copyright Snippet
@jafstar
jafstar / openshift.txt
Created July 29, 2012 17:55
Openshift Issues
How can I test my database connection from my local client?
Embedded databases are not bound to the external IP address of your Application's gear. Hence, only your application on that gear can access the database.
To work around this, you can do several things: 1) Use port forwarding to enable your client to access the database by running: > rhc port-forward -a {appName}
2) You can embed rockmongo-1.1, a web-based management console for MongoDB, by running: > rhc app cartridge add -a {appName} -c rockmongo-1.1
3) You can embed phpmyadmin-3.4, a web-based management console for MySQL, by running: > rhc app cartridge add -a {appName} -c phpmyadmin-3.4
https://openshift.redhat.com/community/faq#t2n10425
@jafstar
jafstar / nodejitsu
Created July 25, 2012 07:01
Nodejitsu Issues
//CANT INSTALL NOW.JS
http://blog.nowjs.com/running-nowjs-natively-on-windows
@jafstar
jafstar / heroku.txt
Created July 25, 2012 04:42
Heroku Issues
//WHY ERROR ON DEPLOY
http://stackoverflow.com/questions/4269922/permission-denied-publickey-when-deploying-heroku-code-fatal-the-remote-end
//SETUP HEROKU KEYS
https://devcenter.heroku.com/articles/keys
//UPDATE APP NAME
https://devcenter.heroku.com/articles/renaming-apps#manually_updating_a_git_remote