Skip to content

Instantly share code, notes, and snippets.

View Lysak's full-sized avatar
🎯
Focusing

Dmytrii Lysak

🎯
Focusing
View GitHub Profile
@Lysak
Lysak / 404 Not found.html
Last active September 23, 2018 18:28
404 Not found Husky
<!-- saved from url=(0027)https://coursehunters.net/s -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>404 Not found</title>
<style>
@keyframes tail {
6.66667% {
transform: rotate(0);
}
10% {
@Lysak
Lysak / commands.txt
Last active December 7, 2018 12:57
linux commands
## for php 7.0 ##
sudo apt install php7.0 php7.0-fpm php7.0-mysql php7.0-sqlite3 php7.0-bcmath php7.0-gd php7.0-odbc php7.0-sybase php7.0-bz2 php7.0-gmp php7.0-opcache php7.0-tidy php7.0-cgi php7.0-imap php7.0-pgsql php7.0-xml php7.0-cli php7.0-interbase php7.0-phpdbg php7.0-xmlrpc php7.0-common php7.0-intl php7.0-pspell php7.0-xsl php7.0-curl php7.0-json php7.0-readline php7.0-zip php7.0-dba php7.0-ldap php7.0-recode php7.0-dev php7.0-mbstring php7.0-snmp php7.0-enchant php7.0-mcrypt php7.0-soap
## end ##
## for php 7.1 ##
sudo apt install php7.1-bcmath php7.1-gd php7.1-mysql php7.1-sqlite3 php7.1-bz2 php7.1-gmp php7.1-odbc php7.1-sybase php7.1-cgi php7.1-imap php7.1-opcache php7.1-tidy php7.1-cli php7.1-interbase php7.1-pgsql php7.1-xml php7.1-common php7.1-intl php7.1-phpdbg php7.1-xmlrpc php7.1-curl php7.1-json php7.1-pspell php7.1-xsl php7.1-dba php7.1-ldap php7.1-readline php7.1-zip php7.1-dev php7.1-mapi php7.1-recode php7.1-enchant php7.1-mbstring php7.1-snmp php7.1-fpm php7.1-mcrypt php7.1-soap
@Lysak
Lysak / README.md
Last active September 27, 2019 12:34 — forked from gbraad/README.md
Buy me a coffee
We couldn’t find that file to show.
@Lysak
Lysak / contacts.js
Last active November 24, 2019 20:31
contacts.js
contacts = {
linkedin : 'https://linkedin.com/in/dmytrii-lysak',
email : 'dlysak@live.com',
website : 'https://lysak.github.io',
};
@Lysak
Lysak / generate-ssh-key.sh
Created March 23, 2020 15:28 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa
@Lysak
Lysak / .gnomerc
Created October 7, 2020 11:29
.gnomerc
xinput set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Enabled" 0
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Enabled" 0
@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
@Lysak
Lysak / TestController.php
Last active January 15, 2021 07:14
yii2 command for grab and parse html
<?php
namespace app\commands;
use app\components\CurlClient;
use app\components\UtilsManager;
use DOMDocument;
use Exception;
use yii\console\Controller;
@Lysak
Lysak / country.sql
Created June 28, 2021 16:01 — forked from ianare/country.sql
Import countries to PostgreSQL from geonames data
DROP TABLE "country";
CREATE TABLE "country" (
"iso" character(2) NOT NULL,
"iso3" character(3) NOT NULL,
"iso_numeric" character(3) NOT NULL,
"fips" character(2),
"name" character varying(128) NOT NULL,
"capital" character varying(128),
"area" float,
@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"}