Skip to content

Instantly share code, notes, and snippets.

View tooh's full-sized avatar
🎸
Studying guitar

Peter Florijn tooh

🎸
Studying guitar
View GitHub Profile
@smileham
smileham / HeatMapByPropertyvalue.ajs
Last active May 14, 2024 20:37
jArchi script to create Heatmap (set Red, Amber or Green background to element) based on the value of a given property. #jarchi
/*
* HeatMap by Property Value
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
*
* Version 1: Set colour to red, amber or green based on value of given property.
* Version 2: Pull out all Properties used in Elements in view, present all possible values of that Property to assign RAG colours
* Version 3: Error handling and key generation
* Version 4: Updated for dynamic colour selection and support for more than 3 colours
* Version 5: If there are less than 5 values, buttons are used instead of the menu.
@mygeekdaddy
mygeekdaddy / OmniFocus_Due_List.scpt
Created July 3, 2015 21:22
Generate MD file for tasks due within +/- 7d of current date
(*
File: OmniFocus_Due_List.scpt
Revision: 1.0
Revised: 2015-07-01
Summary: Create taskpaper list of tasks due +/- 7d from current date.
-----------------------------------------------------------
Script based on Justin Lancy (@veritrope) from Veritrope.com
@scanny
scanny / rst_renderer.py
Created March 2, 2015 20:36
Code to translate RestructuredText into Microsoft Word document using python-docx
# encoding: utf-8
"""
Helper objects for rendering to .docx format.
"""
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
@Zettt
Zettt / OpenMeta2OSXTags.sh
Last active December 3, 2024 11:00
Script that reads OpenMeta tags and writes them to OS X Mavericks tags. http://mosx.tumblr.com/post/54049528297/convert-openmeta-to-os-x-mavericks-tags-with-this This requires a OpenMeta binary to be installed. Change its path, if you prefer it to be somewhere else. For the files to be processed properly don't include a trailing slash in `$files…
# =============================================================
# = OpenMeta to OS X Tags =
# =============================================================
# Script to convert OpenMeta tags to OS X Mavericks tags.
#
# Created by Zettt (Andreas Zeitler) on 2013-06-28
# Source www.macosxscreencasts.com, mosx.tumblr.com
#
# OpenMeta to OS X Tags by Andreas Zeitler is licensed under a
# Creative Commons Attribution-NonCommercial-ShareAlike
@NapoleonWils0n
NapoleonWils0n / mount_drive_in_single_user_mode.sh
Created November 11, 2012 00:11
macosx: mount drive in single user mode
#!/bin/sh
#-----------------------------------------------#
# mount usb drive in single user mode
#-----------------------------------------------#
# reboot the mac and press s to start up in single user mode
# mount the internal mac drive
@johnjohndoe
johnjohndoe / redmine-osx-installation.md
Created May 21, 2012 16:51
Redmine installation on MacOSX

Redmine installation on MacOSX

  • A summarized instruction tested on MacOSX 10.7.4 installing Ruby 1.9.3p194 and Rails 3.2.3.

Install brew

  • Follow the instructions on https://github.com/mxcl/homebrew
  • $ /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

brew hints