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
#frame { | |
top: 0rem; | |
left: 0rem; | |
right: 0rem; | |
bottom: 0rem; | |
margin: auto; | |
position: fixed; | |
overflow: hidden; | |
} |
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
import java.net.URLConnection; | |
import java.net.URL; | |
import java.net.MalformedURLException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.BufferedReader; | |
public class HTTPtest | |
{ |
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
var makeRoboBakers = function(amount) | |
{ | |
var robobake = function() | |
{ | |
$("#bigCookie").click(); | |
} | |
.bind(this) | |
for(var i = 0; i < amount; 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
var fs = require("fs"); | |
var jsdom = require("jsdom"); | |
fs.readFile("home.html", function(errors, data) { | |
if(errors) {console.log(errors);} | |
data = data.toString(); | |
jsdom.env(data, function (errors, window) { | |
if(errors) {console.log(errors);} | |
var $ = require("jquery")(window); | |
$(":empty").text("{% %f %}"); |
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
var mailer = require("nodemailer"); | |
var scheduler = require("node-schedule"); | |
scheduler.scheduleJob({hour: 0, minute: 0}, function() //runs this function every morning at midnight. | |
{ | |
var transport = mailer.createTransport("SMTP", {service: "gmail", auth: require("./gmail.auth.js")}); | |
var settings = { | |
from: "[email protected]", | |
to: "[email protected]", |
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
public class Insortion | |
{ | |
public static void main(String[] args) | |
{ | |
char[] array = {'a', 'c', 'b', 'e', 'd'}; | |
insertionSort(array); | |
for(int i = 0; i < array.length; i++) {System.out.print(array[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
var kbdin = | |
{ | |
downbinded: new Object(), | |
upbinded: new Object(), | |
stroked: new Object(), | |
downbindKeystroke: function(keyCode, functionality) | |
{ | |
this.downbinded[keyCode] = functionality; | |
}, |
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
class Square | |
{ | |
private: | |
const int size; | |
int* grid; | |
public: | |
Square() : size(4) {grid = new int[size * size];} | |
Square(int size) : size(size) {grid = new int[size * size];} | |
void setNode(int value, int x, int y) {grid[y * size + x] = value;} |
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 hmtl> | |
<html> | |
<head> | |
<style> | |
body | |
{ | |
margin:0px; | |
} | |
#partition |
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
public class MergeSort | |
{ | |
public static void main(String[] args) | |
{ | |
int[] array = {57, 36, 13, 5, 24, 42, 68, 79}; | |
array = sort(array); | |
for(int num = 0; num < array.length; num++) | |
{ |