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
| Dir.glob("*.psd").each do |file| | |
| system("sips -s format png #{file} --out #{File.basename(file,'.psd')}.png") | |
| end |
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
| ##### EXEC ################################################################### | |
| # $ brew install bash-completion | |
| if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| . `brew --prefix`/etc/bash_completion | |
| fi | |
| # brew git-completion | |
| export GIT_PS1_SHOWDIRTYSTATE="true" | |
| export GIT_PS1_SHOWSTASHSTATE="true" | |
| export GIT_PS1_SHOWUNTRACKEDFILES="true" |
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
| %!PS-Adobe-3.0 | |
| % Title: dot grid paper, 5x5 mm | |
| %%BeginSetup | |
| %%BeginFeature: *PageSize A4 | |
| << /PageSize [ 595.27 841.889 ] | |
| /ImagingBBox null | |
| >> setpagedevice | |
| %%EndFeature | |
| %%EndSetup |
Tengo todo este equipo cogiendo polvo en un cajón. Está todo entre muy bien y nuevo (me gusta cuidar mis cámaras :) pero desde que entró la Panasonic GF1 + 20mm 1.7 en casa no he vuelto a usarlo, y creo que se merece estar en un hogar donde lo quieran y le den cariño:
- Cuerpo Nikon D90, buen estado pero usado (con cariño), €350
- Objetivo Nikkor 50 ƒ1.4D, como nuevo. €200
- Objetivo Nikkor 35 ƒ1.8G, poco uso. €100
- Objetivo Nikkor 18-55DX VR, usado con cariño. €100
Está todo en Madrid, y en principio prefiero entrega en mano para que puedas probar que todo está bien y que te convence lo que compras.
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
| var left = 100, | |
| top = 100; | |
| if (fw.selection.length) { | |
| left = fw.selection[0].left, | |
| top = fw.selection[0].top; | |
| } | |
| fw.getDocumentDOM().addNewHotspot("slice", "rectangle", {left:left, top:top, right:left + 400, bottom: top + 300}); | |
| fw.getDocumentDOM().setSliceExportOptions({ animAutoCrop:true, animAutoDifference:true, applyScale:false, colorMode:"32 bit", crop:false, cropBottom:0, cropLeft:0, cropRight:0, cropTop:0, ditherMode:"none", ditherPercent:100, exportFormat:"PNG", frameInfo:[ ], interlacedGIF:false, jpegQuality:80, jpegSelPreserveButtons:false, jpegSelPreserveText:true, jpegSelQuality:90, jpegSelQualityEnabled:false, jpegSmoothness:0, jpegSubsampling:0, localAdaptive:true, lossyGifAmount:0, macCreator:"", macFileType:"", name:"PNG 32", numCustomEntries:0, numEntriesRequested:0, numGridEntries:6, optimized:true, paletteEntries:null, paletteInfo:null, paletteMode:"adaptive", paletteTransparency:"none", percentScale:100, progressiveJPEG:false, savedAnimationRepeat:0, sorting:"none", useScale:tru |
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
| File pattern: | |
| !(/\.DS_Store|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$ | |
| Folder pattern: | |
| !.*/(\.[^/]*|CVS|log|vendor|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$ |
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
| test( 'Size command, single object', function(){ | |
| assert('An item is selected and its width is 100', fw.selection[0].width, 100); | |
| run_command("Size","Width +1"); | |
| assert('Selected item is 1 pixel wider', fw.selection[0].width, 101); | |
| run_command("Size","Width +10"); | |
| assert('Selected item is 10 pixels wider', fw.selection[0].width, 111); | |
| run_command("Size","Height +1"); | |
| assert('Selected item is 1 pixel taller', fw.selection[0].height, 101); | |
| run_command("Size","Height +10"); | |
| assert('Selected item is 10 pixels taller', fw.selection[0].height, 111); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>beforeRunningCommand</key> | |
| <string>nop</string> | |
| <key>bundleUUID</key> | |
| <string>A9237092-D694-450A-8C8F-F9005D932664</string> | |
| <key>command</key> | |
| <string>osascript -e 'tell application "Safari" to set theSource to do JavaScript "window.document.documentElement.outerHTML" in document 1'</string> |
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
| // redefine log() if we are inside Fireworks | |
| if (!this['log']) { | |
| log = alert; | |
| } | |
| log('Starting benchmark - ' + new Date()); | |
| // Benchmark function | |
| function benchmark(func,msg){ | |
| start = new Date(); | |
| func.call(); |