Skip to content

Instantly share code, notes, and snippets.

View Lysak's full-sized avatar
🎯
Focusing

Dmytrii Lysak

🎯
Focusing
View GitHub Profile
@Lysak
Lysak / pwd.js
Created September 1, 2018 11:47 — forked from gladiatorAsh/pwd.js
List of most used passwords (Why this approach??)
{passwords:"123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,696969,mustang,666666,qwertyuiop,123321,1234567890,pussy,superman,654321,1qaz2wsx,7777777,fuckyou,qazwsx,jordan,123qwe,000000,killer,trustno1,hunter,harley,zxcvbnm,asdfgh,buster,batman,soccer,tigger,charlie,sunshine,iloveyou,fuckme,ranger,hockey,computer,starwars,asshole,pepper,klaster,112233,zxcvbn,freedom,princess,maggie,pass,ginger,11111111,131313,fuck,love,cheese,159753,summer,chelsea,dallas,biteme,matrix,yankees,6969,corvette,austin,access,thunder,merlin,secret,diamond,hello,hammer,fucker,1234qwer,silver,gfhjkm,internet,samantha,golfer,scooter,test,orange,cookie,q1w2e3r4t5,maverick,sparky,phoenix,mickey,bigdog,snoopy,guitar,whatever,chicken,camaro,mercedes,peanut,ferrari,falcon,cowboy,welcome,sexy,samsung,steelers,smokey,dakota,arsenal,boomer,eagles,tigers,marina,nascar,booboo,gateway,yellow,porsche,monster,spider,diablo,hannah,bulldog,junior,london,purple,co
@Lysak
Lysak / array_diff_multidimensional.php
Created April 30, 2022 18:17
array_diff_multidimensional
function array_diff_multidimensional($arr1, $arr2): array
{
$check = is_array($arr1) && count($arr1) > 0;
$result = ($check) ? ((is_array($arr2) && count($arr2) > 0) ? $arr2 : []) : [];
if ($check) {
foreach ($arr1 as $key => $value) {
if (isset($result[$key])) {
$result[$key] = array_diff($value, $result[$key]);
} else {
$result[$key] = $value;
@Lysak
Lysak / automatically_enable_filter_just_my_tasks_in_asana_project.user.js
Last active February 15, 2023 00:45
Automatically enable filter "Just my tasks" in Asana project
// ==UserScript==
// @name Automatically enable filter "Just my tasks" in Asana project
// @namespace https://github.com/Lysak
// @version 0.1.5
// @description Automatically enable filter "Just my tasks" in Asana project (Code License: MIT License)
// @author Dmytrii Lysak @Lysak
// @match https://app.asana.com/*
// @icon https://www.google.com/s2/favicons?domain=asana.com
// @grant none
// @noframes
@Lysak
Lysak / automatically_like_comments_at_youtube_studio.user.js
Last active March 20, 2023 10:36
Automatically like comments at studio.youtube.com
// ==UserScript==
// @name Automatically like comments at studio.youtube.com
// @namespace https://github.com/Lysak
// @version 0.2
// @author Dmytrii Lysak @Lysak
// @match https://studio.youtube.com/*
// @require https://code.jquery.com/jquery-3.6.3.min.js
// @grant none
// @run-at document-end
// @description Automatically like comments at studio.youtube.com (Code License: MIT License)
@Lysak
Lysak / automatically_add_cookie_param_to_selected_sites.user.js
Last active March 20, 2023 10:37
automatically_add_cookie_param_to_selected_sites.user.js
@Lysak
Lysak / Setting up a new Git Repo.md
Last active April 29, 2024 11:12
Setting up a new Git Repo

Setting up a new Git Repo

…or create a new repository on the command line

echo "# <reponame>" >> README.md
git init
gitmyname
git add README.md

git commit -m "first commit"