I hereby claim:
- I am jlindsey on github.
- I am jlindsey (https://keybase.io/jlindsey) on keybase.
- I have a public key ASClDJLngSMHfy73PXZspjh8yzG9exF9Mpme83twGk9ARQo
To claim this, I am signing this object:
Debugger entered--Lisp error: (quit) | |
window-end(#<window 3 on *Backtrace*> t) | |
#f(compiled-function (win) "Update line numbers for the portion visible in window WIN." #<bytecode>)(#<window 3 on *Backtrace*>) | |
apply(#f(compiled-function (win) "Update line numbers for the portion visible in window WIN." #<bytecode>) #<window 3 on *Backtrace*>) | |
linum-update-window(#<window 3 on *Backtrace*>) | |
mapc(linum-update-window (#<window 3 on *Backtrace*>)) | |
linum-update(#<buffer rpc.go>) | |
linum-after-scroll(#<window 3 on *Backtrace*> 1) | |
redisplay_internal\ \(C\ function\)() | |
read-from-minibuffer("M-x " nil (keymap (tab . helm-execute-persistent-action) (33554440 . describe-key) (33554443 . helm-follow-action-backward) (33554442 . helm-follow-action-forward) (17 . ace-jump-helm-line) (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action |
(defn get-report-id-from-name | |
"Fetches the ID of the named Qualys report" | |
[report-name] | |
(log/debug "Getting report ID:" report-name) | |
(let [resp (client/get (str (join qualys-base-uri "/api/2.0/fo/report")) | |
{:query-params {:action "list"} | |
:headers {:X-Requested-With "clojure"} | |
:basic-auth qualys-auth})] | |
(assert-good-response resp) | |
(let [body (str (:body resp)) |
I hereby claim:
To claim this, I am signing this object:
# Eriner's Theme - fork of agnoster | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# font with powerline symbols. A simple way to add the powerline | |
# symbols is to follow the instructions here: | |
# https://simplyian.com/2014/03/28/using-powerline-symbols-with-your-current-font/ | |
# |
class Foo; end | |
Foo.define_singleton_method :"hello world", ->{ puts "Hello, world!" } | |
Foo.__send__ :"hello world" | |
# => Hello, world! |
/* | |
The main Math class | |
Contains all methods for performing basic math functions | |
*/ | |
/// <summary> | |
/// The main <c>Math</c> class. | |
/// Contains all methods for performing basic math functions. | |
/// </summary> | |
public class Math | |
{ |
[4] pry(main)> Fixnum.ancestors | |
=> [Fixnum, Integer, Numeric, Comparable, Object, PP::ObjectMixin, Kernel, BasicObject] | |
[5] pry(main)> Bignum.ancestors | |
=> [Bignum, Integer, Numeric, Comparable, Object, PP::ObjectMixin, Kernel, BasicObject] |
func (db *DB) loadEvent(ctx context.Context, id int) (event, error) { | |
timeoutCtx, cancel := context.WithTimeout(ctx, 2*time.Second) | |
defer cancel() | |
logger := timeoutCtx.Value("logger").(ILogger) | |
outChan := make(chan event) | |
errChan := make(chan error) | |
go func() { |
func withTestServer(handler http.HandlerFunc, f func(*httptest.Server)) { | |
server := httptest.NewServer(handler) | |
defer server.Close() | |
f(server) | |
} | |
func TestSomething(t *testing.T) { | |
hf := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintln(w, r.URL.Path) | |
}) |
;; Put in dotspacemacs/user-config | |
(defun my/use-eslint-from-node-modules () | |
(let* ((root (locate-dominating-file | |
(or (buffer-file-name) default-directory) | |
(lambda (dir) (file-executable-p | |
(expand-file-name "node_modules/.bin/eslint" | |
dir))))) | |
(eslint (and root | |
(expand-file-name "node_modules/.bin/eslint" | |
root)))) |