- To test knowledge of using sockets (socket.io) and events
- Understanding of callbacks, hooks and function references
None
sudo eopkg it -c system.devel
sudo eopkg install libx11-devel libxtst-devel libxmu-devel
| "use strict" | |
| const glob = require("glob") | |
| const fs = require("fs") | |
| function unwrap(str) { | |
| let arr = str.split(","), | |
| val, | |
| o = {} | |
| while ((val = arr.pop())) { |
| const sanity = require('@sanity/client') | |
| const fs = require('fs') | |
| const EOL = require('os').EOL | |
| const flatMap = require('lodash.flatmap') | |
| const { subDays, isBefore } = require('date-fns') | |
| const sanityExport = require('@sanity/export') | |
| /** | |
| * @param context {WebtaskContext} | |
| */ |
Make sure you installed Ace Stream media 3.1 from http://www.acestream.org/
| <form> | |
| <input type="text" name="cities[]" /> <!-- for arrays and objects. don't enumerate/propertize in markup. yes i just invented propertize --> | |
| </form> |
| webpack: (config, { stage, defaultLoaders }) => { | |
| /* | |
| * TypeScript Support | |
| * */ | |
| // Add .ts and .tsx extension to resolver | |
| config.resolve.extensions.push('.ts', '.tsx') | |
| // Add TypeScript Path Mappings (from tsconfig via webpack.config.js) | |
| // to react-statics alias resolution |
| # usage: killwebpack [port] | |
| # if no port is supplied then default port is 3000 | |
| function killwebpack() { | |
| PORT=3000 | |
| if [ -n "$1" ] | |
| then | |
| PORT=$1 | |
| fi |
| javascript:(function (d) { | |
| function guid() { | |
| function s4() { | |
| return Math.floor((1 + Math.random()) * 0x10000) | |
| .toString(16) | |
| .substring(1); | |
| } | |
| return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); | |
| } |
| class Boundary { | |
| private final Point[] points; // Points making up the boundary | |
| ... | |
| /** | |
| * Return true if the given point is contained inside the boundary. | |
| * See: http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html | |
| * @param test The point to check | |
| * @return true if the point is inside the boundary, false otherwise |