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
@@ -472,7 +472,7 @@ function ime_im_cli_check_executable($fullpath) { | |
if (!is_executable($fullpath)) | |
return false; | |
- @exec('"' . $fullpath . '" --version', $output); | |
+ @exec($fullpath . ' --version', $output); | |
return count($output) > 0; | |
} | |
@@ -547,7 +547,7 @@ function ime_im_cli_resize( $old_file, $new_file, $width, $height, $crop, $resiz |
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
{ | |
// Material Theme | |
"theme": "Material-Theme.sublime-theme", | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"overlay_scroll_bars": "enabled", | |
"line_padding_top": 3, | |
"line_padding_bottom": 3, | |
//"font_options": [ "gray_antialias" ], // On retina Mac | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, |
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
# Customize to your needs... | |
DEFAULT_USER="tsaiid" | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
PATH=/usr/local/bin:$PATH # Homebrew | |
# For ssh-agent | |
SSH_ENV="$HOME/.ssh/environment" | |
function start_agent { |
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
; HotKey | |
;; for SmartWonder | |
#IfWinActive, tedpc- | |
IEGet(Name="") ;Retrieve pointer to existing IE window/tab | |
{ | |
IfEqual, Name,, WinGetTitle, Name, ahk_class IEFrame | |
Name := ( Name="New Tab - Windows Internet Explorer" ) ? "about:Tabs" | |
: RegExReplace( Name, " - (Windows|Microsoft) Internet Explorer" ) | |
For wb in ComObjCreate( "Shell.Application" ).Windows |
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
MouseGetPos, xpos,ypos | |
Click 700, 180 ; 歷史報告 | |
Click 270, 325 ; 開影像 | |
Click 1080, 741 ; 複製報告 | |
Click 1080, 759 ; 複製報告 | |
Click 1080, 777 ; 複製報告 | |
Click 1080, 795 ; 複製報告 | |
Click 1080, 813 ; 複製報告 | |
Click 1080, 831 ; 複製報告 | |
Click 300, 180 ; 回報告區 |
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
MouseGetPos, xpos,ypos | |
Click 700, 180 ; 歷史報告 | |
Click 270, 325 ; 開影像 | |
Click 1080, 759 ; 複製報告 | |
Click 300, 180 ; 回報告區 | |
MouseMove, %xpos%, %ypos% |
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
diff --git a/chrome/content/pcman.xul b/chrome/content/pcman.xul | |
index 3ff4c9b..a6a5d18 100755 | |
--- a/chrome/content/pcman.xul | |
+++ b/chrome/content/pcman.xul | |
@@ -50,11 +50,10 @@ | |
} | |
function resize(){ | |
- var win=document.getElementById('topwin'); | |
- var canvas=document.getElementById("canvas"); |
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
; SmartWonder Extension | |
; Renumbering Selected Lines | |
; Group Control For SmartWonder | |
GroupAdd, SmartWonder, VGHKS- | |
GroupAdd, SmartWonder, vghks- | |
GroupAdd, SmartWonder, tedpc- | |
; WBGet() | |
; Access an IE object by WinTitle and Internet Explorer_Server Number |
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 xml.etree.ElementTree as ET | |
import urllib2 | |
import re | |
import os | |
# remove current images | |
working_dir = os.path.dirname(os.path.realpath(__file__)) | |
for root, dirs, files in os.walk(working_dir, topdown=False): | |
for file in files: |
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
require 'json' | |
require 'open-uri' | |
require 'image_size' | |
CONSUMER_KEY = 'YOUR_KEY' | |
PHOTOS_PER_PAGE = 20 | |
BASE_URL = 'https://api.500px.com' | |
POPULAR_URL = BASE_URL + '/v1/photos?' + |
OlderNewer