This file contains hidden or 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
dnf update -y firefox flash-plugin |
This file contains hidden or 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 | |
#This script needs to be run by root or with root privileges (which is far better) | |
#check distribution to use right tools | |
if [ -f /etc/redhat-release ]; then | |
PKG="rpm -qf" | |
else | |
PKG="dpkg -S" | |
fi |
This file contains hidden or 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/ruby | |
require 'rubygems' | |
require 'nokogiri' | |
#require 'elasticsearch' | |
class Clanek | |
def initialize() | |
end |
This file contains hidden or 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
Section "InputClass" | |
Identifier "touchscreen" | |
#Driver "Synaptics" | |
Driver "wacom" | |
MatchIsTouchscreen "on" | |
MatchDevicePath "/dev/input/event8" | |
Option "Mode" "ABSOLUTE" | |
Option "TapButton1" "1" | |
Option "TapButton2" "2" | |
Option "TapButton3" "3" |
This file contains hidden or 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
#install wine and others | |
sudo dnf install wine cabextract wget | |
#install winetricks | |
sudo wget http://winetricks.org/winetricks -O /usr/bin/ | |
sudo chmod +x /usr/bin/winetricks | |
###ADOBE | |
wget https://ardownload2.adobe.com/pub/adobe/reader/win/11.x/11.0.00/cs_CZ/AdbeRdr11000_cs_CZ.exe | |
export WINEPREFIX="${HOME}/.reader" |
This file contains hidden or 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
[LOGIN] | |
LABEL_EMAIL = "Email" | |
LABEL_LOGIN = "Login" | |
LABEL_PASSWORD = "Heslo" | |
LABEL_SIGN_ME = "Pamatuj si mě" | |
LABEL_VERIFICATION_CODE = "Ověřovací kód" | |
LABEL_DONT_ASK_VERIFICATION_CODE = "Don't ask for the code for 2 weeks" | |
BUTTON_SIGN_IN = "Přihlásit se" | |
TITLE_SIGN_IN_GOOGLE = "Přihlásit se pomocí Google" | |
TITLE_SIGN_IN_FACEBOOK = "Přihlásit se pomocí Facebook" |
This file contains hidden or 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
#running | |
JOB=$( sudo docker run -d -p 5901 fedora20/kde Xspice --disable-ticketing --xsession /usr/bin/startkde :1 --port 5901) | |
PORT=$( sudo docker port $JOB 5901 | awk -F: '{ print $2 }') | |
remote-viewer spice://localhost:${PORT} | |
#run in commandline | |
sudo docker run -i fedora20/kde /bin/bash | |
#commit changes | |
sudo docker commit `sudo docker ps|grep "fedora20/kde:latest"|awk '{ print $1}'` fedora20/kde:latest |
This file contains hidden or 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 | |
#autor j.bittner | |
set -e | |
CAHOME="/etc/openvpn/easy-rsa" | |
/bin/echo -en "Insert clients name. Format name.domain.tld \n" | |
read KLIENTNAME | |
/bin/echo -en "Insert VPN IP address of new client" |
This file contains hidden or 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
# Maintainer: Jakub Bittner | |
pkgname=SAC | |
pkgver=8.1 | |
pkgrel=2 | |
pkgdesc="eToken PKI client" | |
arch=('i686') | |
url="http://www.safenet.com" | |
license=('custom') | |
depends=('pcsclite') | |
makedepends=('libarchive>=2.4.12' 'unzip') |
This file contains hidden or 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 | |
#response | |
#200 - phising, malware, both | |
#204 - OK | |
#400 - bad request | |
#401 Not Authorized | |
#503 Service unavailable | |
#Content-Length: 7 = malware | |
#Content-Length: 8 = phishing |
NewerOlder