This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Color codes | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' | |
BLUE='\033[0;34m' | |
NC='\033[0m' # No Color | |
# Header in green | |
echo -e "${GREEN}IMAGE\t\t\t\t\t\t\tSTATUS${NC}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @see https://twitter.com/garyclarketech/status/1781605977101644015/photo/1 **/ | |
test('debugs are removed') | |
->expect(['dd', 'dump', 'var_dump']) | |
->not->toBeUsed(); | |
test('CommandInterface is implemented where is should be') | |
->expect('App\Command') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ps ax|grep sleep | |
output: | |
954190 ? Ss 0:00 sleep infinity | |
1036329 ? S 0:00 sleep 5 | |
1036386 ? S 0:00 sleep 2 | |
1036397 pts/4 S+ 0:00 grep --color=always sleep <---- you don´t want to see this | |
3610265 ? S 0:00 sleep 1d | |
3868324 ? S 0:00 sleep 86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
@if($searchResult->count()>1) | |
<div | |
x-data="{ scrollTop: parseInt(localStorage.getItem('scrollTop')) || window.scrollY }" | |
x-init="scrollTop = parseInt(localStorage.getItem('scrollTop')) || window.scrollY" | |
class="bg-skin-fill text-big-button px-5 py-5 fixed top-0 flex flex-row justify-between mx-auto" | |
x-on:scroll.window="scrollTop = window.scrollY; localStorage.setItem('scrollTop', String(scrollTop))" | |
x-bind:class="{'hidden': scrollTop <= 600}" x-cloak | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
auto_https off | |
debug | |
} | |
:80 { | |
root * /app/public | |
encode zstd gzip | |
file_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const EventNotificationSDK = require('event-notification-nodejs-sdk'); | |
const https = require('https'); | |
// https://github.com/eBay/event-notification-nodejs-sdk/blob/main/lib/constants.js | |
const constants = { | |
ALGORITHM: 'ssl3-sha1', | |
AUTHORIZATION: 'Authorization', | |
BASE64: 'base64', | |
BEARER: 'bearer ', | |
ENVIRONMENT: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"standardsProfiles": [ | |
{ | |
"standardsLevel": "ABOVE_STANDARD", | |
"program": "PROGRAM_US", | |
"cycle": { | |
"cycleType": "CURRENT", | |
"evaluationDate": "2018-07-20T19:30:32.000Z" | |
}, | |
"evaluationReason": "Default", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if lynx --dump https://xxxxxxxxxxx |grep --quiet 'Something i am looking for' ; then | |
echo "Still there" | |
else | |
swaks --to xxxxxxxxxx@gmail.com --from "xxxxxxxxx@googlemail.com" --server smtp.gmail.com --auth PLAIN --auth-user "xxxxxxxxxx@googlemail.com" --auth-password "xxxxxxxxxxxxx" -tls -p 587 --h-Subject your-special-subject--body "your body" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--n-column-width-xl: 1200px !important; | |
--color-semantic-base: #111827 !important; | |
} | |
@media (min-width: 3000px) { | |
.app-layout__pageWidth-3F8hH > div:first-of-type { | |
width: 2000px !important; | |
} | |
.app-layout__maxWidth-21X-0 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm --init -it \ | |
--net host --privileged --cap-add SYS_ADMIN \ | |
-v ${HOME}/Tinkerwell-3.5.0.AppImage:/tinkerwell \ | |
-v ${HOME}/PhpstormProjects/:/apps/:rw \ | |
--device /dev/fuse \ | |
-v $SSH_AUTH_SOCK:/ssh-auth.sock \ | |
-e SSH_AUTH_SOCK=/ssh-auth.sock \ | |
-v $HOME/.ssh:/home/docker/.ssh \ | |
-w /home/docker/.config/ \ | |
-v ${HOME}/.tinkerwell:/home/docker/.config:rw \ |
NewerOlder