Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Herold mherodev

  • Los Angeles, CA
View GitHub Profile
View test-gist.js
function disableButton(el) {
$(el).prop('disabled', true);
}
function enableButton(el) {
$(el).prop('disabled', false);
}
@mherodev
mherodev / cloudSettings
Last active Jul 28, 2020
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2020-07-28T18:49:02.758Z","extensionVersion":"v3.4.3"}
View atomFindReplaceCrash.json
{"path":"/listservice/v2/list/recent-movies?pageNumber=0&pageCount=50&loggedIn=false&device=pc","headers":{"Authorization":"Bearer guest","accept":"application/json","user-agent":"restify/2.8.5 (x64-darwin; v8/3.14.5.9; OpenSSL/1.0.1s) node/0.10.44","date":"Fri, 10 Jun 2016 20:08:14 GMT"}} response: "{\"title\":\"Recent Movies\",\"template\":\"defaultList\",\"description\":\"The best movies to watch on FandangoNOW.\",\"items\":[{\"title\":\"Zootopia\",\"description\":\"\",\"template\":\"defaultItem\",\"id\":\"MMVEC37E818F952B271D5F511A07684BF20C\",\"detailUrl\":\"https://int.mgo.com/listservice/v2/item/MMVEC37E818F952B271D5F511A07684BF20C/details\",\"slugId\":\"zootopia-2016\",\"contentType\":\"MOVIE\"},{\"title\":\"The Martian (Extended Edition)\",\"description\":\"\",\"template\":\"defaultItem\",\"id\":\"MMV42C6A87556618E9670284A81434433A6D\",\"detailUrl\":\"https://int.mgo.com/listservice/v2/item/MMV42C6A87556618E9670284A81434433A6D/details\",\"slugId\":\"the-martian-extended-edition-2016\",\"contentType\"
View init.coffee
# 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 ->
You can’t perform that action at this time.