I hereby claim:
- I am bastien on github.
- I am bastienvaucher (https://keybase.io/bastienvaucher) on keybase.
- I have a public key ASC_XHwPma-pdBBuqEnkgagn0QCYc2ZNv3G84sLxNB7ajQo
To claim this, I am signing this object:
| EMAIL={admin-email} | |
| PASSWORD={admin-password} | |
| SUBDOMAIN={your-subdomain} | |
| SECTIONID={some-id} | |
| PERMISSIONGROUPID={permssion-group-id} | |
| FILENAME={relative-path-to-file-to-upload} | |
| LOCALE={locale} | |
| ZENDESKDOMAIN=zendesk.com |
I hereby claim:
To claim this, I am signing this object:
| var obj = {}; | |
| var param1 = "monkey[foo][bar][test1]"; | |
| var param2 = "monkey[foo][foo][test2]"; | |
| var keys1 = param1.replace(/\]/g, '').split('['); | |
| var keys2 = param2.replace(/\]/g, '').split('['); | |
| var deserialize = function(obj, keys, value){ | |
| var pointer = obj; | |
| var index = 0; |
| # Model using the ghostscript processor | |
| class Content < ActiveRecord::Base | |
| has_attached_file :resource, | |
| :styles => { :preview => ["725x1200>", :jpg], :thumb => ["100x140>", :jpg] }, | |
| :processors => [:ghostscript, :thumbnail], | |
| :convert_options => { :all => '-colorspace RGB -flatten -density 300 -quality 100' }, | |
| :path => ":page_path/:class/:id/:resource_token/:style/:filename" | |
| end |
| var doc = app.activeDocument; | |
| var page = doc.pages[0]; | |
| var page_ids = [page.name]; | |
| var text_frames = page.textFrames; | |
| for(var i=1; i<=text_frames.length; i++){ | |
| var text_frame = page.textFrames[0]; | |
| var threaded_text_frames = text_frame.parentStory.textContainers; | |
| for(var j=1; j<= threaded_text_frames.length; j++){ | |
| var threaded_text_frame = threaded_text_frames[j-1]; | |
| if(!inArray(threaded_text_frame.parentPage.name, page_ids)){ |
| var doc = app.activeDocument; | |
| var docPath = doc.fullName; | |
| var importDoc = app.open(File('~/test_extract.indd'), false); | |
| var pageToImport = importDoc.pages.firstItem(); | |
| importDoc.pages.add(LocationOptions.AT_END); // Documents must have at least 1 page | |
| pageToImport.move(LocationOptions.AFTER, doc.pages.firstItem()); | |
| doc.pages.item(2).remove(); | |
| importDoc.close(SaveOptions.no); |
| var doc = app.activeDocument; | |
| if(doc.saved == true) | |
| { | |
| extract(2); | |
| } | |
| else | |
| { | |
| alert("Save you file."); | |
| } |
Our Idiot Brother http://www.imdb.com/title/tt1637706/
Tucker and Dale vs Evil http://www.imdb.com/title/tt1465522/
50/50 http://www.imdb.com/title/tt1306980/
Paul http://www.imdb.com/title/tt1092026/
Submarine http://www.imdb.com/title/tt1440292/
The Guard http://www.imdb.com/title/tt1540133/
Young Adult http://www.imdb.com/title/tt1625346/
We Bought A Zoo http://www.imdb.com/title/tt1389137/
Links of interest
| main(); | |
| function main(){ | |
| var myFlattenerPresetName = "MyCustomFlattenerPreset"; | |
| var myPDFExportPresetName = "MyPDFExport"; | |
| var tempFlattenerPreset = app.flattenerPresets.itemByName(myFlattenerPresetName); | |
| if(tempFlattenerPreset != null){ | |
| tempFlattenerPreset.remove(); | |
| } | |
| var flattenerlevel = FlattenerLevel.LOW; |
| Danish: æåø | |
| Chinese: 我真累 |