Skip to content

Instantly share code, notes, and snippets.

marian mariaanko

Block or report user

Report or block mariaanko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mariaanko
mariaanko / gist:45627611e71f3b4f1e1d40166bb73001
Created Apr 18, 2019
Ospravedlnenie sa za drobnu nehodu...
View gist:45627611e71f3b4f1e1d40166bb73001
Ospravedlnujem sa, ze som pri parkovani buchol do Vasho auta.
Tento problem vyriesime zavolanim na moje telefonne cislo +421 9xx xxx xx.
Ved poistovna pomoze preplatit.
S pozdravom,
Marian Marianko Mariankovic
@mariaanko
mariaanko / web_backup_task.sh
Last active Feb 18, 2019
pre: Łūb Wʼn - odpoved na otazku v skupine vyvojari..prajem svetovy mier
View web_backup_task.sh
#!/bin/bash
## Skript na backup web-u
## Pouzitie:
## dostudovat pouzitie crontab ... priklad sa spusta kazdy den 5 minut po polnoci
## 5 0 * * * bash web_backup_task.sh /var/www/web_folder nazov_mysql_databazy >> /var/log/db_backup.log
### !!! pre uspesne zalohovanie databazy, pozri tuto odpoved !!!
### https://serverfault.com/questions/563714/allow-linux-root-user-mysql-root-access-without-password
## vysledne subory: backup.21122017_1902.zip
@mariaanko
mariaanko / lasky.py
Created May 6, 2017
bot posting to facebook
View lasky.py
#!/usr/bin/python
import random
import facebook
import urllib2
from bs4 import BeautifulSoup
def post_to_fb(rand_quote):
You can’t perform that action at this time.