Skip to content

Instantly share code, notes, and snippets.


Göktuğ Kayaalp cadadr

View GitHub Profile
# This script converts the Firefox .tar.bz2 into a Firefox AppImage
# NOTE: This is for demonstration only. For a real production AppImage, one would add
# * update information (for binary delta updates)
# * embedded digital signature (to validate authorship)
# * possibly additional dependencies (if needed)
# * additional metadata to help desktop integration
# Download and extract Firefox .tar.bz2
willprice / jupyter-lab.service
Created Feb 20, 2018
Jupyter Lab SystemD user service file.
View jupyter-lab.service
# file: ~/.config/systemd/user/jupyter-lab.service
# systemctl enable --user jupyter-lab
# systemctl start --user jupyter-lab
Description=Jupyter Lab Server
ExecStart=/usr/bin/jupyter lab --no-browser --port=8889
cvcore / org-fragment-auto-preview.el
Last active May 30, 2020
Automatic fragment toggling in org-mode
View org-fragment-auto-preview.el
;; 28.07.2017
;; Charles Wang
;;;;;;; Tweaks for Org & org-latex ;;;;;;
(defvar cw/org-last-fragment nil
"Holds the type and position of last valid fragment we were on. Format: (FRAGMENT_TYPE FRAGMENT_POINT_BEGIN)"
hadrianw / prace.c
Last active Jan 24, 2016
Process Race - wait for a child process to finish, kill the rest.
View prace.c
Compile with:
$ gcc prace.c -o prace -std=c99 -pedantic -Wall -Wextra
Example usage in shell script:
$ ((sleep 4; echo foo)& (sleep 2; echo bar)& exec ./prace)
eguneys / turkish.el
Created Oct 2, 2014
Emacs Turkish Mode
View turkish.el
(defvar turkish-el-version "$Id: turkish.el,v 2.7 2010/02/27 18:22:36 dyuret Exp $")
;;; Emacs Turkish Extension (c) Deniz Yuret, 2006, 2010
;;; This is for people trying to type Turkish documents on a U.S.
;;; keyboard. The latest version is available at:
;;; To activate the program first load this file into emacs:
;;; M-x load-file ENTER turkish.el ENTER
You can’t perform that action at this time.