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
export TERM="xterm-color" | |
alias ls="ls -G" | |
export PS1='\[\033[01;30m\][\w]\[\033[00m\]\$ ' | |
# Developer/usr/bin | |
export PATH=$PATH:/Developer/usr/bin | |
export PATH=$PATH:/Users/diorahman/QtSDK/Desktop/Qt/4.8.0/gcc/bin | |
export NODE_PATH=/usr/local/lib/node_modules | |
# mvim |
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 request = require('request') | |
var express = require('express') | |
var server = express.createServer() | |
server.get('/image', function(req, res){ | |
var url = req.query.url ? req.query.url : "" | |
if(url) | |
request(url).pipe(res) | |
else | |
res.send(400) |
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
server.all('/twitter/:version/:resource?/:id?/:endpoint', function(req, res, next){ | |
var oauth = { | |
consumer_key: CONSUMER_KEY, | |
consumer_secret: CONSUMER_SECRET, | |
token : "17058778-hl3kiwpXnSW0H8Iup3YInX9Pk0McTwMOPN9ezS4Ly", | |
token_secret : "9cRTAQHDo8ds9J9U4GfxAnWd6ngPZiztyY5zMvOK7k" | |
} | |
var header = req.headers['content-type'] ? req.headers['content-type'] : ""; | |
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
$.ajax({ | |
url: 'http://beda.dio.jit.su/ping', | |
contentType: 'application/json', | |
dataType: 'json', | |
data: {}, | |
type: 'POST', | |
beforeSend: function(xhr) { | |
xhr.setRequestHeader('x-Token-Sns','Test'); // header key name case-insensitive | |
} | |
}) |
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
./pagekite.py --clean --frontend=localhost:12345 --service_on=http:localhost:localhost:8000:dio10201 | |
./pagekite.py --clean --isfrontend --ports=12345 --domain=http:localhost:dio10201 | |
./pagekite.py --clean --frontend=http:planck.aegis.co.id:12345 --service_on=http:planck.aegis.co.id:localhost:8000:dio10201 | |
./pagekite.py --clean --isfrontend --ports=12345 --domain=http:planck.aegis.co.id:dio10201 | |
./pagekite.py --clean --isfrontend --ports=12345 --domain=http:planck.aegis.co.id:dio10201 |
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
a.n Fintiawati Nurrahmah | |
No. 1310001096397 | |
Bank Address: | |
Mandiri KCP Bandung Kanpus Telkom | |
Gedung Kantor Pusat PT Telkom, Jl. Japati No. 1 | |
(022) 7206661 | |
SWIFT Code: BMRIIDJA |
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
**PAGE KITE** | |
1. ON THE SERVER | |
-> set the frontend, maybe you'll need screen or upstart | |
$ screen -list | |
$ screen | |
On the server | |
root@rezafaisal:~/kite# ./pagekite.py --clean --isfrontend --ports=12345 --domain=http:beta.kertasapp.com:dio10201 | |
>>> Hello! This is pagekite.py v0.5.2d. [CTRL+C = Stop] |
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
=================================== | |
ORDERING @rockybars from @cokelatia | |
=================================== | |
**HOW TO** | |
Send message to, | |
- e-mail ([email protected]), | |
- sms (+62 22 70831808) |
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
#KITE# | |
#SERVER | |
./pagekite.py --clean --isfrontend --ports=12345 --domain=http:beta.kertasapp.com:dio10201 | |
#CLIENT (LOCALHOST) | |
./pagekite.py --clean --frontend=beta.kertasapp.com:12345 --service_on=http:beta.kertasapp.com:localhost:8000:dio10201 |
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
Entry in the QtCreator.ini file | |
(http://projects.developer.nokia.com/remotecompiler/ticket/42) | |
[wcc] | |
FnUserName=diorahman | |
LicenseAccepted=true | |
SessionId="@ByteArray(qt-remote-tools-session-id=WCOoD3RvanmxuVKTzGoI5fedXf; | |
path=/)" | |
Version=0 |