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
# https://letsencrypt.org/caaproblem/ | |
import re | |
import gzip | |
from tqdm import tqdm | |
fn = 'caa-rechecking-incident-affected-serials.txt.gz' | |
rr = re.compile(r'[\[\]\s]') | |
domains = set() | |
with gzip.open(fn, 'rt') as f: | |
for ln in tqdm(f): |
This file has been truncated, but you can view the full file.
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
*.0.devklarka.cz | |
*.05.cz | |
*.0e.cz | |
*.0oo.cz | |
*.1.devklarka.cz | |
*.10.devklarka.cz | |
*.1001hry.cz | |
*.100letvyroci.cz | |
*.100py.cz | |
*.11.devklarka.cz |
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
# install: composer require symplify/easy-coding-standard --dev | |
# dry-run: vendor/bin/ecs check src | |
# run: vendor/bin/ecs check src --fix | |
# ----------------------------- Step 1 ----------------------------- | |
services: | |
# use ::class | |
Symplify\CodingStandard\Fixer\Php\ClassStringToClassConstantFixer: ~ |
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
# install: composer require symplify/easy-coding-standard --dev | |
# dry-run: vendor/bin/ecs check src | |
# run: vendor/bin/ecs check src --fix | |
# ----------------------------- Step 1 ----------------------------- | |
services: | |
# use ::class | |
Symplify\CodingStandard\Fixer\Php\ClassStringToClassConstantFixer: ~ |
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
# install: composer require symplify/easy-coding-standard --dev | |
# dry-run: vendor/bin/ecs check src | |
# run: vendor/bin/ecs check src --fix | |
# ----------------------------- Step 1 ----------------------------- | |
services: | |
# use ::class | |
Symplify\CodingStandard\Fixer\Php\ClassStringToClassConstantFixer: ~ |
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 Product = { | |
"attributes": [ | |
{ | |
"name": "Color", | |
"value": "red", // whatever | |
}, | |
{ | |
"name": "Size", | |
"value": 'M', |
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 attrs = [ | |
['r', 'g', 'b'], | |
['l', 'm', 's'], | |
['cyan', 'magenta'], | |
['ano', 'ne'], | |
]; | |
let variants = []; |
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 | |
for image in "$@" | |
do | |
NAME=`basename $image .webp` | |
echo $NAME | |
dwebp $image -o ~/Desktop/$NAME.png | |
done |
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
for f in `find ckeditor/plugins/**/lang -type f`; do | |
grep -q "lang/[^(cs|en)].js" $f; | |
if [ $? -eq 1 ]; then | |
rm $f; | |
fi; | |
done |
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 | |
# place this into your development directory (usually ~/Sites) | |
dir=$(cd `dirname $0` && pwd) | |
directories=(vendor node_modules temp log) | |
for dirname in "${directories[@]}" | |
do |
NewerOlder