πΊπ¦
This file contains hidden or 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
/*Select the needed part (excluding <p> tags and <!-- wp:paragraph --> line*/ | |
SELECT | |
REPLACE(REPLACE(SUBSTRING_INDEX(SUBSTRING_INDEX(post_content, '\n', 2), '\n', -1), '<p>', ''), '</p>', '') as excerpt | |
FROM | |
wp_posts wp | |
WHERE | |
ID = 1771; | |
/*Insert that part as an excerpt for a certain post*/ | |
UPDATE |
This file contains hidden or 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
// EN_EXT (English Extended Layout). | |
// This is a modified English US intl., with dead keys keyboard | |
// Timofey Gribanov <[email protected]> | |
// Last changes 2022/01/18 | |
// | |
// βββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ¬ββββββ²ββββββββββββ | |
// β ~ β ! β @ β # β $ β % β ^ β & β * β ( β β ) β β _ β + β β« β | |
// β ` β 1 Β‘ β 2 β 3 β 4 Β£ β 5 β¬ β 6 βΜ β 7 β 8 β 9 β β 0 β β - β β = β βBackspace β | |
// β’ββββββ·ββββ±ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββ΄ββββ¬ββΊββββ³ββββββββ« | |
// β Tab β Q β W β E β R β T β Y β U β I β O β P β { β } β Enter β |
This file contains hidden or 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 | |
INPUTVAR="$1" | |
INPUTVARSIZE=${#INPUTVAR} | |
LOOPCOUNTER=0 | |
while [ $LOOPCOUNTER -lt $INPUTVARSIZE ] | |
do | |
HEXVAR="${INPUTVAR:$LOOPCOUNTER:1}" |
This file contains hidden or 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 | |
#Converting decimal to binary | |
##Source: https://stackoverflow.com/questions/55239476/awk-convert-decimal-to-binary | |
gawk ' | |
function d2b(d, b) { | |
while(d) { | |
b=d%2b | |
d=int(d/2) | |
} |