Skip to content

Instantly share code, notes, and snippets.

View mfejczaruk's full-sized avatar

Mateusz Fejczaruk mfejczaruk

View GitHub Profile
docker-compose rm --all && docker-compose build --no-cache && docker-compose up -d --force-recreate
for number in `seq 66 122`; do curl -O -J 'http://127.0.0.210:8080/tta/downloadLog/$number' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' -H 'Referer: http://127.0.0.210:8080/tta/transfer/122' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.9' -H 'Cookie: remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IjFta09zOUVuWGpMb3lHSHlFUmd4R3c9PSIsInZhbHVlIjoiN0xWdGRyQXN2SjJiazc0eWZYZUFJWEJcLzdvUnA0c0dsb1R5TzBkYlpFRnRFQjRQV3dlaW8yVlJxK1lFdG9DcFk5M1N0WGlUWUhLUEErK2xDMVVVNlNna1paWG94Rk02U1ZaVDJVZ2ZEUXF1U3JTbnNNc1VFcXRma1hxR0ZpTG40VjliYnRSNFM2SGFtTGNGZklOY3BPTEczWkQ1a0JDZmZnbWp1NkpUdlpBa2wyY0tiaDVYOEtsRzhoWFFGQWFWUyIsIm1hYyI6IjRiYTUxMThiMzYzN2VjMzFiMjJjNTI1MTVlN2RkNDBmMDFkM2M1ZWY3NDVhNzgwMmI0NTVhNTQxZTM2NDM2YTQifQ%3D%3D
@mfejczaruk
mfejczaruk / setup.md
Created October 23, 2016 19:20 — forked from chris-jamieson/setup.md
Set up Franz for Ubuntu
  • Download Franz for your distribution from MeetFranz.com
  • change into the same directory as the downloaded file, then sudo tar -xf Franz-linux-x64-0.9.10.tgz -C /opt/franz
  • (optional) wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O franz-icon.png then sudo cp franz-icon.png /opt/franz
  • (optional) sudo touch /usr/share/applications/franz.desktop then sudo vim /usr/share/applications/franz.desktop

paste the following lines into the file, then save the file:

[Desktop Entry]
Name=Franz
Comment=
@mfejczaruk
mfejczaruk / install.sh
Last active November 17, 2016 11:57 — forked from emgiezet/install.sh
Oro install and recreate db
#!/bin/bash
application=$1
env=$2
if [ -z "$application" ]; then echo "application must be passed as an argument"; exit; fi
if [ -z "$env" ]; then
echo "env set to dev";
env='dev';