Skip to content

Instantly share code, notes, and snippets.

Avatar

mariaanko mariaanko

  • Kosice
View GitHub Profile
View baofeng connection problem
ked nefunguje connection - pripojenie na baofenga
otvoris device manager - start a napisat "device manager" a otvorit dany program
klikni na Ports(COM a LPT)
ak je tam zlty trojuholnik s vykricnikom, windows nenainstloval driver spravne
riesenie:
1. pravy click na "device", a zvolte "update driver software" z vyskakovacieho menu
2. vyberte "prehladat moj pocitac" a potom "vybrat zo zoznamu na mojom PC"
3. vyhladajte a zaskrtnite: "Prolific USB-to-Serial Comm Port Version: 3.2.0.0 "
4. stlacte "DAlej"
5. zapiste si cislo COM portu
@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.