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.


@clintwine
clintwine / default.md
Created June 22, 2025 07:35 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.