assets

How can I modify/create .CAR assets file located inside an iOS SDK?

◇◆丶佛笑我妖孽 提交于 2020-01-06 06:09:10
问题 I'm currently using an iOS SDK ( .framework directory) in my project, and I'm in need of modifying some of its assets. So far I've been able to locate the file with said assets, called Assets.car in mySDK.framework/mySDKResourceBundle.bundle/Assets.car , and using a tool called Asset Catalog Tinkerer I'm also able to see and extract all of the .car 's contents. Unfortunately I just can't seem to find how to modify the assets inside that file to include my own or, failing this, to create a

Sprockets::FileNotFound with ZURB Foundation

℡╲_俬逩灬. 提交于 2020-01-06 01:22:25
问题 When using foundation 4.3.1 on Rails 3.2 I get the following error: Sprockets::FileNotFound in Refinery/pages#home Showing ...../gems/refinerycms-92675b5132ae/core/app/views/refinery/_javascripts.html.erb where line #16 raised: couldn't find file 'foundation' (in ...../app/assets/javascripts/application.js:15) I checked everything, assets are turned on, downgraded to an earlier version of Foundation. But nothing works like it should (I have the same thing running fine with a different Rails

Rails 4 - In production my javascript is loaded but does not work while it works well in development

孤人 提交于 2020-01-06 01:06:49
问题 I work with : Rails version 4.2.3 Ruby version 2.2.1 I have managed to run my application in production doing these steps : rake db:create RAILS_ENV=production rake db:migrate RAILS_ENV=production rake assets:precompile and rake assets:precompile RAILS_ENV=production I had some troubles with my application.js and application.css files because all the require were not in the right orders. I had to put require_tree at the bottom and require jquery at the top directly followed by require jquery

How to get exif information from ALAsset?

血红的双手。 提交于 2020-01-05 23:17:14
问题 I need to get exif information from selected asset and to display part of it on the screen. 回答1: [[asset defaultRepresentation] metadata]; returns a dictionary of dictionaries of metadata for the given asset representation. Check out this dictionary for the data you're interested in. I am not sure but I think the keys in that dictionary (and subdictionaries) are the same as the ones listed under CGImageProperties Reference. 回答2: This is a complete answer ... all in one spot NSDictionary *nsd

Assets folder for Windows 8 Phone app

戏子无情 提交于 2020-01-05 09:07:21
问题 I have an app for Android that I'm porting to Windows Phone 8 now. The assets folder lies apart of code in my folder sturucture. In order to include it into Android build, I use <linkedResources> . Is there anything similar for Windows Phone 8 and MSVC? Having examined examples, I found they all include assets directly into project folder structure in Visual Studio. Can I avoid copying assets into MSVC project folder? BTW, my MSVC 2013 does not have drop box on Add button: 回答1: This an old

Decryption of .png and .jpg files

二次信任 提交于 2020-01-05 07:31:17
问题 I'm trying to modify graphic assets of the software I'm using (for aesthetic puroposess, I guess it's hard to do something harmful with graphic assets) but developer encrypted them. I'm not sure why he decided to do that since I used and modified a bunch of similar softwares and developers of those didn't bother (as I can see no reason why encrypting those assets would be necessary). So anyway here are examples of those encrypted graphic assets: http://www.mediafire.com/view/sx2yc0w5wkr9m2h

Rails 3.2.11 asset precompile fails if threadsafe! enabled

橙三吉。 提交于 2020-01-05 07:00:33
问题 I'm on Rails 3.2.11 and ruby 1.9.3.125 My app is working ok in devel and production if threadsafe! off With threadsafe! enabled I get an error during precompiling, in my asset assetsolutions.js.erb (which is the main js file of the application) I use the Workorder class as in the next line if ($('#workorder_worktype').val()=='<%= Workorder::REPAIR %>') with threadsafe! the class can't be found at precompile time, I've done some reasearch and I think it may be related with rails switching off

Rails 3.2.11 asset precompile fails if threadsafe! enabled

旧时模样 提交于 2020-01-05 07:00:13
问题 I'm on Rails 3.2.11 and ruby 1.9.3.125 My app is working ok in devel and production if threadsafe! off With threadsafe! enabled I get an error during precompiling, in my asset assetsolutions.js.erb (which is the main js file of the application) I use the Workorder class as in the next line if ($('#workorder_worktype').val()=='<%= Workorder::REPAIR %>') with threadsafe! the class can't be found at precompile time, I've done some reasearch and I think it may be related with rails switching off

Gallery shows blank when loading images from assets folder

时光毁灭记忆、已成空白 提交于 2020-01-05 04:00:18
问题 I am using AssetManager to load images form assets/image and the loading process went well as I can see all images have been loaded in the gallery, but the gallery only shows the frame but not the pictures, I tried different mime types png ,jpg and bmp and didn't work out. this is the method I load images from assets/image private List<String> getImage() throws IOException { AssetManager assetManager = getAssets(); String[] files = assetManager.list("image"); List<String> it=Arrays.asList

Creating image asset in Android Studio

坚强是说给别人听的谎言 提交于 2020-01-03 17:47:32
问题 I am trying to create an image asset in Android studio. I am facing problem at 2 levels. First, when I launch Asset Studio and select an image with Asset Type set as 'Launcher Icon', asset is created inside mipmap folder instead of drawable folder. So I changed Asset type to 'Action Bar and Tab icons'.But it causes image to appear as white blocks. Please advise what I am supposed to do. 回答1: About the first problem, the behavior is correct.You have to save your ic_launcher in the mipmap