This file contains 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
ext_if = "rl0" # macro for external interface - use tun0 for PPPoE | |
int_if = "bge0" # macro for internal interface | |
int_net = "192.168.2.0/24" | |
pass out on $ext_if from $int_if:network to any nat-to ($ext_if) |
This file contains 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
{ | |
"type": "Point", | |
"coordinates": [ | |
-7.794337, | |
110.355177 | |
], | |
"properties": { | |
"marker-size": "large", | |
"marker-symbol": "star", |
This file contains 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
{ | |
"type": "Point", | |
"coordinates": [ | |
-7.794337, | |
110.355177 | |
], | |
"properties": { | |
"marker-size": "large", | |
"marker-symbol": "star", |
This file contains 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
{ | |
"type": "Point", | |
"coordinates": [ | |
110.37805080413818, | |
-7.793082580141326 | |
], | |
"properties": { | |
"marker-size": "large", | |
"marker-symbol": "star", | |
"What": "Passion Projects", |
This file contains 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
update-rc.d logstash-shipper defaults | |
update-rc.d logstash-reader defaults |
This file contains 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
# force HTTP to HTTPS - /etc/nginx/conf.d/nonssl.conf | |
server { | |
listen 80; | |
server_name jira.example.com; | |
access_log off; | |
return 301 https://$server_name$request_uri; | |
} | |
# /etc/nginx/conf.d/jira.conf | |
server { |
This file contains 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
<?php | |
/** | |
* Easiest to use composer to install google-api-php-client and generate autoloader | |
* If you dont want to use composer you can manually include any needed files | |
*/ | |
include_once 'vendor/autoload.php'; | |
/** | |
* Client ID from https://console.developers.google.com/ | |
* Must be added in Google Apps Admin console under Security -> Advanced -> Manage API client access |
This file contains 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
dhanuxe@plox:~$ mkdir ~/local2 | |
dhanuxe@plox:~$ cd ~/local2/ | |
dhanuxe@plox:~/local2$ wget -c http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.bz2 | |
dhanuxe@plox:~/local2$ tar -xf ruby-1.9.2-p180.tar.bz2 | |
dhanuxe@plox:~/local2$ cd ruby-1.9.2-p180 | |
dhanuxe@plox:~/local2/ruby-1.9.2-p180$ ./configure --prefix=/home/dhanuxe/local2/ruby | |
dhanuxe@plox:~/local2/ruby-1.9.2-p180$ make | |
================cut=========== | |
No definition for rb_io_print |
This file contains 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
!/usr/bin/env python | |
import tweepy | |
CONSUMER_KEY = 'Cud4jdfAAwf9hKnAERjjvg' | |
CONSUMER_SECRET = 'lzRScymdaUanhVq5k7PrTQKM77EtH8yFN6kvhkRn0QA' | |
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) | |
auth_url = auth.get_authorization_url() | |
print 'Please authorize: ' + auth_url |
This file contains 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
(11:26:44) x-deanet: wes tau nyobo hadoop mbah ? | |
(11:27:01) Ferik Fathun Najah: aku dong bar adus juga mesti nganggo hadoop | |
(11:28:00) x-deanet: kwkw | |
(11:28:12) x-deanet: kui kulit wedhus | |
(11:28:20) x-deanet: bar dikelet i | |
(11:28:24) x-deanet: kulit e | |
(11:28:37) x-deanet: terus di pepe | |
(11:28:48) x-deanet: hadoop e dimasak | |
(11:28:54) x-deanet: gule hadoop | |
(11:28:57) x-deanet: maknyusss |
OlderNewer