Skip to content

Instantly share code, notes, and snippets.

View anteriovieira's full-sized avatar
๐Ÿ 
Working from home

Antรฉrio Vieira anteriovieira

๐Ÿ 
Working from home
View GitHub Profile
@anteriovieira
anteriovieira / gist:5aba12a3425f2d1737302df1f978e9aa
Created November 27, 2020 20:44 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@anteriovieira
anteriovieira / aegon.js
Created December 2, 2020 18:05
Aegon Script
function AEGON(market, attribute, option, refresh_cell) {
// Sanitize input
var market = (market+"") || "";
var attribute = (attribute+"") || "";
var option = (option+"") || "";
// Get user anonymous token (https://developers.google.com/apps-script/reference/base/session#getTemporaryActiveUserKey())
// Mandatory to authenticate request origin
var GSUUID = encodeURIComponent(Session.getTemporaryActiveUserKey());
@anteriovieira
anteriovieira / format-object.js
Created January 14, 2021 01:05 — forked from Akryum/format-object.js
Format a JS object or array to JavaScript source code string
const KEY_ESCAPE_REG = /[\s-.:|#@$ยฃ*%]/
const MAX_SINGLE_LINE_ARRAY_LENGTH = 3
export function formatObjectToSource (obj) {
return printLines(Array.isArray(obj) ? arrayToSourceLines(obj) : objectToSourceLines(obj))
}
function objectToSourceLines (object, indentCount = 0) {
return createLines(indentCount, lines => {
lines.push('{')
@anteriovieira
anteriovieira / capitalize.js
Created September 21, 2021 12:32 — forked from xiCO2k/capitalize.js
Capitalize Helper
const capitalize = str => str.replace(/^\w|\s\w/g, char => char.toUpperCase());