Skip to content

Instantly share code, notes, and snippets.

View rizowski's full-sized avatar
🔥
┬─┬ ︵ /(.□. \)

Colten Rouska rizowski

🔥
┬─┬ ︵ /(.□. \)
View GitHub Profile
BEGIN MESSAGE.
mIAsrgOij8oX3C5 5qBrlWLq14PlNUu bo40gd80CMqS00D jvuAXgWRWN9woYz
67U0esTMDUOZ5j0 CZoJqoVymCKTCKq 6Xr2MZHgg6vh09O 7CpyrraqrKQDq0o
s5MplJ85dSYC8Ge YMl2Zqlvunq9dll 84t5ikr2hAnLC7v ou7IRwJQC1y09ed
H4OkUFeNynqcMnr 0jmgpqEGwmoyTia U6tj30Qz5Z.
END MESSAGE.

Keybase proof

I hereby claim:

  • I am rizowski on github.
  • I am rizowski (https://keybase.io/rizowski) on keybase.
  • I have a public key ASAOXdCmGiNHdqeSjCz_BDM_fXvAGhZKzEUoADZW8aG8pwo

To claim this, I am signing this object:

//the code below will embed replace [gist id=x] tags with an embedded gist similar to the way the Wordpress Gist
//plugin works. I wrote this in order to import posts from Wordpress. See //GB: for the changes.
// **takes:** filter / pagination parameters
browse: function browse(options) {
options = options || {};
// **returns:** a promise for a page of posts in a json object
//return dataProvider.Post.findPage(options);
return dataProvider.Post.findPage(options).then(function (result) {
@rizowski
rizowski / httpServer.js
Created May 28, 2014 14:45
[TW] Node.js Examples (v0.10.28)
var http = require('http');
http.createServer(function(request, response) {
response.writeHead(200, {'content-Type' : 'text/plain'});
response.end("helloWorld");
}).listen(8080, '127.0.0.1');
console.log("Running Server on http://127.0.0.1:8080");
@rizowski
rizowski / Readme.txt
Created May 21, 2014 04:51
BTSync Wallpapers
If you want to ignore a certain resolution you can open the .SyncIgnore and place any of the folder names you wish to not download. You will need to
1) Close BTSync
2) Edit the file
3) Delete the folder that you want to ignore
- if BTSync has downloaded it
4) Then start BTSync.
If the folder that you ignored reappears, you may have put it in wrong. Make sure you don't have any following slashes.
Ex: Wallpapers/
@rizowski
rizowski / FloatVsDisplay.css
Last active August 29, 2015 14:01
Javascript fun
div{
width: 50px;
height: 50px;
}
.inline{
display: inline-block;
background: black;
color: white;
}
@rizowski
rizowski / Highscore.gs
Last active December 11, 2015 16:05
Google Script Examples
/**
* Gets the highscores from the poorly constructed Runescape api. This is a members only feature.
* [level, xp, rank]
* @param {string} username
* @param {boolean} oldSchoolServer
* @return {object} returns user[][]
*/
getHighScores: function(username, old) {
var url;
var data;
@rizowski
rizowski / update.bat
Last active August 29, 2015 14:01
Minecraft Updater Shell Script
ECHO OFF
SET backupdir="%appdata%\.minecraftold"
SET minedir="%appdata%\.minecraft"
:STARTMENU
CLS
ECHO ...............................................
ECHO Rizowski's Minecraft Versioner
ECHO ...............................................
ECHO ...............................................
ECHO Welcome to Rizowski's Minecraft Versioner.
# the variable I am trying to use
canvaskey = ""
# the callback method to set the variable
setkey = (item) =>
canvaskey = item
# Starting the chain
getcanvaskey = () =>
chrome.storage.local.get('key', (item) ->
@rizowski
rizowski / dabblet.css
Created January 31, 2012 03:42 — forked from Daniel-Hug/dabblet.css
A "deeper" indented text effect with the :before and :after pseudo-elements.
/**
* A "deeper" indented text effect with the :before and :after pseudo-elements.
*/
html, body {
height: 100%;
}
body {
margin: 0;
background: #0A539C;
background: linear-gradient(top, #4293d6 0%,#001e96 100%);