This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: (error "Marker does not point anywhere") | |
ansi-color-apply-on-region(#<marker in no buffer> #<marker at 14 in mysh>) | |
ansi-color-process-output("") | |
run-hook-with-args(ansi-color-process-output "") | |
comint-send-input() | |
(progn (shell "mysh") (set-buffer "mysh") (insert "ls") (comint-send-input)) | |
eval((progn (shell "mysh") (set-buffer "mysh") (insert "ls") (comint-send-input))) | |
eval-last-sexp-1(nil) | |
eval-last-sexp(nil) | |
call-interactively(eval-last-sexp nil nil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun insert-literate-funnes (ch) | |
(interactive) | |
(goto-char (point-min)) | |
(insert ">") | |
(while (< (forward-line 1) 1) | |
(insert ">"))) | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`which ruby` | |
#see |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This buffer is for notes you don't want to save, and for Lisp evaluation. | |
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
(progn | |
(let* ((artists '( "Enterprise Baroque Ensemble" | |
"Engineering Flute Quartet" | |
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path('./interactions.rb', File.dirname(__FILE__)) | |
module Interactions | |
class EventList < Interaction | |
def event_on_page? artist, venue, date=nil | |
event_on_page_all? [artist, venue, date].reject | |
end | |
def event_on_page_all? all_content | |
with_cuke do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun write-file-no-msg (filename) | |
"write current buffer without causing a message to whatever" | |
(let ((write-proc (start-process-shell-command "silent-write-file" "*silent-write-file*" | |
(format "cat > %s" filename)))) | |
(process-send-string write-proc (buffer-string)) | |
(process-send-eof write-proc))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/Applications/Emacs.app/Contents/MacOS/Emacs --debug-init "$@" | |
;; in my bin home directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ruby $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-3.2$ irb | |
irb | |
1.9.3-p327-falcon :001 > def lol(x=exit); puts hi; end | |
def lol(x=exit); puts hi; end | |
=> nil | |
1.9.3-p327-falcon :002 > def lol(x=exit); puts "hi"; end | |
def lol(x=exit); puts "hi"; end | |
=> nil | |
1.9.3-p327-falcon :003 > lol 10 | |
lol 10 |