Skip to content

Instantly share code, notes, and snippets.

View temp.html
<!DOCTYPE html>
<html lang="ka-GE"
xmlns:fb="" prefix="og:">
<link rel="stylesheet" href="/wp-content/themes/flex-mag/css/alk-sanet.min.css">
<link rel="stylesheet" href="/wp-content/themes/flex-mag/css/bpg-glaho.min.css">
<meta charset="UTF-8" >
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
Created Apr 23, 2017 — forked from scturtle/
Let's go HTTPS!
from gevent import monkey
import bottle
class SSLWebServer(bottle.ServerAdapter):
def run(self, handler):
from gevent.pywsgi import WSGIServer
srv = WSGIServer((, self.port), handler,
View cancer.js
var json_data = null;
function get_data(mode){
url: "/json_nodes",
method: "POST",
data: {func: "init"},
success: function(json){
json_data = json;
Created Feb 4, 2017
Python3 Check domain with Godaddy API
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
# Distributed under terms of the MIT license.
import requests
def check_domain(domain):
Last active Dec 31, 2016
Shell script for configuring Linux Mint. Installing Chromium, Vim, Git. Changing system settings. Changing theme. Adding python script for modify brightness level.
#! /bin/sh
# Copyright (C) 2016 FZX <>
# Distributed under terms of the GPL v2.0 license.
Last active Nov 16, 2016
Ubuntu / Linux Mint Brightness control. I could not find real fix for problem with keys changing brightness level on my laptop. So wrote little Python 3 script. Add alias to this file in .bashrc
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
# Copyright © 2016 FZX <>
# Distributed under terms of the GPL v2.0 license.
Controlling brightness for nv_backlight.
FZX / Commands
Last active Jul 5, 2020
Terminal commands. Change Cinnamon theme from terminal. Disable cursor blink from terminal. Disabling recent files history from terminal. Setup proxy file with command.
View Commands
gsettings set org.cinnamon.desktop.privacy remember-recent-files false
gsettings set org.cinnamon.theme name "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface cursor-blink false
gsettings set org.gnome.system.proxy autoconfig-url ""
gsettings set org.gnome.system.proxy mode auto
gsettings set org.cinnamon enabled-applets "['', '', '', '', '', '', '', '', '', '', '', '', '
FZX / config
Created Nov 1, 2016
Configure Linux Mint
View config
sudo apt-get update && sudo apt-get install -y chromium-browser git vim && setxkbmap -option grp:switch,grp:alt_shift_toggle us,ge && sudo timedatectl set-timezone Asia/Tbilisi && echo '{ "ProxyMode": "pac_script", "ProxyPacUrl": "", }' | sudo tee -a /etc/chromium-browser/policies/managed/proxyConfig && wget -O /home/mint/.config/chromium/Default/Preferences && wget -O /home/cub/.config/openbox/rc.xml && openbox --reconfigure && nitrogen --set-auto /usr/share/wallpapers/
View mintchromium
FZX / rc.xml
Created Oct 30, 2016
OpenBox config file.
View rc.xml
<?xml version="1.0"?>
<openbox_config xmlns="" xmlns:xi="">
<!-- always try to focus new windows when they appear. other rules do
apply -->
You can’t perform that action at this time.