Skip to content

Instantly share code, notes, and snippets.

Avatar
:atom:
Working from home

Caleb Meyer calebmeyer

:atom:
Working from home
View GitHub Profile
@calebmeyer
calebmeyer / LICENSE.txt
Last active Oct 3, 2018
Converter Script for sonic-pi
View LICENSE.txt
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
View PowerShell.log
> apm publish minor
Preparing and tagging a new version done
Pushing v0.2.0 tag failed
fatal: HttpRequestException encountered.
An error occurred while sending the request.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
> git push
@calebmeyer
calebmeyer / .hyper.js
Created Mar 22, 2018
hyperterm config
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
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 ->
@calebmeyer
calebmeyer / crucible.css
Last active Mar 3, 2017
Dark crucible style
View crucible.css
/*
* Mostly stolen from https://userstyles.org/styles/107782/dark-crucible
* Modified by caleb.meyer@cerner.com
* Enjoy.
*/
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp('.*crucible.*') {
div.fineprint {
@calebmeyer
calebmeyer / *Messages*
Created Apr 15, 2016
Clojure jack in errors
View *Messages*
[yas] Loading for `clojure-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /Users/cm022291/.emacs.d/elpa/clojure-snippets-20160305.602/snippets/clojure-mode) (quote clojure-mode)))!
[yas] Loading snippet files from /Users/cm022291/.emacs.d/elpa/clojure-snippets-20160305.602/snippets/clojure-mode
[yas] Loading for `clojure-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /Users/cm022291/.emacs.d/elpa/yasnippet-20160410.833/snippets/clojure-mode) (quote clojure-mode)))!
[yas] Loading snippet files from /Users/cm022291/.emacs.d/elpa/yasnippet-20160410.833/snippets/clojure-mode
File mode specification error: (void-function cider-turn-on-eldoc-mode)
Making nrepl-create-client-buffer-function local to *nrepl-server test* while let-bound!
Making nrepl-use-this-as-repl-buffer local to *nrepl-server test* while let-bound!
Starting nREPL server via lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.12\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.3.0-SNAPSHOT\"\] -- u
@calebmeyer
calebmeyer / gist:7d0906045ab882be4b2c
Last active Aug 29, 2015
Java read a file. In one line.
View gist:7d0906045ab882be4b2c
String fileContent = new Scanner(new File("path/to/file.txt")).useDelimiter("\\A").next();