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
#answer-from-ask { | |
background-color: #4d4d4d; | |
color: #303030; | |
} | |
#email { | |
background-color: #4a4a4a; | |
border-color: #d9d9d9; | |
border-style: solid; | |
border-width: 1px; |
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.util.LinkedHashMap; | |
import java.util.Map; | |
public class HeaderGenerator { | |
private Map<String, String> map = new LinkedHashMap<String, String>(); | |
private String separator = ": "; | |
private int indentation_size = 4; | |
private char indentation_char = ' '; | |
private int padding_size = 1; | |
private char border_char = '/'; |
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 javax.swing.JOptionPane; | |
public class Reader { | |
public Reader() { | |
String text = JOptionPane.showInputDialog("Please enter a few sentences to parse."); | |
int level = (int) read(text); | |
JOptionPane.showMessageDialog(null, "The text is " + (int) Math.ceil(level) + (level == 1 ? "st" : (level == 2 ? "nd" : (level == 3 ? "rd" : "th"))) + " grader level."); | |
} |
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
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7.9="<4>&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;6\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;\\/&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;\\\\\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;5&0;&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;|&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;|&0;&0;8:\\\\>&0;3&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;&0;|&0;&0;&0;&0;|\\2\\1&0;&0;&0;&0;&0;&0;&0; |
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
<script> | |
var numb = 30; // The number of projects to create | |
var warn = true; // Warn user about what's about to happen? | |
if(warn) { | |
var resp = prompt("Are you sure you want to create " + numb + " untitled projects? Type (y/n)"); | |
if(resp == "y" || resp == "yes" || resp == "Y" || resp == "yep" || resp == "yeah") { | |
for(var i = 0; i < numb; i++) { | |
document.write("<div qjid=\"quickjack\" style=\"overflow: hidden; width: 1px; height: 2px; position: relative;\" id=\"cksl6\">\r\n<div class=\"ol\" style=\"position: absolute; width:1px; height: 2px; z-index:90; overflow: auto;\"><\/div><iframe name=\"cksl7\" src=\"http:\/\/scratch.mit.edu\/create\" style=\"border: 0pt none ; left: -724px; top: -32px; position: absolute; width: 1921px; height: 1078px;\" scrolling=\"no\"><\/iframe><\/div>"); | |
} |
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
<html> | |
<head><title>User test</title></head> | |
<body style="background-color:lightgrey;"> | |
<h2>Scratch Stuff by Arinerron</h2> | |
<script>var s = confirm("Please click OK if you are signed in to Scratch, Cancel if not; this page doesn't really work if you're not..."); | |
if(s) { | |
} else { | |
document.write("Please this button once you sign in to Scratch! This page uses iframes and won't really work if you're not. (Inspect Element to see the src code).<br>"); | |
document.write("<div style=\"border:1px dashed black; background-color:white;\"><input type=\"button\" name=\"Reload\" text=\"Reload\" id=\"clearCache\" value=\"Reload\" onclick=\"window.location.reload(true);\"></div>"); |
NewerOlder