Skip to content

Instantly share code, notes, and snippets.

@Sarcasm
Sarcasm / multiply-vector2-with-scalar.cpp
Created September 27, 2013 16:22
Multiply Vector2 with scalar in Polycode 2.
/**
* 2D Vector (convenience wrapper around Vector3).
*/
class Vector2 {
public:
/**
* Create from x,y,z coordinates.
* @param x X coordinate.
* @param y Y coordinate.
*/
@Sarcasm
Sarcasm / .emacs.el
Last active December 12, 2015 07:49
Irony mode test configuration
;; ----------------- 8< ----- BEGIN EDIT ZONE -----------------
;; auto-complete path
;; if you use el-get it should look like this:
(add-to-list 'load-path "/home/USERNAME/.emacs.d/el-get/auto-complete/")
(add-to-list 'load-path "/home/USERNAME/.emacs.d/el-get/popup/")
;; OR with my fork of auto-complete or an older version of auto-complete
;; (add-to-list 'load-path "/path/to/my/fork/of/auto-complete/")
@Sarcasm
Sarcasm / AutoHotkey.ahk
Created February 1, 2012 12:05
autohotkey W7 config
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.