Skip to content

Instantly share code, notes, and snippets.

View Lysak's full-sized avatar
🎯
Focusing

Dmytrii Lysak

🎯
Focusing
View GitHub Profile
@Lysak
Lysak / friGate3_site_list.txt
Last active October 29, 2020 20:28
friGate3 site list for Ukraine
ip.fri-gate.org
*.2ip.ru [RU]
*.1tvcrimea.ru
*.2ch.hk
*.adfox.ru
*.antifashist.com
*.antimaydan.info
*.apiok.ru
*.attachmail.ru
*.auto.ru
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"Alignment",
"All Autocomplete",
@Lysak
Lysak / .bashrc
Created October 26, 2017 16:42
.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
fi
fi
alias st='git status'
@Lysak
Lysak / index.php
Last active September 9, 2017 10:37
PHP likes. Complete code using PDO
Complete code using PDO
db_params.php:
<?php
return array(
'host' => 'localhost',
'dbname' => 'dbname',
'user' => 'root',
'password' => 'password'
);
@Lysak
Lysak / redshift.conf
Last active October 2, 2017 08:03
Redshift config for Vinnitssa, Ukraine (/$HOME/.config/redshift.conf) ~/.config/redshift.conf
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=6500
temp-night=3400
; 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.
transition=1
@Lysak
Lysak / cloudSettings
Last active December 16, 2021 15:29
Visual Studio Code Sync Settings Gist
{"lastUpload":"2021-12-16T15:29:36.285Z","extensionVersion":"v3.4.3"}