$ cd Foo
$ touch README.md
$ git init
$ git add .
$ git commit -m "Initial commit"
Link your repo between local & remote, then push to remote:
$ git remote add origin git@github.com:<your_username>/Foo.git $ git push -u origin master
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Test</title> | |
| <style media="screen"> | |
| #container { | |
| width: 100%; | |
| height: 100%; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Test 1 - shapes</title> | |
| <!-- this was copy pasted from here: --> | |
| <!-- https://github.com/legomushroom/mojs/blob/master/build/mo.js --> | |
| <script type="text/javascript" src="mo2.js"> | |
| </script> |
| video = document.createElement( 'video' ); | |
| video.height = 172; | |
| video.width = 308; | |
| video.src = "../asset_src/closer.mp4"; | |
| video.load(); // must call after setting/changing source | |
| video.play(); |
| function popUp() { | |
| var TifforMir = Math.round(Math.random()); | |
| var widthThing = (Math.random() * 250) + 30; | |
| var heightThing = (Math.random() * 250) + 30; | |
| var bgURLS = ["url(http://evejweinberg.github.io/samples/ArrowDownwardPurpleGreen.gif)", "url(http://evejweinberg.github.io/samples/txt_blgrid.jpg)", "url(http://evejweinberg.github.io/samples/txt_pnkscrb.jpg)", "url(http://evejweinberg.github.io/samples/ArrowDownwardPink.gif)"] | |
| var bgRandom = Math.floor(Math.random() * bgURLS.length + 0); | |
| // "background-image": bgURLS[bgRandom] } | |
| myWindow = window.open("http://evejweinberg.com", "myWindow", "width=" + widthThing + ", " + "height=" + heightThing + "," + "left=" + widthThing); | |
| console.log(TifforMir); | |
| if (newsentence.length<130) |
| ////server side ///// | |
| ///////////////////// | |
| ////this is the route in the ajax callback ///////// | |
| router.post('/submitProfile', upload.single('file'), function(req,res){ | |
| var buf = new Buffer(req.body.data, 'base64'); |
| //make sure you have a hel.json font to reference | |
| function loadfont() { | |
| var loader = new THREE.FontLoader(); | |
| //font json file loaded in header | |
| loader.load('hel.json', function(font) { | |
| var textGeo = new THREE.TextGeometry("whatever you want to say", { | |
| font: font, |
| var loader2 = new THREE.TextureLoader(loadingManager); | |
| loader2.load('img/Floor.jpg', onTextureLoaded2); | |
| function onTextureLoaded2(texture) { | |
| var geometry = new THREE.PlaneGeometry(512, 512); | |
| var material = new THREE.MeshPhongMaterial({ | |
| roughness: .64, |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>learningthree.js boiler plate for three.js</title> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
| <script src="vendor/three.js/Three.js"></script> | |
| <script src="vendor/three.js/Detector.js"></script> |
| { | |
| "glyphs": { | |
| "ο": { | |
| "x_min": 30, | |
| "x_max": 741, | |
| "ha": 774, | |
| "o": "m 395 683 q 645 587 550 683 q 741 337 741 492 q 646 79 741 173 q 385 -15 552 -15 q 127 78 225 -15 q 30 333 30 172 q 129 590 30 498 q 395 683 228 683 m 269 174 q 305 85 275 119 q 386 52 335 52 q 464 85 436 52 q 503 172 491 119 q 510 237 506 194 q 515 336 515 279 q 510 431 515 391 q 503 494 506 472 q 464 581 491 548 q 385 615 436 615 q 291 563 315 615 q 261 459 267 512 q 256 333 256 407 q 269 174 256 248 " | |
| }, | |
| "S": { | |
| "x_min": 55, |
$ cd Foo
$ touch README.md
$ git init
$ git add .
$ git commit -m "Initial commit"
Link your repo between local & remote, then push to remote:
$ git remote add origin git@github.com:<your_username>/Foo.git $ git push -u origin master