git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| import org.apache.poi.ss.usermodel.* | |
| import org.apache.poi.hssf.usermodel.* | |
| import org.apache.poi.xssf.usermodel.* | |
| import org.apache.poi.ss.util.* | |
| import org.apache.poi.ss.usermodel.* | |
| import java.io.* | |
| class GroovyExcelParser { | |
| //http://poi.apache.org/spreadsheet/quick-guide.html#Iterator |
| // ==UserScript== | |
| // @name ingress.com/intel chat improvements | |
| // @description Small improvements to the Ingress Chat at ingress.com/intel. 1. Better distinction between public/faction chat. Prevents accidentally posting to public. 2. Switch to faction chat by default. 3. Ability to hide automated messages (will consume a LOT of CPU though, so beware). 4. Scrolling up in chat issmoother (less “Loading…”) 5. Bits and pieces. | |
| // @namespace https://gist.github.com/4415985 | |
| // @updateURL https://gist.github.com/raw/4415985/ingress_intel_chat_improvements.user.js | |
| // @downloadURL https://gist.github.com/raw/4415985/ingress_intel_chat_improvements.user.js | |
| // @include http://www.ingress.com/intel* | |
| // @version 8 | |
| // ==/UserScript== |
| // Java System properties | |
| // ======================= | |
| // http://docs.oracle.com/javase/tutorial/essential/environment/properties.html | |
| // http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html | |
| /* | |
| Key Meaning | |
| ================ | |
| "file.separator" Character that separates components of a file path. This is "/" on UNIX and "\" on Windows. | |
| "java.class.path" Path used to find directories and JAR archives containing class files. Elements of the class path are separated by a platform-specific character specified in the path.separator property. | |
| "java.home" Installation directory for Java Runtime Environment (JRE) |
| // GitLab Settings | |
| def gitUrl = 'http://git/api/v3' | |
| def privateToken = 'xYxYxYxYxYxYxYxYxYxY' | |
| def currentPage = 1 | |
| def projectsPerPage = 100 | |
| // Reading projects from GitLab REST API | |
| def projectList = new URL("${gitUrl}/projects/all?page=${currentPage}&per_page=${projectsPerPage}&private_token=${privateToken}") | |
| def projects = new groovy.json.JsonSlurper().parse(projectList.newReader()) | |
| projects.each { |
| // The following data should be run in the console while viewing the page https://read.amazon.com/ | |
| // It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
| var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024); | |
| getAmazonCsv = function() { | |
| // Set header for CSV export line - change this if you change the fields used | |
| var csvData = "ASIN,Title,Authors,PurchaseDate\n"; | |
| db.transaction(function(tx) { |
| // The following data should be run in the console while viewing the page https://read.amazon.com/ | |
| // It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
| var db = openDatabase('K4W', '2', 'thedatabase', 1024 * 1024); | |
| getAmazonCsv = function() { | |
| // Set header for CSV export line - change this if you change the fields used | |
| var csvData = "ASIN,Type,Title,Authors,PurchaseDate\n"; | |
| db.transaction(function(tx) { |
| version: '2' | |
| services: | |
| memcached: | |
| image: memcached | |
| app: | |
| image: user/app | |
| environment: | |
| RAILS_ENV: development |