Skip to content

Instantly share code, notes, and snippets.

View shankarnakai's full-sized avatar
🤓
System programming, Rust, low latency, Databases

Shankar Nakai Gonçalves dos Santos shankarnakai

🤓
System programming, Rust, low latency, Databases
View GitHub Profile
window.onload = function {
firstStepForm();
secondStepForm();
}
function firstStepForm() {
const form = document.getElementById('forms');
const pristineFirst = new Pristine(form);
@shankarnakai
shankarnakai / NodeJs Post
Last active February 2, 2019 02:51
NodeJs Post multipart/form-data
//#Request Library
//##EXAMPLE
const request = require('request')
const formData = {
fileUploaded: {
value: fileContent,//it should contain your pdf binary data
options: {
filename: 'FILE_NAME.pdf',
filepath: 'FILE_NAME.pdf',
contentType: 'application/pdf',
@shankarnakai
shankarnakai / FIND
Last active September 17, 2017 22:47
NETFLIX
(function() {
var input = document.createElement("textarea");
var button = document.createElement("button");
input.id = "tmp_titles";
input.name = "content";
input.maxLength = "5000000";
input.setAttribute("style", "color:#333");
input.cols = "80";
input.rows = "40";
https://br.udacity.com/course/programming-languages--cs262/
https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html
https://beakerbrowser.com/
https://hyper.is/
https://blog.jscrambler.com/building-a-web-browser-using-electron/
http://mashable.com/2010/10/21/mozilla-chromeless/#qBIDHcyePOqh
@shankarnakai
shankarnakai / Go test com cores(GRC)
Last active December 13, 2016 12:01
Go teste com cores
grc.conf
# Go
\bgo.* test\b
conf.gotest
conf.gotest
# this is probably a pathname
regexp=[^\s]+\.go(:\d+)?
colours=yellow bold
@shankarnakai
shankarnakai / 0_reuse_code.js
Created January 8, 2016 17:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console