Skip to content

Instantly share code, notes, and snippets.

View jave's full-sized avatar

joakim verona jave

View GitHub Profile
(deeplearning) [joakim@localhost ~]$ rpm -qa|grep nvid
nvidia-libXNVCtrl-375.10-1.fc25.x86_64
kmod-nvidia-4.8.6-300.fc25.x86_64-375.10-1.fc25.x86_64
nvidia-settings-375.10-1.fc25.x86_64
nvidia-driver-libs-375.10-4.fc25.x86_64
nvidia-driver-375.10-4.fc25.x86_64
nvidia-driver-NVML-375.10-4.fc25.x86_64
(deeplearning) [joakim@localhost ~]$ uname -a
Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
This is a pre-release version of the X server from Fedora Project.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 24.269]
X.Org X Server 1.18.99.901 (1.19.0 RC 1)
Release Date: 2016-09-19
#+TITLE: Joakim Veronas Blog
#+URL: http://www.verona.se/oblog
#+DEFAULT_CATEGORY: Thoughts
#+ANALYTICS: UA-50054319-1
#+PUBLISH_DIR: /tmp/oblog
#+TEMPLATE_DIR: ~/.emacs.d/el-get/o-blog/templates/
#+STYLE_DIR: ~/.emacs.d/el-get/o-blog/templates/style/
#+PUBLISH_DIR: /srv/www_verona_se/usr/share/nginx/html/
#+DISQUS: jave-o-blog
#!/usr/bin/perl
####
# Usage examples
#
# perl addsimple
use strict;
use warnings;
(defun jv-orgtree ()
(interactive)
(org-element-map ( org-element-parse-buffer) 'headline ;;org-element-all-elements
(lambda (x) (if (org-element-property :todo-type x)
(message "title:%s" (org-element-property :title x)))))
)
how you use the original macro:
(defsvgtemplate overview3 "overview.svg" []
;;1 unit
[:#rect523] (replace-fill "grey")
[:#circle401] (replace-fill "grey")
[:#circle396] (replace-fill "grey")
[:#circle391] (replace-fill (get-hudson-job-state "mlm-trunk"))
[:#path235] (replace-fill "grey")
[:#text288] (net.cgrand.enlive-html/content "0")