Skip to content

Instantly share code, notes, and snippets.

View clintwine's full-sized avatar

Ago Ugo clintwine

View GitHub Profile
@clintwine
clintwine / README.md
Created May 29, 2017 11:05 — forked from addyosmani/README.md
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@clintwine
clintwine / es6.js
Created October 31, 2017 09:26 — forked from anonymous/es6.js
es6 created by clinttwine - https://repl.it/NXGr/7
//spread operator -- takes an entry and spreads it
let a = [30, 40, 50]
let b = [10, 20, ...a, 60, 70]; //[ 10, 20, 30, 40, 50, 60, 70 ]
let m = { a: 1, b: 2, c: 3}
let n = { d: 1, e: 2, f: 3}
let c = {...m, ...n} // { a: 1, b: 2, c: 3, d: 1, e: 2, f: 3 }
//Rest Operator
//*****************************************************
@clintwine
clintwine / ajax.js
Created November 16, 2017 21:35 — forked from xeoncross/ajax.js
Simple, cross-browser Javascript POST/GET xhr request object. Supports request data and proper AJAX headers.
/**
* IE 5.5+, Firefox, Opera, Chrome, Safari XHR object
*
* @param string url
* @param object callback
* @param mixed data
* @param null x
*/
function ajax(url, callback, data, x) {
try {
/**
* building a webpack 1.0 config file
* this uses the common.js syntax
*
* Loaders enable webpack to process more than just JavaScript files (webpack itself only understands JavaScript).
* They give you the ability to leverage webpack's bundling capabilities for all kinds of files by converting them to valid modules that webpack can process.
*
* webpack loaders transform all types of files into modules that can be included in your application's dependency graph
*
* */
@clintwine
clintwine / README.md
Created June 21, 2019 07:54 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.