Skip to content

Instantly share code, notes, and snippets.

View cgatno's full-sized avatar

Christian Gaetano cgatno

View GitHub Profile
@cgatno
cgatno / init.coffee
Last active January 16, 2018 04:38
🔁 🖥 current Atom settings and packages, courtesy of http://atom.io/packages/sync-settings
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@cgatno
cgatno / google-play-music-export-playlist.js
Created November 1, 2017 23:54
Quickly export a list of songs/artists from a Google Play Music playlist to a format that can be used here: http://www.playlist-converter.net
var playlist = document.querySelectorAll('.song-table tr.song-row');
var myExportSongs = [];
for(var i =0; i<playlist.length ; i++) {
var l = playlist[i];
var title = l.querySelectorAll('td[data-col="title"] .column-content')[0].textContent;
var artist = l.querySelectorAll('td[data-col="artist"] .column-content')[0].textContent;
myExportSongs.push(title + ' - ' + artist);
}
console.log(myExportSongs.join('\r\n'));
@cgatno
cgatno / extensions.json
Last active May 26, 2020 03:29
Favorite VS Code Settings for JavaScript (React) Web Development
[
{
"id": "alefragnani.Bookmarks",
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "11.2.0"
},
{
"id": "amazonwebservices.aws-toolkit-vscode",
"name": "aws-toolkit-vscode",
@cgatno
cgatno / README-gitflow-template.md
Last active May 27, 2022 17:23
A README template mostly intended for web development projects but really suitable for any epic undertaking. This README is suited specifically to my projects which typically use Git Flow for version control and the MIT license. Adapted from https://gist.github.com/PurpleBooth/109311bb0361f32d87a2.

Project Title

One paragraph project description goes here. If more explanation is needed, divide up into smaller chunks and add below.

tl;dr (Getting Started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

(Quick installation and running instructions)