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
git clone REPO_URL | |
cd REPO_DIR | |
git fetch --all --tags --prune | |
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`) | |
git checkout $latestTag |
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
root@manager:~/pcaps# time ndpiReader -i wrccdc2012.pcap | |
----------------------------------------------------------- | |
* NOTE: This is demo app to show *some* nDPI features. | |
* In this demo we have implemented only some basic features | |
* just to show you what you can do with the library. Feel | |
* free to extend it and send us the patches for inclusion | |
------------------------------------------------------------ | |
Using nDPI (2.9.0-1539-53119e7) [1 thread(s)] |
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
-server | |
-Xms2g | |
-Xmx2g | |
-Xss16m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m | |
-XX:ParallelGCThreads=4 | |
-XX:MaxTenuringThreshold=1 | |
-XX:SurvivorRatio=8 | |
-XX:+UseCodeCacheFlushing |
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 | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
import json | |
from bs4 import BeautifulSoup | |
import random | |
from termcolor import colored | |
import time | |
import requests |
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
Verifying that +halidaltuner is my blockchain ID. https://onename.com/halidaltuner |
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
2015-02-19 18:03:40.453 6986 ERROR neutron.agent.linux.ovsdb_monitor [-] Error received from ovsdb monitor: ovsdb-client: unix:/var/run/openvswitch/db.sock: receive failed (End of file) | |
2015-02-19 18:03:40.538 6986 ERROR neutron.agent.linux.utils [-] | |
Command: ['ps', '--ppid', '7114', '-o', 'pid='] | |
Exit code: 1 | |
Stdout: '' | |
Stderr: '' | |
2015-02-19 18:03:41.247 6986 CRITICAL neutron [req-41560fa8-8cda-4860-9d6f-e016963ec90e None] AssertionError: Trying to re-send() an already-triggered event. | |
2015-02-19 18:03:41.247 6986 TRACE neutron Traceback (most recent call last): | |
2015-02-19 18:03:41.247 6986 TRACE neutron File "/usr/bin/neutron-openvswitch-agent", line 10, in <module> | |
2015-02-19 18:03:41.247 6986 TRACE neutron sys.exit(main()) |
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
# We only have one backend to define: NGINX | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
# Only allow purging from specific IPs | |
acl purge { | |
"localhost"; | |
"127.0.0.1"; |
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
upstream glassfish_server { | |
server 127.0.0.1:8080 fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name berat.com; | |
return 301 https://$server_name$request_uri; | |
} | |
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
#!/bin/bash | |
## Iptables example ruleset | |
## James Stephens ([email protected]) | |
## http://www.sns.ias.edu/~jns/ | |
## ============================================================ | |
# | |
# Load appropriate modules. | |
modprobe ip_tables |
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
# for golang | |
# mkdir $HOME/go | |
# mkdir -p $GOPATH/src/github.com/user | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOPATH/bin |
NewerOlder