Problem Client was running into an issue where his website pages were taking a really long time to load. Solution The following .htaccess code helped me to solve the issue. #Force non-www: #RewriteEngine On #RewriteCond %{HTTP_HOST} !^www\. #RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] # REDIRECT TO UNDER CONSTRUCTION …
Turn on speakerphone whenever an outgoing call is made
You can set it through programmatically as below : AudioManager audioManager = (AudioManager)getApplicationContext().getSystemService(Context.AUDIO_SERVICE); audioManager.setMode(AudioManager.MODE_IN_CALL); audioManager.setSpeakerphoneOn(true); But, keep in mind that don’t forgot to set speaker off when stop the call: audioManager.setSpeakerphoneOn(false); And, Set permission in manifest: android.permission.RECORD_AUDIO android.permission.MODIFY_AUDIO_SETTINGS This code is working fine for me.hope …
How to Create Local Package in Umbraco 7?
Just Following Link … http://code-desk.com/web-development/how-to-create-local-package-in-umbraco-7.html
Generating an NFT Dataset from the Digital Image.
Generate Artoolkit Marker you have to follow step Step 1: open terminal Step 2: reach folder where genTexData script located using cd command ex. cd /Desktop/bin/….(path) Step 3: ./genTexData pinball.jpg Step 4: Select extraction level for tracking features from 0,1 or 3 Step 5: Select …
How To Call GetGridHtml Recursive ?
I want to use the current or parent’s DocType grid property in a view. Is there a way to make a call to GetGridHtml recursively, similar to GetPropertyValue’s ability to pass a boolean as the second paramater? I can do something like this. @Html.GetGridHtml(Model.Content.GetProperty(“propertyAlias”, recurse: …
Avocode can make developer work easy
How can Avocode help Developer? You can open and inspect Photoshop/Sketch designs without Photoshop or Sketch at all. Or you can export image assets, copy text and CSS, grab colors, gradients and fonts information, measure distances between elements, and save optimized image assets for production. …
Application is being rejected by Apple due to “LEGAL: INTELLECTUAL PROPERTY – APPLE PRODUCTS”
Under the apple review guidelines section 5.2.3 Audio/Video Downloading: Apps should not facilitate illegal file sharing or include the ability to save, convert, or download media from third party sources (e.g. Apple Music, YouTube, SoundCloud, Vimeo, etc.) without explicit authorization from those sources. Streaming of …
Power of the GPUImageFilters in Swift.
We used below swift functions for effects on image: func getSepiaImage(image : UIImage , intensity : CGFloat) -> UIImage{ sepiaFilter = GPUImageSepiaFilter() sepiaFilter.intensity = intensity let outputImage = sepiaFilter.image(byFilteringImage: image)! as UIImage return outputImage } //to get high contrast image filter func getHighContrastImage(image : UIImage, …
How to log request and response body with Retrofit-Android?
Below code is working for both with header and without header to print log request & response. Note: Just comment .addHeader() line if are not using header.

PUG/JADE Template
What is PUG//JADE Template ? Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers… PUG//JADE Attributes. Tag attributes look similar to html (with optional comma), but their values are just regular JavaScript. PUG/JADE CODE a(href=’https://www.google.com’ …