$ convert your.jpg -transparent white your.png
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
| { | |
| "any.unknown": "no esta permitido", | |
| "any.invalid": "contiene un valor invalido", | |
| "any.empty": "no está permitido que sea vacío", | |
| "any.required": "es requerido", | |
| "any.allowOnly": "debería ser uno de las siguientes variantes: {{valids}}", | |
| "any.default": "emitió un error cuando se ejecutó el metodo default", | |
| "alternatives.base": "no coincide con ninguna de las alternativas permitidas", | |
| "array.base": "debe ser un array", | |
| "array.includes": "en la posición {{pos}} no coincide con ninguno de los tipos permitidos", |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
| <title>Site Title</title> | |
| <link rel="stylesheet" href="/assets/css/style.min.css"> |
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
| NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
| Download the following ZIPs: | |
| ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
| Download the correct GApps for your Android version: | |
| Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
| Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
| Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
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
| namespace :image_compression do | |
| desc 'Optimize images with pngcrush and jpegoptim' | |
| task :process do | |
| # Check for pngcrush | |
| if (!`which pngcrush`.empty? rescue false) # rescue on environments without `which` (windows) | |
| # Crush all .png files | |
| run "find #{shared_path}/assets/ -type f -name '*.png' -print0 | xargs -0 pngcrush -q -e .crushed" |
Gittr.rb
Git as a key-value store! Build with Grit, it supports SET, GET, KEYS, and DELETE operations. In addition, we can also get the change history of key/values.
And since it's Git, we can easily enhance it to include other awesome Git features such as branches, diffs, reverting, and more!
Example:
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
| # -------------------------------------------------------------------- | |
| # An implementation of a "weave" maze (with over/under passages), | |
| # using the Growing Tree maze generation algorithm. | |
| # -------------------------------------------------------------------- | |
| # -------------------------------------------------------------------- | |
| # Helper data and methods | |
| # -------------------------------------------------------------------- | |
| N, S, E, W, U = 0x01, 0x02, 0x04, 0x08, 0x10 |