This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 2011-03-24 - Note, Giuseppe's current version of this script can be found | |
; here: http://registry.gimp.org/node/13880 | |
; and here: http://xoomer.virgilio.it/lwcon/gimp/scripts/image-subdivide.htm | |
; I think I only modified the two lines mentioned below, but it was a few years | |
; ago and I can't diff against the original code as Giuseppe has updated it | |
; since. | |
;;; | |
;;; image-subdivide.scm | |
;;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- DESCRIPTION | |
-- =========== | |
-- This script converts iMovie capture files in the DV Stream format to FCE compatible ones. To do this it converts the audio only (since that is the problem). | |
-- HOW TO USE | |
-- ========== | |
-- Open required iMovie capture in Quicktime. Run this script! No other movies can be open. Will only convert one at a time. For batch conversion see the droplet in this folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--This script will attempt to compile a playlist of only albums based on user inputted | |
--values for min. number of tracks per album and min. album duration | |
-- | |
--Inspired by "Make Album Playlists" by Andrew Mathieson | |
--And also by TETENAL's script on macnn after he beat me to it | |
--With info from "Doug's Applescripts for iTunes" www.dougscripts.com/itunes | |
-- | |
--This script by i5m | |
-- | |
tell application "iTunes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- View Image Actual Size | |
-- ====================== | |
-- DESCRIPTION | |
-- =========== | |
-- This script zooms an image in GraphicConvertor so that it is shown actual size. By this I mean if you measure in on screen with a ruler it should match the size it prints at when printed at Original size. | |
-- I wrote this to match the way Gimp works since you can specify a Screen Resolution to use. OSX, etc assumes a screen resolution of 72 ppi when viewing images at Actual/Original size. More often than not this isn't the case. For instance on my 12" powerbook the screen is 9.68" x 7.26". At a resolution of 1024x768 pixels this gives: 1024 / 9.68 = 105.8 ppi | |
-- It can only zoom at whole numbers, so may in fact be slightly off actual printed size, but far far less than the assumed 72dpi on screen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE xmeml> | |
<xmeml version="1"> | |
<bin> | |
<name>***BIN NAME***</name> | |
<children> | |
<clip id="***CAPTURE NAME***"> | |
<name>***CAPTURE NAME***</name> | |
<duration> | |
125 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This script utilises the Composer field of a track so that you can browse through full albums only on your iPod. | |
-- Suitable for those who don't sync their full library to their iPod, but do sync a mixture of full albums and individual tracks (from full albums from their iTunes library). | |
-- It avoids having to suffer the usual 'browse by album' view on your iPod being cluttered with albums with one or few tracks. | |
-- | |
-- BACKGROUND INFO: | |
-- | |
-- I have an iPod mini so I don't sync everything from my iTunes library. I ALWAYS sync about 7 non-smart playlists (i.e. hand picked playlists) that are based on genre, mood, etc. I then have another playlist that I dump full albums into, lets call it iP_full_albums. I then have a smart playlist that adds in recently added tracks. I use another couple of smart playlists to sort the songs on my ipod (i.e. they don't add any tracks from the library to my ipod, but reference the afore mentioned playlists) and filter by rating, least played, etc. I then manually adjust the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to convert a directory of Nanoblogger posts to Jekyll | |
# | |
# Nanoblogger is a command line, static blogging app, not that | |
# dissimilar to Jekyll: http://nanoblogger.sourceforge.net/ | |
# | |
# It's been years since I've used it though, but the below script | |
# worked for me in converting the files to Jekyll. | |
Dir['*.txt'].each do |f| | |
# Need to read file to find title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Pinboard Bookmark Importer | |
--An Applescript to automate importing of Pinboard.in bookmarks to a collection in Camino. To be used for occasional or one off import | |
-- pinboard username and password | |
property pbuser : "pinboard username" | |
property pbpass : "pinboard password" | |
--Download bookmarks via curl to desktop (because can use shortcut when selecting file for import via UI scripting) | |
do shell script ("cd ~/Desktop; curl https://" & pbuser & ":" & pbpass & "@pinboard.in/export/ -o pinboard.html") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"This is no longer up to date. It got more complicated... | |
"My vimrc file. Trying to keep it as simple and cross platform as possible | |
set tabstop=4 "Number of spaces that a tab character takes | |
set softtabstop=4 "after reading the docs, I still don't get all the tab options. | |
set noexpandtab "I don't want tab characters converted to spaces | |
set shiftwidth=4 "number of spaces used for each step of auto-indent | |
set smarttab autoindent "copy indent from current line when starting new line | |
set guifont=Consolas:h10 "Nice font Use Inconsolata:h13 on OSX, Linux. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For blog post | |
# New win32-api version of http://www.mustap.com/rubyzone_post_90_ruby-on-windows | |
require 'win32/api' | |
include Win32 | |
desktop = API.new("SystemParametersInfo", ['L','L','P','L'] , 'L', "user32") | |
desktop.call(20,0,"c:\\my_img.bmp",0) |