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/sh | |
code --install-extension donjayamanne.githistory | |
code --install-extension eamodio.gitlens | |
code --install-extension EditorConfig.EditorConfig | |
code --install-extension GabrielBB.vscode-lombok | |
code --install-extension mhutchie.git-graph | |
code --install-extension ms-azuretools.vscode-docker | |
code --install-extension Pivotal.vscode-boot-dev-pack | |
code --install-extension Pivotal.vscode-spring-boot |
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 | |
# | |
# Install Dev & Tool package | |
# | |
# Eclipse Adoptium GPG key | |
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add - | |
# Configure the Eclipse Adoptium apt repository |
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 | |
# | |
# Install Dev & Tool package | |
# | |
apt update | |
apt install wget git libaio1 g++ make python unzip -y | |
apt clean | |
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 | |
cast((oi * sh.star_rating) as float4) as score, | |
-- oi as score, | |
sh.htl_id as htl_id, | |
sh.htl_name as htl_name, | |
hoteldb.get_htl_enames(cast(sh.htl_id as text)) as htl_ename, | |
sh.star_rating as star_rating, | |
sh.geo_info -> 'Country' ->> 'Name' as country_name, | |
sh.geo_info -> 'Province' ->> 'Name' as provice_name, | |
sh.geo_info -> 'City' ->> 'Name' as city_name, |
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
package eztravel.airasia.api; | |
import java.rmi.RemoteException; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import newskies.arms.airasia.ARMSWSStub; | |
import newskies.arms.airasia.ArrayOfAvailabilityRequest; |
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
var soap = require('soap'); | |
var url = 'https://testarms.airasia.com/aaws/armsws.asmx?WSDL'; | |
var args = {NSReq: {Username: 'blabla', Password: 'blabla'}}; | |
soap.createClient(url, function(err, client) { | |
client.Login(args, function(err, result){ | |
console.log(result.LoginResult.SessionID); | |
}); | |
}); |
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
Version Control | |
1. github.com | |
2. bitbucket.com | |
Team Site | |
1. www.asana.com | |
2. trello.com | |
3. www.hipchat.com | |
4. evernote.com/intl/zh-tw/business | |
5. c9.io |
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
cd ruby_src_dir/ext/openssl | |
ruby extconf.rb | |
make | |
make install |
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
1. Download nodejs source | |
cd ~ | |
git clone https://github.com/joyent/node.git | |
2. switch branch, if new version exist, use the new version number | |
cd ~/node | |
git checkout v0.5.10 |