Skip to content

Instantly share code, notes, and snippets.

View straxico's full-sized avatar
🍵
live with tea

mehran motiee straxico

🍵
live with tea
View GitHub Profile
const request = require('request')
const cheerio = require('cheerio')
function alexaStats (domain) {
return new Promise((resolve, reject) => {
request({
url: `http://www.alexa.com/siteinfo/${domain}`,
headers: {
Host: 'www.alexa.com',
Referer: `http://www.alexa.com/siteinfo/${domain}`,
find commit id
wget https://update.code.visualstudio.com/commit:{commit id}/server-linux-x64/stable
cd ~/
wget http://proxy.com/vscode/stable
cd ~/.vscode-server/bin/{commit id}
tar -xvzf ~/stable --strip-components 1