* List item
* Indented list item 1\
item 1 line two\
item 1 line three
* Indented list item 2
This file contains 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
#! /usr/bin/env groovy | |
def project = new XmlSlurper().parse(new File('pom.xml')) | |
def versionNodes = project.properties.children().findAll { it.name().endsWith('.version') } | |
def versions = [:] | |
for (versionNode in versionNodes) { | |
versions[versionNode.name()] = versionNode.text() | |
} | |
for (dependency in project.dependencies.dependency) { | |
print " compile('${dependency.groupId.text()}:${dependency.artifactId.text()}:" |
This file contains 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
#! /usr/bin/env groovy | |
def i = 1 | |
def map = [value:i] | |
i = i + 1 | |
println map |
This file contains 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
------------------------------------------------------------ | |
Environment | |
------------------------------------------------------------ | |
StaxRip version: 1.1.8.0 | |
OS Name : Windows 8 Pro | |
OS Version : 6.2.9200.0 | |
OS Type : 64-bit | |
OS Culture : English (United States) |
This file contains 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
# Description: | |
# Anyone can have voice or op | |
# | |
# Commands: | |
# hubot make me an op | |
# hubot make <name> an op | |
# hubot give me voice | |
# hubot give <name> voice | |
module.exports = (robot) -> |
This file contains 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
#!/usr/bin/env ruby | |
# Requires these libraries | |
# | |
# $ gem install colorize, open4 | |
# sudo service bluetooth restart | |
# or | |
# sudo /etc/init.d/bluetooth restart |
This file contains 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
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'flickraw' | |
require 'open-uri' | |
require 'set' | |
require 'zaru' | |
def download_page(destination_dir:, page:) | |
count = 0 |
This file contains 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
" 'nocompatible' is the default for user .vimrcs. Consider setting it for a shared file. https://vimdoc.sourceforge.net/htmldoc/starting.html#compatible-default | |
"set nocompatible | |
" Auto-indentation on for known file types. | |
if has('filetype') | |
filetype indent plugin on | |
endif | |
" Syntax highlighting | |
if has('syntax') |