Skip to content

Instantly share code, notes, and snippets.

View dotemacs's full-sized avatar

Александар Симић dotemacs

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ccr="urn:callcredit.co.uk/soap:callreport7" xmlns="urn:callcredit.co.uk/soap:callreport7" targetNamespace="urn:callcredit.co.uk/soap:callreport7" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation>CallReport System Schema</xs:documentation>
<xs:appinfo>
<ccr:major>7</ccr:major>
<ccr:minor>0</ccr:minor>
<ccr:build>0</ccr:build>
<ccr:revision>17</ccr:revision>
</xs:appinfo>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="urn:callcredit.co.uk/soap:callreport7">
<soapenv:Header>
<soap:callcreditheaders>
<soap:company>XXX</soap:company>
<soap:username>XXX</soap:username>
<soap:password>XXX</soap:password>
</soap:callcreditheaders>
</soapenv:Header>
<soapenv:Body>
<soap:Search07a>
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="urn:callcredit.co.uk/soap:callreport7">
<soapenv:Header>
<soap:callcreditheaders>
<!-- valid credentials go here -->
<soap:company>XXX</soap:company>
<soap:username>XXX</soap:username>
<soap:password>XXX</soap:password>
</soap:callcreditheaders>
</soapenv:Header>
#!/bin/sh
#
# Originally written by Corey Haines
# Scriptified by Gary Bernhardt
#
# Tweaked by me, @dotemacs:
# - changed it from Bash to Bourne shell
# - made the files with most churn print first
# - improved the sort/uniq flow
#
And it bombs out:
Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.5fSyAo/XQuartz.pkg -target /' returned 1: installer: Package name is XQuartz 2.7.4
installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.
Error: /Stage[main]/Xquartz/Package[XQuartz]/ensure: change from absent to present failed: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.5fSyAo/XQuartz.pkg -target /' returned 1: installer: Package name is XQuartz 2.7.4
installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.
Notice: /Stage[main]//Node[default]/Package[gnu-tar]/ensure: created
Notice: /Stage[main]/Git/Package[boxen/brews/git]/ensure: created
$ lein search postgresql
Searching over Artifact ID...
== Showing page 1 / 12
[postgresql "9.0-801.jdbc4"] The PostgreSQL Driver JDBC4
[postgresql "9.0-801.jdbc4" :classifier "sources"] The PostgreSQL Driver JDBC4
[postgresql "9.0-801.jdbc4" :classifier "javadoc"] The PostgreSQL Driver JDBC4
[postgresql "9.0-801.jdbc3"] The PostgreSQL Driver JDBC3
[postgresql "9.0-801.jdbc3" :classifier "sources"] The PostgreSQL Driver JDBC3
[postgresql "9.0-801.jdbc3" :classifier "javadoc"] The PostgreSQL Driver JDBC3
[postgresql "8.4-702.jdbc4"] The PostgreSQL Driver JDBC4
Downloading Leiningen to /Users/alex/.lein/self-installs/leiningen-2.3.0-standalone.jar now...
/Users/alex/bin/lein: line 57: /Users/alex/.lein/self-installs/leiningen-2.3.0-standalone.jar.pending: No such file or directory
/Users/alex/bin/lein: line 63: download_failed_message: command not found
$ lein version
+ export LEIN_VERSION=2.3.0
+ LEIN_VERSION=2.3.0
+ case $LEIN_VERSION in
+ SNAPSHOT=NO
+ [[ darwin11 == \c\y\g\w\i\n ]]
+ [[ darwin11 == \m\s\y\s ]]
+ delimiter=:
+ [[ darwin11 == \c\y\g\w\i\n ]]
+ cygwin=false
$ env | grep HTTP
HTTP_CLIENT=curl --insecure -f -L -o
$ lein version
Downloading Leiningen to /Users/alex/.lein/self-installs/leiningen-2.4.0-SNAPSHOT-standalone.jar now...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403
Failed to download https://leiningen.s3.amazonaws.com/downloads/leiningen-2.4.0-SNAPSHOT-standalone.jar
(try
(run-main project (first args))
(catch Exception e
(prn "error 0"))
(catch FileNotFoundException e
(prn "error 1"))
(finally (prn "ninjas"))))