This file contains hidden or 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
| *** /System/Library/Automator/Watermark PDF Documents.action/Contents/Resources/tool.py 2014-09-10 07:34:59.000000000 +0900 | |
| --- tool.py 2014-11-18 15:38:01.000000000 +0900 | |
| *************** | |
| *** 26,32 **** | |
| def createImage(imagePath): | |
| image = None | |
| ! provider = CGDataProviderCreateWithFilename(imagePath) | |
| if provider: | |
| imageSrc = CGImageSourceCreateWithDataProvider(provider, None) |
This file contains hidden or 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
| ' usage | |
| ' Call("Sheet1", "A1", "Z100") | |
| Sub findMergedCell(strWorkSheet As String, strStartCell As String, strEndCell As String) | |
| Dim cl | |
| Dim msg | |
| Dim rng | |
| rng = strStartCell & ":" & strEndCell | |
| For Each cl In Worksheets(strWorkSheet).Range(rng) |
This file contains hidden or 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
| Sub SendtoBack() | |
| Dim sld As Slide | |
| Dim sh As Shape | |
| targetNameArr = Array("Picture 6", "Content Placeholder 6") | |
| For Each sld In ActivePresentation.Slides | |
| For Each sh In sld.Shapes | |
| For Each targetName In targetNameArr | |
| If sh.Name = targetName Then |
This file contains hidden or 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
| Sub CenteringShapes() | |
| targetNameArr = Array("Picture 6", "Content Placeholder 6") | |
| Dim sld As Slide | |
| Dim sh As Shape | |
| For Each sld In ActivePresentation.Slides | |
| For Each sh In sld.Shapes | |
| For Each targetName In targetNameArr | |
| If sh.Name = targetName Then |
This file contains hidden or 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
| Sub ResizeShapesToFullsize() | |
| Dim w As Integer | |
| Dim h As Integer | |
| w = ActivePresentation.PageSetup.SlideWidth | |
| h = ActivePresentation.PageSetup.SlideHeight | |
| Dim sld As Slide | |
| Dim sh As Shape | |
| targetNameArr = Array("Picture 6", "Content Placeholder 6") |
This file contains hidden or 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
| Sub SetBackground() | |
| targetNameArr = Array("Picture 6", "Content Placeholder 6") | |
| Dim w As Integer | |
| Dim h As Integer | |
| w = ActivePresentation.PageSetup.SlideWidth | |
| h = ActivePresentation.PageSetup.SlideHeight | |
| Dim sld As Slide | |
| Dim sh As Shape |
This file contains hidden or 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
| FILENAME = FOOBAR | |
| TEX = $(FILENAME).tex | |
| DVI = $(FILENAME).dvi | |
| AUX = $(FILENAME).aux | |
| PDF = $(FILENAME).pdf | |
| all: | |
| make tex | |
| make bibtex | |
| make tex |
This file contains hidden or 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
| { | |
| "1":{ | |
| "name":"Bulbasaur", | |
| "attack":49, | |
| "defense":49, | |
| "evolveLevel":16, | |
| "evolveTo":"2", | |
| "type":"grass", | |
| "moves":[ | |
| "tackle", |
This file contains hidden or 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 set_proxy() { | |
| export http_proxy=$1 | |
| export HTTP_PROXY=$1 | |
| export ftp_proxy=$1 | |
| export FTP_PROXY=$1 | |
| export all_proxy=$1 | |
| export ALL_PROXY=$1 | |
| export https_proxy=$1 | |
| export HTTPS_PROXY=$1 |
This file contains hidden or 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 git-gc-all ✔ | |
| ghq list -p | xargs -P 1 -n 1 -I"{}" -t bash -c "cd {}; git gc;" | |
| end |
OlderNewer