…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"
#!/usr/bin/env sh | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/docker; ./docker/start.sh;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/angular; npm start;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/api; sleep 30; ./scripts/docker/queues.sh;"' | |
exit |
#!/usr/bin/env sh | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/docker; ./docker/start.sh;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/angular; npm start;"' | |
osascript -e 'tell application "Terminal" to do script "cd /Users/Files/www/work/api; sleep 30; ./scripts/docker/queues.sh;"' | |
exit |
// ==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) |
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; |
// ==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 |
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, |
<?php | |
namespace app\commands; | |
use app\components\CurlClient; | |
use app\components\UtilsManager; | |
use DOMDocument; | |
use Exception; | |
use yii\console\Controller; |
xinput set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Enabled" 0 | |
xinput set-prop "AlpsPS/2 ALPS DualPoint Stick" "Device Enabled" 0 |