Skip to content

Instantly share code, notes, and snippets.

View xgqfrms-GitHub's full-sized avatar
🌴
On vacation

anonymous xgqfrms-GitHub

🌴
On vacation
View GitHub Profile
@xgqfrms-GitHub
xgqfrms-GitHub / prism.css
Last active October 14, 2016 16:29
prism.css
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;

great post! but here still some little bugs!

# 1
<del>flightNumber.endsWith(jz)</del>
flightNumber.endsWith(`jz`)

# 2
<del>const accountnumber = '825242631RT0001';</del>

What the hell is going on ?

windows CMD terminal setting for sublime text 3!

{
    "terminal": "C:\\Windows\\System32\\cmd.exe",
    "start": ["/START", "%CWD%"],
    "title": ["/TITLE", "Hacker's Bash"],
    "keys": ["ctrl+shift+t"],
 "command": "open_terminal"
// only for Angular2 dist & firwbase hosting
//
// # SimpleServer
//
// A simple chat server using Socket.IO, Express, and Async.
//
var http = require('http');
var path = require('path');
var async = require('async');

new server with correct path!

# html
 <base href="/">
<script type="text/javascript" src="inline.bundle.js"></script>

# router
# /  > /dist/index.html
cache[0] = fs.readFileSync( __dirname + '/dist/index.html');
var prizes = ['A Unicorn!', 'A Hug!', 'Fresh Laundry!'];
for (var btnNum = 0; btnNum < prizes.length; btnNum++) {
// for each of our buttons, when the user clicks it...
document.getElementById('btn-' + btnNum).onclick = function() {
// tell her what she's won!
alert(prizes[btnNum]);
};
}
// https://www.interviewcake.com/question/python/js-whats-wrong