Skip to content

Instantly share code, notes, and snippets.

Michael Herold mherodev

  • Los Angeles, CA
Block or report user

Report or block mherodev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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 Nov 11, 2019
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2019-11-11T23:27:42.741Z","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.