We will tackle this process in 10 steps listed below.
I didn't want to repeat some sections well explained in the UEFI Process. You can refer there and follow due process.
Namely;
- Connecting to WiFi.
We will tackle this process in 10 steps listed below.
I didn't want to repeat some sections well explained in the UEFI Process. You can refer there and follow due process.
Namely;
/* | |
* Tiny tokenizer | |
* | |
* - Accepts a subject string and an object of regular expressions for parsing | |
* - Returns an array of token objects | |
* | |
* tokenize('this is text.', { word:/\w+/, whitespace:/\s+/, punctuation:/[^\w\s]/ }, 'invalid'); | |
* result => [{ token="this", type="word" },{ token=" ", type="whitespace" }, Object { token="is", type="word" }, ... ] | |
* | |
*/ |
#!/usr/bin/env node | |
var assert = require('assert'); | |
// Each lexed token is a array of three integers: | |
// 1. the "token type": an index into the list of token patterns. | |
// 2. the index into the input string marking the start of this token. | |
// 3. the length of the token. | |
// The list of "token types" which our lexer understands: |
function magicMethods (clazz) { | |
// A toggle switch for the __isset method | |
// Needed to control "prop in instance" inside of getters | |
let issetEnabled = true | |
const classHandler = Object.create(null) | |
// Trap for class instantiation | |
classHandler.construct = (target, args) => { | |
// Wrapped class instance |
/* | |
A full list of simple easing equations inspired by GIST from greweb - https://gist.github.com/gre/1650294 | |
Equations source - http://gsgd.co.uk/sandbox/jquery/easing/ | |
*/ | |
{ | |
linear: function(t) { | |
return t | |
}, | |
inQuad: function(t) { |
foobar, foo, bar, baz, qux, quux, corge, grault, garply, waldo, fred, plugh, xyzzy, thud
// see blog post: http://www.hiddentao.com/archives/2013/07/08/generate-overridable-getters-and-setters-in-javascript/ | |
Function.prototype.generateProperty = function(name, options) { | |
// internal member variable name | |
var privateName = '__' + name; | |
options = options || {}; | |
options.get = ('undefined' === typeof options.get ? true : options.get ); | |
options.set = ('undefined' === typeof options.set ? true : options.set ); | |
// pre-initialise the internal variable? |
function setVisibleTimeout(callback, delay) { | |
var id = null, | |
t = 0, | |
prefix = ''; | |
'o webkit moz ms'.replace(/\S+/g, function(p) { | |
if ((p + 'Hidden') in document) { | |
prefix = p; | |
} | |
}); | |
function onVisibilityChange(event) { |