Skip to content

Instantly share code, notes, and snippets.

View crazyyy's full-sized avatar

Vitalii Antoniuk crazyyy

View GitHub Profile
@crazyyy
crazyyy / GoogleMapsApi.js
Created March 3, 2020 13:11
#js || A simple class for loading the Google Maps Javascript API in browser async using ES6 and Promise
/**
* Use this class to ensure Google Maps API javascript is loaded before running any google map specific code.
*/
export class GoogleMapsApi {
/**
* Constructor set up config.
*/
constructor() {
// api key for google maps
@crazyyy
crazyyy / gist_markdown_examples.md
Created February 22, 2020 00:14 — forked from ww9/gist_markdown_examples.md
#md || Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these:
@crazyyy
crazyyy / imacros-cheatsheet.js
Last active January 5, 2019 18:17 — forked from LeCoupa/imacros-cheatsheet.js
#imacros || iMacros CheatSheet.
// More: http://journal.gentlenode.com/imacro-1-ultimate-cheatsheet/
// iMacro CheatSheet - Command Reference
// http://wiki.imacros.net/Command_Reference
// iMacros supports 3 types of variables:
// * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro.
// * Built-in variables. They contain certain values set by iMacros.
// * User-defined variables. They are defined in-macro using the SET command.