Skip to content

Instantly share code, notes, and snippets.

View ubermichael's full-sized avatar

Michael Joyce ubermichael

View GitHub Profile
@ubermichael
ubermichael / Clone all repositories
Created September 23, 2021 23:36
Clone all repositories
```shell
for u in $(hub api orgs/$ORGNAME/repos | jq '.[].ssh_url' | sed -e 's/"//g'); do echo $u; git clone "$u"; done
```
@ubermichael
ubermichael / build.xml
Last active May 13, 2022 16:34
Example of an ant build.xml file for uploading files to eXistDb with credentials stored in a properties file
<?xml version="1.0" encoding="UTF-8"?>
<project default="xar" name="wilde" xmlns:xdb="http://exist-db.org/ant">
<description>Wilde Trials International News Archive</description>
<property name="host" value="localhost"/>
<property file="${host}.properties"/>
<path id="classpath.core">
<fileset dir="${local.dir}/lib">
<include name="*.jar"/>