Skip to content

Instantly share code, notes, and snippets.

View influx6's full-sized avatar
🎯
Focusing

Ewetumo Alexander influx6

🎯
Focusing
View GitHub Profile
@influx6
influx6 / FlutterEmbedderGLFW.cc
Created January 27, 2018 16:49 — forked from chinmaygarde/FlutterEmbedderGLFW.cc
Flutter Embedder API Example (GLFW with OpenGL)
#include <assert.h>
#include <chrono>
#include <embedder.h>
#include <glfw3.h>
#include <iostream>
static_assert(FLUTTER_ENGINE_VERSION == 1, "");
static const size_t kInitialWindowWidth = 800;
@influx6
influx6 / hapi.voxa
Last active May 9, 2018 11:02
Voxa Message Format
# voxa spec is a indent based message protocol mapper that transforms
# type specs into json hash tables with relationships. This then allows
# different generators to take that spec to be used for code generation
# in various languages.
package("waxmodels")
version("1.0")
import("models/wax.voxa")
enum Messages {
* Downloaded or downloading
=============================
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html
package auth
import (
"context"
"net/http"
"strings"
"google.golang.org/grpc/metadata"
"github.com/andela/micro-api-gateway/pb/authorization"
@influx6
influx6 / uuid.js
Created June 28, 2018 15:33 — forked from jcxplorer/uuid.js
UUID v4 generator in JavaScript (RFC4122 compliant)
function uuid() {
var uuid = "", i, random;
for (i = 0; i < 32; i++) {
random = Math.random() * 16 | 0;
if (i == 8 || i == 12 || i == 16 || i == 20) {
uuid += "-"
}
uuid += (i == 12 ? 4 : (i == 16 ? (random & 3 | 8) : random)).toString(16);
}
@influx6
influx6 / inlineworker.js
Created June 28, 2018 22:31 — forked from SunboX/inlineworker.js
Create web workers without a separate worker JS files. Source: http://jsbin.com/owogib/8/
function worker() {
setInterval(function() {
postMessage({foo: "bar"});
}, 1000);
}
var code = worker.toString();
code = code.substring(code.indexOf("{")+1, code.lastIndexOf("}"));
var blob = new Blob([code], {type: "application/javascript"});
@influx6
influx6 / DataBind.md
Last active July 2, 2018 18:28
Redux Notes

SlugUI DataBind is the means through which data can be passed through from any root surface to lower components written by user or by library. DataBind will provide different approaches for data provision which includes Redux, Static and more that may be added later.

Redux The idea is to take the approach of Redux, simplify and keep essentials which then can be used like in React to provide a single flow of existing data from higher components to lower components without loosing swift efficient updating and change propagation.

Redux in javascript land has 3 very simple concepts has explained below:

  • Reducers which I like to call Data Source Reducers (I feel this is better, but because Reducers can also do some work or filtering just like in MapReduce you can understand why Redux uses Reducers), the idea of reducer is that they can the means through which properties declared in the React props will get their value from, such that the reducers can return either a static data or ever changing data values whi
@influx6
influx6 / PowerShell Customization.md
Created July 25, 2018 16:00 — forked from jchandra74/PowerShell Customization.md
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

self.WASM_BINARY_INLINE = [0, 97, 115, 109, 1, 0, 0, 0, 1, 51, 9, 96, 3, 127, 127, 127, 0, 96, 1, 127, 0, 96, 0, 1, 127, 96, 2, 127, 127, 1, 127, 96, 3, 127, 127, 127, 1, 127, 96, 1, 127, 1, 127, 96, 2, 127, 127, 0, 96, 4, 127, 127, 127, 127, 0, 96, 3, 127, 127, 126, 0, 2, 136, 2, 14, 3, 101, 110, 118, 6, 109, 101, 109, 111, 114, 121, 2, 1, 128, 2, 128, 2, 3, 101, 110, 118, 5, 116, 97, 98, 108, 101, 1, 112, 1, 8, 8, 3, 101, 110, 118, 9, 116, 97, 98, 108, 101, 66, 97, 115, 101, 3, 127, 0, 3, 101, 110, 118, 14, 68, 89, 78, 65, 77, 73, 67, 84, 79, 80, 95, 80, 84, 82, 3, 127, 0, 3, 101, 110, 118, 8, 83, 84, 65, 67, 75, 84, 79, 80, 3, 127, 0, 3, 101, 110, 118, 5, 97, 98, 111, 114, 116, 0, 1, 3, 101, 110, 118, 13, 101, 110, 108, 97, 114, 103, 101, 77, 101, 109, 111, 114, 121, 0, 2, 3, 101, 110, 118, 14, 103, 101, 116, 84, 111, 116, 97, 108, 77, 101, 109, 111, 114, 121, 0, 2, 3, 101, 110, 118, 23, 97, 98, 111, 114, 116, 79, 110, 67, 97, 110, 110, 111, 116, 71, 114, 111, 119, 77, 101, 109, 111, 114, 121, 0, 2, 3, 101
var _0x3f69=['B8OiFcK1wp7Cv1jCpTHCnsKkIsKJZMO1dCRwHcOH','w6gDw4Zy','TsOew7Nra8KSw73CnUbDu8KrwprCsA==','SMK+w7XDkizCnw==','wqnChG0vwpvCu8KecCbCs37DjMO7w6xI','wplkw7Q=','AMKfw5/CvMOiworDtELCu8OAwoU=','HAnCjGPCrsOFJQ==','eWB4wrg0bcKSwoog','wpbCvsOdwpRd','wrHCjnI=','wpINw75pwpVMwq/CgsOAwpJnWhzDkzHDjWc+YwHDusKdKMK/K8O1Aw==','w6wJw4A=','WFV5','w6UXwpbDuShVK8KWLsOow4EGwrLCvg==','wqspYw==','wr/DgsK7a8OnHsK6bgvDp1NdTMO2KMKI','wo7DgsK9Q8OiFMK6eizDqlZnSMO2esONSw==','JsKBXA==','w5XDq1AbMsKuXsOr','wq/CjmA1w5A=','woZ5w7A=','wpBFCX8lw6fDt2Elwo4=','asKmFMO7','EWXDoGIHTw==','CMKOw47CvcOCwovDoE7Cv8OW','XVTCtcOnwq95','DMOoBg==','w6nDvcOpaz4=','G1rDgA==','w6A4wpdOw6JSTg==','SG9lwrcg','DxhzWMOKwpk+','NS4DEiME','wopDJFPDtw==','wrnCiHs6w4fCpcKGZSjCqXM=','wo3DgsK7bQ==','b8KDw7QXwqpVw4oaUsOXw5Y=','w6XDt8KVTgrCvcODwoRcwoxjwrVqwoQiw5PCmMKewrVgw47CrVZdbnTDncOiwpfDqzpUBTTCl8OAwrjCh2tiw5PDpMORHsOc','wr7CtBNbw6XCiXhRMjHDmg==','w67DvkwD','WMKvw77DiyjChGfDm2DDjMKzQMOU','DcKFw4w=','GmjCh8O8GQrDisKNIMOswpo3wojDsMOj','wqESesKvFMO8IcOUwoHCn0fDuH