Skip to content

Instantly share code, notes, and snippets.


Dmytrii Lysak

Block or report user

Report or block Lysak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Lysak / redshift.conf
Last active Oct 2, 2017
Redshift config for Vinnitssa, Ukraine (/$HOME/.config/redshift.conf) ~/.config/redshift.conf
View redshift.conf
; Global settings for redshift
; Set the day and night screen temperatures
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
Lysak / index.php
Last active Sep 9, 2017
PHP likes. Complete code using PDO
View index.php
Complete code using PDO
return array(
'host' => 'localhost',
'dbname' => 'dbname',
'user' => 'root',
'password' => 'password'
View .bashrc
# enable bash completion in interactive shells
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
alias st='git status'
Lysak / .bashrc
Last active Oct 21, 2019
custom .bashrc (.zshrc)
View .bashrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/lysak/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See
View Package%20Control.sublime-settings
"bootstrapped": true,
"A File Icon",
"All Autocomplete",
Lysak / frigate.txt
Last active Nov 25, 2018
DEPRECATERD - NEW LIST: - frigate UA list site for firefox (by Lysak)
View frigate.txt
* [RU]
Lysak / everest site list.txt
Last active Jul 23, 2019
everest site list
View everest site list.txt
* [RU]
Lysak / gmail_enter_animation.html
Last active Jun 20, 2018
View gmail_enter_animation.html
<!DOCTYPE html>
<html lang="uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google" value="notranslate">
<meta name="application-name" content="Gmail">
<meta name="description" content="Електронна пошта в стилі Google">
<meta name="application-url" content="">
Lysak / font-stacks.css
Created Jun 21, 2018 — forked from ct27stf/font-stacks.css
Similar looking fonts for Windows, Linux, Mac
View font-stacks.css
.mono-font-stack {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
.times-font-stack {
font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
.modern-font-stack {
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
Lysak /
Last active Jun 21, 2018 — forked from maxwelleite/
Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
# Author: Maxwel Leite
# Website:
# Description: Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
# Microsoft added a group of new "ClearType Fonts" to Windows with Windows Vista and Office 2007.
# These fonts are named Constantia, Corbel, Calibri, Cambria (and Cambria Math), Candara, and Consolas.
# Calibri became the default font on Microsoft Word 2007, and it’s still the default font on Word 2016 today.
# Dependencies: wget, fontforge and cabextract
# Note: Microsoft no longer provides the PowerPoint Viewer 2007 (v12.0.4518.1014) or any version anymore for download
# Tested: Ubuntu Saucy/Trusty/Xenial/Bionic
You can’t perform that action at this time.