This file contains 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
Set forward switch to Shift+Alt(left) | |
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Shift>Alt_L']" | |
Set backward switch to Alt+Shift(left) | |
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "['<Alt>Shift_L']" | |
This file contains 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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ | |
/* ROOT - VARS */ | |
*|*:root { | |
--tab-min-height: 30px !important; /* adjust */ | |
--tab-min-width: 30px !important; /* adjust */ | |
} | |
/* TABS: height */ | |
#tabbrowser-tabs, |
This file contains 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
<!DOCTYPE html> | |
<html lang="ka-GE" | |
xmlns:fb="http://ogp.me/ns/fb#" prefix="og: http://ogp.me/ns#"> | |
<head> | |
<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" /> | |
This file contains 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
from gevent import monkey | |
monkey.patch_all() | |
import bottle | |
class SSLWebServer(bottle.ServerAdapter): | |
def run(self, handler): | |
from gevent.pywsgi import WSGIServer | |
srv = WSGIServer((self.host, self.port), handler, | |
certfile='/etc/letsencrypt/live/XXX/fullchain.pem', |
This file contains 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
var json_data = null; | |
function get_data(mode){ | |
$.ajax({ | |
url: "/json_nodes", | |
method: "POST", | |
data: {func: "init"}, | |
success: function(json){ | |
json_data = json; | |
//console.log(json_data); | |
} |
This file contains 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/env python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# Distributed under terms of the MIT license. | |
import requests | |
def check_domain(domain): |
This file contains 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/sh | |
# | |
# setup.sh | |
# Copyright (C) 2016 FZX <FZX@users.noreply.github.com> | |
# | |
# Distributed under terms of the GPL v2.0 license. | |
# | |
This file contains 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/env python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2016 FZX <FZX@users.noreply.github.com> | |
# | |
# Distributed under terms of the GPL v2.0 license. | |
""" | |
Controlling brightness for nv_backlight. |
This file contains 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
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 "http://mediahint.com/default.pac" | |
gsettings set org.gnome.system.proxy mode auto | |
gsettings set org.cinnamon enabled-applets "['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:2:panel-launchers@cinnamon.org:2', 'panel1:left:3:window-list@cinnamon.org:3', 'panel1:right:0:notifications@cinnamon.org:4', 'panel1:right:1:user@cinnamon.org:5', 'panel1:right:2:removable-drives@cinnamon.org:6', 'panel1:right:3:keyboard@cinnamon.org:7', 'panel1:right:11:show-desktop@cinnamon.org:1', 'panel1:right:5:network@cinnamon.org:9', 'panel1:right:6:sound@cinnamon.org:10', 'panel1:right:7:power@cinnamon.org:11', 'panel1:right:8:systray@cinnamon.org:12', ' |
This file contains 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
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": "http://mediahint.com/default.pac", }' | sudo tee -a /etc/chromium-browser/policies/managed/proxyConfig && wget -O /home/mint/.config/chromium/Default/Preferences https://gist.githubusercontent.com/FZX/d37d11850ffc4cfe108ab11254f21408/raw/02ee58fc117d45367c8177d4b09bffd0ac23e3fd/mintchromium && wget -O /home/cub/.config/openbox/rc.xml https://gist.githubusercontent.com/FZX/792cacbee704680b8d4214a58634fe74/raw/3f566826576b95d23682fee7e5c34f675588a217/rc.xml && openbox --reconfigure && nitrogen --set-auto /usr/share/wallpapers/14837563893_e84f12a70c_k_www.flickr.com_groups_freeuse.jpg |
NewerOlder