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
#! /usr/bin/env python3 | |
# usage: tabcolor '#FF00FF' | |
import sys | |
if len(sys.argv) > 1: | |
color = sys.argv[-1] | |
if color[0] == "#" and len(color) in {7,4}: |
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
[skin] | |
description=Dustractor-Sol-McTheme [forked from Ajnasz Blue Theme] | |
[Lines] | |
horiz=─ | |
vert=│ | |
lefttop=╭ | |
righttop=╮ | |
leftbottom=╰ | |
rightbottom=╯ |
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
-- Copy the Aperture Version Name to the IPTC ObjectName (Title field in Aperture) | |
tell application "Aperture" | |
set selectedImages to (get selection) | |
if selectedImages is {} then | |
error "Please select an image." | |
else | |
repeat with i from 1 to count of selectedImages | |
tell library 1 | |
tell item i of selectedImages |
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
<bpy> | |
<Theme> | |
<user_interface> | |
<ThemeUserInterface menu_shadow_fac="0.5" | |
menu_shadow_width="12" | |
icon_file="" | |
icon_alpha="1" | |
widget_emboss="#ffffff05" | |
axis_x="#dc0000" | |
axis_y="#00dc00" |
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
#!/bin/bash | |
# usage: | |
# give it a number between 0 and 1023 | |
# to turn up and down the backlight and | |
# uncomment line 17 to also reset | |
# the pixel-brightness and gamma settings | |
# Clearly the Mini-DisplayPort is plugged in but | |
# CHECK THAT THE USB IS PLUGGED IN!!! | |
# (On my machine it matters which port, also.) | |
# Sometimes the device does not exist. |
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
function! NamelessWipeout() | |
for i in range(bufnr('$'),1,-1) | |
if bufname(i) == "" | |
exe "bw ".i | |
endif | |
endfor | |
endfunction | |
com! WipeoutNameless call NamelessWipeout() |
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
DetectHiddenWindows, On | |
WinWait, ahk_exe winpty-agent.exe | |
WinHide, ahk_exe winpty-agent.exe |
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
import obspython as obs | |
import datetime | |
import pathlib | |
import subprocess | |
class Data: | |
OutputDir = None | |
def frontend_event_handler(data): | |
if data == obs.OBS_FRONTEND_EVENT_RECORDING_STOPPED: |
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
import bpy | |
bl_info = { | |
"name": "CollectionProperty Test", | |
"blender": (2,80,0), | |
"category": "Test" | |
} | |
def _(a=None,b=[]): | |
if a: |
OlderNewer