Skip to content

Instantly share code, notes, and snippets.

View zloynemec's full-sized avatar

Taras Kozlov zloynemec

View GitHub Profile
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />
<meta charset="UTF-8" />
* UTC -11:00 *
American Samoa
International Date Line West
Midway Island
* UTC -10:00 *
Hawaii
* UTC -09:00 *
Alaska
@zloynemec
zloynemec / gist:d52e26fb973017088b40e39bcfd42c4d
Created September 18, 2017 18:37
Install wkhtmltopdf Ubuntu 16.04
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
cd ./wkhtmltox
cp -R ./* /usr/

Keybase proof

I hereby claim:

  • I am zloynemec on github.
  • I am zloynemec (https://keybase.io/zloynemec) on keybase.
  • I have a public key whose fingerprint is 0FF3 A752 45B9 E770 1C55 94D4 3C20 77B7 2BF4 21D4

To claim this, I am signing this object:

@zloynemec
zloynemec / adminer_setup.sh
Created April 15, 2015 12:29
Secure adminer nginx setup
# Secure adminer setup
# Author Taras Kozlov
# download adminer to separate directory
mkdir -p /var/www/admin
cd /var/www/admin
wget http://www.adminer.org/latest.php -O adminer.php
echo '<?php phpinfo(); >' > info.php
sudo -i
@zloynemec
zloynemec / selenium
Last active August 29, 2015 14:18
/etc/init.d/selenium
#!/bin/bash
# Selenium daemon
# http://pietervogelaar.nl/ubuntu-14-04-install-selenium-as-service-headless
case "${1:-''}" in
'start')
if test -f /tmp/selenium.pid
then
echo "Selenium is already running."
else