This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name rls.fkids.net homepage userscript | |
// @match http://rls.fkids.net | |
// @match http://rls.fkids.net/index.php | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
for(var i in document.getElementById("page-body").children[1].children){ | |
var curTag = document.getElementById("page-body").children[1].children[i]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Docs are here: http://phpdave.com/MyBBIntegrator/Coding_Help#function_getUser | |
define('IN_MYBB', NULL); | |
require_once './forum/global.php'; // Or other path to MyBB global.php. | |
require_once './class.MyBBIntegrator.php'; // Or other relevant path. | |
$MyBBI = new MyBBIntegrator($mybb, $db, $cache, $plugins, $lang, $config)l | |
$user = false; | |
// getUser(0) gets curent user, any other number gets data about the user with that particular record ID | |
if($MyBBI->isLoggedIn()) $user = $MyBBI->getUser(0); | |
echo '<br>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linelimit = 10 | |
charArr = [] | |
for x in [1..linelimit] | |
z = "" | |
for y in [1..x] | |
z+="*" | |
charArr.push z | |
console.log " *" | |
for i in charArr | |
buf1 = i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in [1..100] by 2 then console.log i+1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# edit all changeable information: background images for those that will change often, titles, descriptions, players of the month | |
# How backgrounds could be organised | |
backgrounds: | |
- "http://i.imgur.com/aw58hKo.gif" | |
- "http://i.imgur.com/aw58hKo.gif" | |
- "http://i.imgur.com/bQUNrEY.jpg" | |
# Sections on the home page | |
sections: | |
- title: "JC2MP - RLS" | |
description: "Join RLS today" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
A text box, or other control, can be used to enter the temperature of the room. | |
Below 16 degrees should result in a message, or a label, saying it is too cold to work. | |
### | |
temp = prompt "Temp?" | |
if temp < 16 then alert "Too cold" else alert "All good" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- Custom Variables --> | |
<meta name="image:Logo" content=""/> | |
<meta name="text:Colophon" content="© Isaac Reid-Guest"/> | |
<meta name="color:Background" content="#fff"/> | |
<meta name="color:Text" content="#444"/> | |
<meta name="color:Link" content="#09b"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
Theme: Ashley v0.6 | |
Author: Jxnblk [http://jxnblk.com] | |
For: Tumblr [http://tumblr.com/] | |
Terms: Protected under Creative Commons. [http://creativecommons.org/licenses/by-nc/3.0/] | |
--> | |
<html lang="en"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SubscribeItem(); |
NewerOlder