// ==UserScript== // @name StackOverflow Remove Questions From Users With Points Lower Than N // @namespace http://stackoverflow.com/ // @include *stackoverflow.com* // @version 1 // @grant none // ==/UserScript== // var items = $(‘[id^=”question-summary-“]’); for (var i = items.length – 1; i >= 0; i–) { var ai = items[i].getElementsByClassName(“reputation-score”); var bi = ai[0].innerText; if(bi < … Read More “Script to remove questions from users with points lower than n” »
Month: October 2016
Here is simple sample: <?xml version=”1.0″ encoding=”UTF-8″?> <kml xmlns=”http://www.opengis.net/kml/2.2″ xmlns:gx=”http://www.google.com/kml/ext/2.2″ xmlns:kml=”http://www.opengis.net/kml/2.2″ xmlns:atom=”http://www.w3.org/2005/Atom”> <Document> <name>PathDemo2.kml</name> <Style id=”draw_line_style”> <LineStyle> <color>7f00ff00</color> <width>3</width> </LineStyle> </Style> <Placemark> <name>RoadDemo</name> <styleUrl>#draw_line_style</styleUrl> <LineString> <coordinates> 20.82081882275383,52.16265118965216,0 20.82080165456582,52.1626334883289,0 …more here </coordinates> </LineString> </Placemark> <Placemark> <name>PinStart</name> <Point> <coordinates>20.82081882275383,52.16265118965216,0</coordinates> </Point> </Placemark> <Placemark> <name>PinStop</name> <Point> <coordinates>20.81953492529408,52.16128910670326,0</coordinates> </Point> </Placemark> </Document> </kml>
Here is simple script in bash to covert epub to mobi. #!/bin/bash clear; for entry in *.epub; do ebook-convert “$entry” “$entry.mobi” done
In case You had problem with: Error:Could not find com.android.tools.build:gradle:2.2.0. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar Required by: :YOUR_PROJECT:unspecified Don’t forget modify root build.gradle and add jcenter() It would look like this: buildscript { repositories { jcenter() mavenCentral() } dependencies { classpath ‘com.android.tools.build:gradle:2.2.0’ classpath ‘com.google.gms:google-services:3.0.0’ } } allprojects { repositories { mavenCentral() } }