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
# use the scratch environment | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.ticker as ticker | |
import scipy as sp | |
# create figure and axes | |
fig = plt.figure(figsize=(8,6)) | |
ax = fig.add_subplot(1, 1, 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Author: Paolo Borelli <pborelli@gnome.org> | |
Copyright (C) 2006-2007 Paolo Borelli | |
Author: Zelphir Kaltstahl <zelphirkaltstahl@gmail.com> | |
* further development | |
* corrections in regular expressions | |
* addition of functions and keywords | |
* simplification of keywords with regeular expressions |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright (C) 2009 tm2gtksw2(Alexandre da Silva) | |
Author: Zelphir Kaltstahl (improvements: | |
* added markdown specific styles) | |
Copyright (c) 2016 Zelphir Kaltstahl <zelphirkaltstahl@gmail.com> | |
This file was generated from a textmate theme named Tomorrow Night - Eighties | |
with tm2gtksw2 tool. (Alexandre da Silva) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Author: Jean-Philippe Fleury | |
Copyright (C) 2011 Jean-Philippe Fleury <contact@jpfleury.net> | |
Author: Zelphir Kaltstahl (improvements: | |
* mapping some styles to their own specific style in a gtksourceview style xml | |
* adding math block and inline supprt | |
* removing bias towards space and allowing tabs and changing some amounts to | |
arbitrary amounts |
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
snippet def define procedure | |
define (${1:name} ${2:params}) | |
(${3:code}) | |
snippet define define procedure | |
define (${1:name} ${2:params}) | |
(${3:code}) | |
snippet defn define procedure | |
define (${1:name} ${2:params}) |
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
% BETTER ERROR MESSAGES | |
\errorcontextlines 10000 | |
% DOCUMENT ATTRIBUTES | |
\documentclass[11pt, a4paper, parskip=full, openany, twoside]{book} | |
% 12pt : main font size | |
% a4paper : paper format | |
% parskip=full : ??? | |
% openany : no need for an additional (second) pagebreak after a chapter to move new chapters always to the right page | |
\usepackage[ |
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
" automatically install vim-plug if git is available | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall | source $MYVIMRC | |
endif | |
call plug#begin('~/.vim/plugged') |
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
#lang racket | |
(define (Mb-to-B n) (* n 1024 1024)) | |
(define MAX-BYTES (Mb-to-B 64)) | |
(custodian-limit-memory (current-custodian) MAX-BYTES) | |
(define nil (list)) | |
(define (string-multiplier a-string factor) | |
(cond |
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
From: zelphirkaltstahl@gmail.com | |
To: squeak-dev@lists.squeakfoundation.org | |
Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #binary | |
Tried to install Metacello in order to install Koans. | |
23 February 2017 12:22:55.478149 am | |
VM: unix - Smalltalk | |
Image: Squeak5.1 [latest update: #16549] |
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
;; deactivate version control integration, so that emacs starts up faster | |
(setq vc-handled-backends ()) | |
;(setq-default vc-handled-backends nil) | |
;(eval-after-load "vc" '(remove-hook 'find-file-hooks 'vc-find-file-hook)) | |
;; Installation of el-get | |
(add-to-list 'load-path "~/.emacs.d/el-get/el-get") | |
(unless (require 'el-get nil 'noerror) | |
(with-current-buffer |
OlderNewer