Skip to content

Instantly share code, notes, and snippets.

svn update --depth infinity
export QMAKE=qmake-qt4
export MOC=moc-qt4
export UIC=uic-qt4
export LDFLAGS="$LDFLAGS -lz"
export GUILE_CFLAGS="`pkg-config --static --cflags guile-1.8`"
export GUILE_LDFLAGS="`pkg-config --static --libs guile-1.8`"
export GUILE_DATA_PATH="`pkg-config --variable=datadir guile-1.8`"
@trmwzm
trmwzm / gist:b60eeba546b9aef91283247683f9e170
Created December 27, 2016 22:20 — forked from jteneycke/gist:7947353
How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)

In your shell

sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp

Inside the context of sbcl

@trmwzm
trmwzm / seesaw-repl-tutorial.clj
Created December 27, 2016 22:23 — forked from daveray/seesaw-repl-tutorial.clj
Seesaw REPL Tutorial
; A REPL-based, annotated Seesaw tutorial
; Please visit https://github.com/daveray/seesaw for more info
;
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers
; Seesaw's basic features and philosophy, but only scratches the surface
; of what's available. It only assumes knowledge of Clojure. No Swing or
; Java experience is needed.
;
; This material was first presented in a talk at @CraftsmanGuild in
; Ann Arbor, MI.
@trmwzm
trmwzm / spacemacs-cheatsheet.md
Created January 18, 2017 18:22 — forked from qxcv/spacemacs-cheatsheet.md
Spacemacs cheatsheet

emacs --daemon to run in the background. emacsclient.emacs24 <filename/dirname> to open in terminal

M-m and SPC can be used interchangeably. I've used Ldr (for "leader") as a compromise.

  • Undo - C-/
  • Redo - C-?
  • Change case: 1. Camel Case : M-c 2. Upper Case : M-u
  1. Lower Case : M-l
@trmwzm
trmwzm / spacemacs_hint.md
Created January 18, 2017 18:28 — forked from ivar/spacemacs global search and replace.md
spacemacs - global search and replace

There's a couple of ways, one way is

  • Get search results
    • Do SPC / and type in your search string
    • or SPC x S and search string - where x is your scope indicator (p for project, d for directory, etc..)
  • Once you have the occurences you want, hit C-c C-e inside the helm buffer to put all your match occurences and puts them into a special buffer called the edit buffer or something like that
  • in that buffer you can use any commands you'd normally use on a buffer
  • the C-c C-c to commit your changes.
@trmwzm
trmwzm / spacemacs-cheshe.md
Last active March 3, 2018 20:04 — forked from robphoenix/spacemacs-cheshe.md
Spacemacs Cheat Sheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
@trmwzm
trmwzm / keybase.md
Created August 19, 2019 15:17
keybase.md

Keybase proof

I hereby claim:

  • I am trmwzm on github.
  • I am trmwzm (https://keybase.io/trmwzm) on keybase.
  • I have a public key ASBtxqPYB5ARyqCSbSzI0ehy1WozHfX7kYcMqVvXdRL4two

To claim this, I am signing this object:

@trmwzm
trmwzm / CMakeLists.txt
Last active December 8, 2020 21:25
blt fetch
#------------------------------------------------------------------------------
# BLT Tutorial Example: Calc Pi.
#------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.17)
project( pi_playground )
#------------------------------------------------------------------------------
# Setup BLT
#------------------------------------------------------------------------------
build deps is to download the control file for the new version from a debian package, run:
mk-build-deps newPythonControlFile,
then install the generated package with something like sudo gdebi python3.7-build-deps_1.0_amd64.deb.
Right now, it's the right-most link under "versioned links" here tracker.debian.org/pkg/python3.7 and
named control-3.7.2-1 - though you might need to gently modify it (e.g. change the gcc version).
You could do mk-build-deps python3.5 instead, but it might not get all of them.
@trmwzm
trmwzm / webex-ubuntu.md
Created March 31, 2020 18:21 — forked from mshkrebtan/webex-ubuntu.md
Run Cisco Webex on 64-bit Ubuntu 16.04

Run Cisco Webex on 64-bit Ubuntu 16.04

With Audio and Screen Sharing Enabled

Enable support for 32-bit executables

Add the i386 architecture to the list of dpkg architectures :

sudo dpkg --add-architecture i386