This file contains hidden or 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
#!/bin/bash | |
# Argument = -h -v -i groupId:artifactId:version -c classifier -p packaging -r repository | |
#shopt -o -s xtrace | |
# Define Nexus Configuration | |
NEXUS_BASE=http://repository.example.com:8081/nexus | |
REST_PATH=/service/local | |
ART_REDIR=/artifact/maven/redirect |
This file contains hidden or 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
#!/bin/bash | |
# Convert Originals to Web Images | |
for IMAGE in `find ./orig -name "*.png"` | |
do | |
DEST_IMAGE=./web/`basename $IMAGE` | |
if [[ ! -e $DEST_IMAGE || $IMAGE -nt $DEST_IMAGE ]] | |
then | |
convert $IMAGE -verbose -compress jpeg \ | |
-quality 80 -bordercolor None -border 10x10 \ |
This file contains hidden or 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
import groovy.json.JsonSlurper | |
import groovy.json.JsonBuilder | |
apply plugin: 'java' | |
apply plugin: 'maven' | |
def repo = "http://localhost:8081/nexus/" | |
task stage_close(type: StagingCloseTask) | |
task stage_list(type: StagingListTask) |
This file contains hidden or 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
select | |
blog_post.id, | |
author.name, | |
author.email, | |
blog_post.date, | |
blog_post.rating, | |
(select | |
blog_comments.email as "user", | |
blog_comments.upvotes as "upVotes", | |
blog_comments.downvotes as "downVotes", |
This file contains hidden or 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
from sqlalchemy_akiban import nested | |
stmt = nested([order.c.ordernum, order.c.timestamp]).\ | |
where(order.c.customer_id == customer.c.id) | |
stmt = select([customer.c.name, stmt.label('orders')]) | |
for customer_row in connection.execute(stmt): | |
print "customer name:", customer_row['name'] | |
for order_row in customer_row['orders']: | |
print "ordernum:", order_row['ordernum'] |
This file contains hidden or 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
ivy { | |
url "http://maven.java.net/content/groups/promoted/" | |
} |
This file contains hidden or 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
apply plugin: 'eclipse' | |
apply plugin: 'scala' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile 'org.scala-lang:scala-library:2.9.1' | |
} |
This file contains hidden or 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
├── html | |
│ ├── contactadministrator.vm | |
│ ├── filtersubscription.vm | |
│ ├── includes | |
│ │ ├── emailconstants.vm | |
│ │ ├── fields | |
│ │ │ ├── affectsversions.vm | |
│ │ │ ├── assignee.vm | |
│ │ │ ├── attachments.vm | |
│ │ │ ├── changelog.vm |
This file contains hidden or 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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.3' | |
} | |
} | |
apply plugin: 'android' |
This file contains hidden or 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
apply plugin: "cpp-exe" | |
executables { | |
main { | |
spec { | |
args "-fno-access-control", "-fconserve-space" | |
} | |
} | |
} |
OlderNewer