Skip to content

Instantly share code, notes, and snippets.

@quazgar
quazgar / slow_table.md
Created June 16, 2023 06:19
Slow markdown table

This table is really slow in Emacs in markdown-mode.

col 1 col 2 verbatim
qwerty some text some_medium_sized.text
qwerty some text some_medium_sized.text
qwerty some text some_medium_sized.text
qwerty some text some_medium_sized.text
qwerty some text some_medium_sized.text
qwerty some text some_medium_sized.text
@quazgar
quazgar / installation.md
Last active March 3, 2018 13:24 — forked from DevWurm/installation.md
Install OpenProject 6 on uberspace.de
@quazgar
quazgar / OpenProjectInstallation.md
Last active August 23, 2017 07:25 — forked from biolauri/OpenProjectInstallation.md
Install OpenProject (latest) with Memcached on Uberspace
#!/usr/bin/env python
import PySide.QtGui as QtGui
from PySide.QtGui import QApplication, QMainWindow
import sys
class TestWindow(QMainWindow):
def __init__(self):
super(TestWindow, self).__init__()
@quazgar
quazgar / gist:6712811
Created September 26, 2013 11:18
keybindings.el
;; make: F12
(global-set-key
(kbd "<f12>")
(lambda ()
(interactive)
;; (call-process-shell-command
;; (if (and (boundp 'local-make) local-make) local-make "make")
;; nil "*Shell Command Output*" nil
;; )
(start-process-shell-command
@quazgar
quazgar / BibTeX.js.abbrevFallback.patch
Created September 18, 2013 09:16
fallback to item.publicationTitle
--- BibTeX.js 2013-09-18 10:46:44.946348697 +0200
+++ BibTeX.abbrevFallback.js 2013-09-18 10:57:14.916348376 +0200
@@ -2401,7 +2401,11 @@
if(item.itemType == "bookSection" || item.itemType == "conferencePaper") {
writeField("booktitle", item.publicationTitle);
} else if(Zotero.getOption("useJournalAbbreviation")){
- writeField("journal", item.journalAbbreviation);
+ if(item.journalAbbreviation) {
+ writeField("journal", item.journalAbbreviation);
+ } else {