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
| var boysSection = false; | |
| var test = $('#mw-content-text p a').map(function(data, w) { | |
| var $name = $(w); | |
| var name = $name.text(); | |
| if (name == "Aad") boysSection = true; | |
| var isBoy = boysSection || $('*:contains("'+name+' (+m)")').length > 0; | |
| var isGirl = !boysSection || $('*:contains("'+name+' (+v)")').length > 0; |
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
| import android.graphics.Bitmap; | |
| import android.util.Log; | |
| import com.squareup.picasso.Transformation; | |
| /** | |
| * Created by Sander Versluys on 21/10/14. | |
| */ | |
| public class BlurTransform implements Transformation { |
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
| #!/bin/bash | |
| file=$1 | |
| function tile() { | |
| convert $file -scale ${s}%x -crop 256x256 \ | |
| -set filename:tile "%[fx:page.x/256]_%[fx:page.y/256]" \ | |
| +repage +adjoin "${file%.*}_${s}_%[filename:tile].${file#*.}" | |
| } | |
| s=100 | |
| tile | |
| s=50 |
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
| { | |
| "labels": [ | |
| { "value": 0.0 }, { "value": 0.1 }, { "value": 0.2 }, { "value": 0.3 }, { "value": 0.4 }, | |
| { "value": 0.5 }, { "value": 0.6 }, { "value": 0.7 }, { "value": 0.8 }, { "value": 0.9 }, | |
| { "value": 1.0 }, { "value": 1.1 }, { "value": 1.2 }, { "value": 1.3 }, { "value": 1.4 }, | |
| { "value": 1.5 }, { "value": 1.6 }, { "value": 1.7 }, { "value": 1.8 }, { "value": 1.9 }, | |
| { "value": 2.0 }, { "value": 2.1 }, { "value": 2.2 }, { "value": 2.3 }, { "value": 2.4 }, | |
| { "value": 2.5 }, { "value": 2.6 }, { "value": 2.7 }, { "value": 2.8 }, { "value": 2.9 }, | |
| { "value": 3.0 }, { "value": 3.1 }, { "value": 3.2 }, { "value": 3.3 }, { "value": 3.4 }, | |
| { "value": 3.5 }, { "value": 3.6 }, { "value": 3.7 }, { "value": 3.8 }, { "value": 3.9 }, |
OlderNewer