assets

How to get file name from Sharepoint Asset Library

谁都会走 提交于 2020-01-01 15:58:00
问题 How can I get the file name of an image from a SharePoint 2013 Asset Library? I am trying to write a JQuery/REST snippet to search a subset of images within the library, based on their other column values and display them. I would use FileLeafRef in case of a Document Library, but I couldn't find an equivalent field in Asset Library. I so far tried the following, neither returns file name: https:///crm/_api/Web/Lists/GetByTitle('Publication%20List')/items?select=File/Name&expand=File https://

Why isn't my Asset Catalog returning R4 images?

不羁的心 提交于 2020-01-01 07:35:25
问题 I'm in the process of migrating my images to an Asset Catalog. My app needs to access the Launch Image after launch and display it on the screen. Easy enough, but I have different images for short and tall iPhones, and my iPhone 5 is loading the short launch image when I call [UIImage imageNamed:@"LaunchImage"] . Okay so maybe I can't do this with a Launch Image. I'll try putting some images in a normal Image Set instead. No dice. Using an iPhone 5, when I call [UIImage imageNamed:@"Derp"] OR

Serving assets is very slow in development

半世苍凉 提交于 2020-01-01 06:34:04
问题 I have a standart rails 3 webapp with the default asset pipeline. All of a sudden, the assets took a very long time to load (my page loads went to ~1-2secs to ~1min). The server response time (/home) is normal, but some .css and .js files are pending for very long (up to 45 seconds). The only few assets that take this long are those provided by gems (eg: modernizr-rails/vendor/assets/javascripts/modernizr.js ) For example, for modernizr.js?body=1 : Headers: Request URL:http://dev.sharewizz

Loading X509Certificate from /assets/filename public key is not correct

瘦欲@ 提交于 2020-01-01 03:43:06
问题 I have the following code running in java on windows and it works like a charm. I am using a certificate with a 2048 RSA key that i generated with OpenSSL. The important piece to look at is the mServerPublicKey = cert.getPublicKey(); I need the public key for my use case. String serverCertFile = "C:\\Users\\Me\\Documents\\cert.pem"; CertificateFactory certFactory; FileInputStream inStream; try { certFactory = CertificateFactory .getInstance("X.509"); inStream = new FileInputStream

laravel 5 - css file is not defined in asset manifest?

谁说我不能喝 提交于 2019-12-31 19:38:48
问题 I get an Error Message with laravel 5, which I don't understand. Next exception 'ErrorException' with message 'File build/css/all.css not defined in asset manifest. I haven't installed any asset pipeline or something. Just used elixir to compile, minify and version the scss-file to all.css and included it into the master view with <link rel="stylesheet" href="{{ elixir("css/all.css") }}"> What is this 'asset manifest' and how to fix this error?` 回答1: The question is of course what you want to

laravel 5 - css file is not defined in asset manifest?

蹲街弑〆低调 提交于 2019-12-31 19:38:15
问题 I get an Error Message with laravel 5, which I don't understand. Next exception 'ErrorException' with message 'File build/css/all.css not defined in asset manifest. I haven't installed any asset pipeline or something. Just used elixir to compile, minify and version the scss-file to all.css and included it into the master view with <link rel="stylesheet" href="{{ elixir("css/all.css") }}"> What is this 'asset manifest' and how to fix this error?` 回答1: The question is of course what you want to

Roboto font for Android 4+?

天涯浪子 提交于 2019-12-31 12:13:10
问题 Do I need to use Roboto font and put it to asset folder if my app will support only Android 4+ devices? I would greatly appreciate for your help. Alex. P.S. Sorry for my English:) 回答1: You can use Roboto natively from Android 4.1+ like this: android:fontFamily="sans-serif" // roboto regular android:fontFamily="sans-serif-light" // roboto light android:fontFamily="sans-serif-condensed" // roboto condensed For any version below that, you have to load the font yourself. Look at this answer I

Rails won't load asset pipeline

倾然丶 夕夏残阳落幕 提交于 2019-12-30 18:26:23
问题 I ran rake assets:precompile by mistake on development, and Rails stopped loading the assets on development. I only get application.js and application.css loaded. application.js: //= require jquery //= require jquery_ujs //= require_tree . application.css: *= require_self *= require_tree . Using Rails 3.2.2 回答1: Try deleting the compiled assets from your local development environment: rm -rf public/assets Edit: In addition, make sure to set config.assets.compress = false and config.assets

Rails won't load asset pipeline

馋奶兔 提交于 2019-12-30 18:26:06
问题 I ran rake assets:precompile by mistake on development, and Rails stopped loading the assets on development. I only get application.js and application.css loaded. application.js: //= require jquery //= require jquery_ujs //= require_tree . application.css: *= require_self *= require_tree . Using Rails 3.2.2 回答1: Try deleting the compiled assets from your local development environment: rm -rf public/assets Edit: In addition, make sure to set config.assets.compress = false and config.assets

Rails 4.2 Rails.application.config.assets.version doesn't invalidate digest asset file names

怎甘沉沦 提交于 2019-12-30 16:50:20
问题 I have a Rails 4.2.4 (Ruby 2.2.2) application and I am serving static assets via Cloudfront. If Cloudfront is serving something you don't want, there are two possibilities: Invalidate the content in Cloudfront or Change the name of the asset served However, when i change Rails.application.config.assets.version = '1.0' to Rails.application.config.assets.version = '2.0' (in config/initializers/assets.rb) and delete all the assets in public/assets run "RAILS_ENV=staging bundle exec rake assets