This is a quick script to convert notes from Tomboy to Evernote.
pip install -r requirements.txt
mkdir export/
python tomboy-export.py <tomboy-dir>
| <?php | |
| function url2png_v6($url, $args) { | |
| # Get your apikey from http://url2png.com/plans | |
| $URL2PNG_APIKEY = "PXXXX"; | |
| $URL2PNG_SECRET = "SXXXX"; | |
| # urlencode request target | |
| $options['url'] = urlencode($url); |
| #!/usr/bin/env python | |
| # rtm2evernote.py | |
| # | |
| # Convert Remember the Milk tasks to Evernote notes, using approximately | |
| # the the Evernote setup recommended in "The Secret Weapon": | |
| # | |
| # http://www.thesecretweapon.org/the-secret-weapon-manifesto/setting-up-the-secret-weapon | |
| # | |
| # requires Python >= 2.7 (for ElementTree.iter()) |
| { | |
| "id": "org.freedesktop.Platform.Icontheme.Paper", | |
| "branch": "1.0", | |
| "runtime": "org.freedesktop.Sdk", | |
| "build-extension": true, | |
| "sdk": "org.freedesktop.Sdk", | |
| "runtime-version": "1.6", | |
| "sdk-extensions": [], | |
| "separate-locales": false, | |
| "cleanup": [ "/share/info", "/share/man" ], |
| #!/bin/bash | |
| # Fixes sudo issues | |
| if (($EUID != 0)); then | |
| if [[ -t 1 ]]; then | |
| sudo "$0" "$@" | |
| else | |
| exec 1>output_file | |
| gksu "$0 $@" | |
| fi |
| [Desktop Entry] | |
| Name=My Timer | |
| Exec=/home/markham/scripts/timer.py | |
| Icon=/usr/share/icons/cute.jpg | |
| Type=Application | |
| Terminal=false | |
| StartupNotify=true | |
| Categories=GTK;GNOME;Utility; |
| #!/bin/sh | |
| USERNAME=`whoami` | |
| NUM=`ps -ef | grep ssh-agent | grep -v grep | grep $USERNAME | wc -l` | |
| if [ $NUM -eq 1 ]; then | |
| ST=`ps -ef | grep ssh-agent | grep -v grep | grep $USERNAME` | |
| AGENT_PID=$(echo $ST | awk '{print $2;}') | |
| SOCKFILE=$(ls -l /tmp/ssh-*/agent.[0-9]* | grep $USERNAME | sed -e 's/^.*\(\/tmp\/ssh-.*\)/\1/') | |
| echo "echo SOCKFILE=$SOCKFILE;" |
| data:text/html, <html spellcheck="false" contenteditable> <style> html,body{min-height: 100%} body {min-height: 100%; background-color: transparent; background-image: -webkit-linear-gradient(top, #ddd 2%, transparent 2%); background-image: -moz-linear-gradient(top, #ddd 2%, transparent 2%); background-image: -o-linear-gradient(top, #ddd 2%, transparent 2%); background-image: linear-gradient(to bottom, #ddd 2%, transparent 2%); background-size: 100% 1.5em; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color: #333; display: block; font: normal 1.5em 'Cambria', georgia, serif; height: 100%; line-height: 1.5em; margin: 0 auto; padding: .2em .5em; position: relative; vertical-align: bottom; width: 80%; } body:before, body:after{ content: ''; position: absolute; left: 0; top: 0; width: 100%; min-height: 100%; background: transparent; z-index: -1; } body:before{ background-image: -webkit-linear-gradient(left, #ccc 5px, transparent 5px, transparent 100%); background-image: -moz- |
| <!-- Add the following lines to theme's html code right before </head> --> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
| <script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
| <script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
| <!-- | |
| Usage: just add <div class="gist">[gist URL]</div> | |
| Example: <div class="gist">https://gist.github.com/1395926</div> | |
| --> |
| #!/bin/bash | |
| # --------------------------------------------------------------------------- | |
| # Ubuntu Phone - Sync Owncloud Contacts & Calendar Account | |
| # Carddav & Caldav. | |
| # Tested on : Ubuntu-touch vivid - ubuntu-touch/rc-proposed/bq-aquaris.en/vegetahd/ | |
| # Last edit : 2015/10/07. | |
| # Author : Romain Fluttaz, boTux.fr, <romain@botux.fr> | |
| # ============= [ Configuration ] ============= # |