Skip to content

Instantly share code, notes, and snippets.

{
"searchCriteria":"VIN:1N4AA5AP6DC820278",
"count":116,
"message":"Results returned successfully",
"results":[
{
"valueId":"",
"variable":"Suggested VIN",
"value":"",
"variableId":142
/*Los imports, que son un buen*/
@Named
public class MyStored extends StoredProcedure{
private JdbcTemplate firstTemplate;
private JdbcTemplate secondTemplate;
@Inject
public MyStored(DataSource firstDataSource,
#!/bin/sh
# For mac it's better to use gsed
# install it from Hombebrew (brew install gnu-sed).
# In case you're using GNU/Linux you can simply use sed.
cat my.xml.file | grep -i markup-tag-to-find | gsed -r 's/<\/?markup-tag-to-find>//g'
#!/bin/sh
function saveFileLocation(){
echo $(pwd)/$@;
}
#usage:
#> x=`saveFileLocation file.name.extension`
#> cd /another/folder/away/from/folder
# several operations right after that
@orenteriab
orenteriab / openapp.sh
Created May 12, 2015 14:04
Small function to open apps in the mac, include in your .*profile or .*rc
#usage:
# -> openapp Safari
function openapp(){
open "/Applications/$@.app"
}