This file contains 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> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="author" content="Anonymous"/> | |
<meta name="keywords" content="javascript canvas resizeable plane game 1948"/> | |
<meta name="description" content="just another javascript canvas game"/> | |
<title>The Plane Game</title> | |
<style> |
This file contains 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 a = document.getElementById("a"); | |
var b = a.getContext("2d"); | |
//settings | |
var m = 20; // resolution multiplier, 50 = 800x450, 80 = 1280x720, 120 = 1920x1080 | |
var BULLET_RATE = 8; | |
var FRAME_RATE = 30; | |
//var PLAYER_SPEED = 100; | |
var BULLET_SPEED = 392; |
This file contains 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
C:\Users\Admin\Documents\JSProjects>node dox.js | |
d:: | |
''d$: :h | |
d$ :$h' | |
....... d$..$h' | |
..cc$$$$$$$$$c. ...c$$$$$$$$$h | |
.d$$' '$$$h. cc$$$$:::::d$!$h | |
c$$' '$$c .$$$$:::()::d$!$h' | |
.c$$' $$h. .d$$::::::::d$!!$h | |
.$$h' $$$. $$$::::::::$$!!$h' |
This file contains 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 readline = require('readline'); | |
var colors = require('colors'); | |
var rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
var fs = require('fs'); | |
rl.setPrompt('>> '); | |
var path = "C:\\Users\\Admin\\Documents";//*/process.cwd(); |
This file contains 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
/** | |
*Requires CodeMirror | |
*Seperate files | |
* probably have to fix links in html | |
* javascript/php post not working | |
* PM/pm.js, PM/pm.html, PM/pm.css, PM/data.php | |
* | |
**/ | |
This file contains 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
(function(){ | |
var qs=document.getElementsByClassName("viewQuestion"); | |
for (var q in qs){ | |
var code=qs[q].children[1].innerText.replace(/(Find the output(\:|))/im,"").trim(); | |
console.log(code); | |
eval(code.replace(/(System\.out\.println)/gim,"console.log").replace(/(int)/gim,"var")); | |
}})() | |
(function(){ | |
var qs=document.getElementsByClassName("text"); |
This file contains 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
groups: | |
Guest: | |
default: true | |
prefix: '&7[Guest]&7 ' | |
suffix: '&f' | |
options: | |
rank: '900' | |
permissions: | |
- modifyworld.chat | |
- modifyworld.login |
This file contains 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
//Update test | |
//https://gist.githubusercontent.com/Announcement/9149300/raw/ef34fd69f58ff2aa2f531a59b7241f2642cbade1/update.js |
This file contains 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" id="facebook" class="no_js"> | |
<head><meta charset="utf-8" /><script>function envFlush(a){function b(c){for(var d in a)c[d]=a[d];}if(window.requireLazy){window.requireLazy(['Env'],b);}else{Env=window.Env||{};b(Env);}}envFlush({"ajaxpipe_token":"AXgFehg1m_-ATOdA","lhsh":"qAQH8zbqK"});</script><script>CavalryLogger=false;</script><noscript><meta http-equiv="refresh" content="0; URL=/?_fb_noscript=1" /></noscript><meta name="robots" content="noodp, noydir" /><meta name="referrer" content="default" id="meta_referrer" /><meta name="description" content="Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, upload an unlimited number of photos, post links and videos, and learn more about the people they meet." /><link rel="alternate" media="handheld" href="https://www.facebook.com/" /><title id="pageTitle">Welcome to Facebook - Log In, Sign Up or Learn More</title><meta property="og: |
This file contains 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.*; | |
import java.io.*; | |
public class Client { | |
public static void main(String[] args) throws IOException { | |
while(true) | |
{ | |
String sentence; | |
String modifiedSentence; | |
BufferedReader inFromUser = new BufferedReader( new InputStreamReader(System.in)); | |
Socket clientSocket = new Socket("localhost", 6789); |
OlderNewer