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 com.github.tomakehurst.wiremock.common.FileSource | |
import com.github.tomakehurst.wiremock.common.IdGenerator | |
import com.github.tomakehurst.wiremock.common.UniqueFilenameGenerator | |
import com.github.tomakehurst.wiremock.common.VeryShortIdGenerator | |
import com.github.tomakehurst.wiremock.http.* | |
import com.github.tomakehurst.wiremock.matching.RequestPattern | |
import com.github.tomakehurst.wiremock.matching.ValuePattern | |
import com.github.tomakehurst.wiremock.stubbing.Scenario | |
import com.github.tomakehurst.wiremock.stubbing.StubMapping |
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
git for-each-ref --count=1 --sort=-taggerdate --format='%(refname:short)' |
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
sudo find libdir/ -name "*.jar" -exec zipgrep -n "Your String Here" '{}' \; |
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
$catalogVersion=catalogVersion(catalog(id[default='electronicsProductCatalog']),version[default='Online'])[unique=true,default='electronicsProductCatalog:Online'] | |
INSERT_UPDATE PriceRow;$catalogVersion;unit(code);price;currency(isocode)[unique=true];channel(code)[unique=true];product(code,$catalogVersion)[unique=true] | |
;;pieces;20.00;USD;;107701 | |
;;pieces;12.34;USD;"mobile";107701 | |
;;pieces;15.00;USD;"desktop";107701 |
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
expand -t 4 "$1" > /tmp/expand.tmp | |
mv /tmp/expand.tmp "$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
find . -not \( -name *.svn -prune \) -type f -exec grep -ril HelloWorld {} \; |
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
find . -type d -name .svn -exec rm -rf {} \; |
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 cgi | |
from google.appengine.ext import db | |
from google.appengine.api import users | |
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp.util import run_wsgi_app | |
class Greeting(db.Model): | |
author = db.UserProperty() | |
content = db.StringProperty(multiline=True) |
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
http://wiki.locaweb.com.br/pt-br/Usando_GIT_na_Hospedagem_Linux |
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
<property name="connection.datasource">jdbc/MeuDataSource</property> |