Import public gpg key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 74A941BA219EC810
edit /etc/apt/sources.list and add:
deb http://deb.torproject.org/torproject.org trusty main
Install tor
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378498): Version: 1.0.17-20161003160026+ecdaf34 | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378499): Error: Error: No installer path | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378610): RPC [I] localhost: connection established | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378715): Check bounds: { x: 7, y: 378, width: 800, height: 625 } { x: 0, y: 0, width: 1920, height: 1080 } { x: 0, y: 0, width: 1920, height: 1080 } | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378769): Opened at login: false | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378769): Is restore: false | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378769): Open hidden: false | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378769): Hide main window: true | |
log: Thu Oct 06 2016 10:59:38 GMT+0200 (CEST) (1475744378769): Hide dock icon: false | |
From Keybase: log: Thu Oct 06 2016 10:59:40 GMT+0200 (CEST) (1475744380101): Transport using /run/ |
Import public gpg key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 74A941BA219EC810
edit /etc/apt/sources.list and add:
deb http://deb.torproject.org/torproject.org trusty main
Install tor
[0FBC:07C8][2016-08-04T11:43:00]i001: Burn v3.10.2.2516, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\Pablo\AppData\Local\Temp\{927AC074-995D-480D-BAEE-C10153FC41DB}\.cr\keybase_setup_386.exe | |
[0FBC:07C8][2016-08-04T11:43:00]i000: Initializing string variable 'DokanProduct64' to value '{65A3A964-3DC3-0100-0000-160621082245}' | |
[0FBC:07C8][2016-08-04T11:43:00]i000: Initializing string variable 'DokanProduct86' to value '{65A3A986-3DC3-0100-0000-160621082245}' | |
[0FBC:07C8][2016-08-04T11:43:00]i009: Command Line: '-burn.clean.room=C:\Users\Pablo\Downloads\keybase_setup_386.exe' | |
[0FBC:07C8][2016-08-04T11:43:00]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Pablo\Downloads\keybase_setup_386.exe' | |
[0FBC:07C8][2016-08-04T11:43:00]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Pablo\Downloads\' | |
[0FBC:07C8][2016-08-04T11:43:00]i000: Setting string variable 'LOGPATH_PROP' to value 'C:\Users\Pablo\AppData\Local\Temp\Keybase_20160804114300.log' | |
[0FBC:0 |
<?php | |
$mac_address = "FC:FB:FB:01:FA:21"; | |
$url = "https://api.macvendors.com/" . urlencode($mac_address); | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
$response = curl_exec($ch); | |
if($response) { | |
echo "Vendor: $response"; |
From https://github.com/jeqo/kafka-mirror-maker-ops
sudo docker-compose up -d
sudo make kafka-topics
# rsync with progress percentage | |
> rsync -ah --no-inc-recursive --info=progress2 source destination |
version: '3' | |
services: | |
graphite: | |
# Not working due to a configuration error :( | |
image: graphiteapp/graphite-statsd:latest | |
container_name: graphite | |
hostname: graphite | |
volumes: |
FROM maven:3.3.3 | |
WORKDIR / | |
COPY ./tlsh/src src | |
COPY ./pom.xml ./ | |
RUN mkdir -p /src/com/idealista/tlsh/ | |
RUN mvn -f pom.xml clean package install | |
WORKDIR /target | |
COPY ./SimpleTest.java ./ | |
RUN javac -cp tlsh-1.0.0.jar SimpleTest.java | |
RUN jar cvf SimpleTest.jar SimpleTest.class |
[Unit] | |
Description=Unified Remote Server | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
PIDFile=$HOME/.urserver/urserver.pid | |
ExecStart=/opt/urserver/urserver-start --no-manager --no-notify | |
ExecStop=/opt/urserver/urserver-stop |
Install packages (debian):
sudo apt-get install -y jpegoptim optipng
Then get wordpress wp-content path, for example /var/www/website-example.com/wp-content/
and run the following commands:
find /var/www/website-example.com/wp-content/ -name "*.png" -exec optipng '{}' \;