Each pixel represents approximately one byte.
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
# backup from g suite | |
~/bin/gyb/gyb --action create-project --email [email protected] | |
~/bin/gyb/gyb --email [email protected] --action backup | |
# now delete (or preferrably backup) two secrets file in ~/bin/gyb because they contain login for G suite, and GYB is primarily meant for migration between two accounts in a same workspace - see https://github.com/GAM-team/got-your-back/issues/274 | |
# and restore to freemail account | |
~/bin/gyb/gyb --action create-project --email [email protected] | |
~/bin/gyb/gyb --email [email protected] --action restore --local-folder ~/[email protected] --label-restored "Migration" |
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
#!/usr/bin/env bash | |
if [ "${ENABLE_PREVIEWS}" = "YES" ]; then | |
echo "Previews enabled, quitting to prevent 'preview paused'." | |
exit 0; | |
fi | |
# ... rest of the script ... | |
# Success? Clear the exit code that might have been left here by a last command of the script. |
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
--swiftversion 5 | |
--self init-only |
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
extension String { | |
func padding(leftTo paddedLength: Int, withPad pad: String = " ", startingAt padStart: Int = 0) -> String | |
{ | |
if count < paddedLength { | |
let rightPadded = padding(toLength: max(count, paddedLength), withPad: pad, startingAt: padStart) | |
return "".padding(toLength: paddedLength, withPad: rightPadded, startingAt: count % paddedLength) | |
} else { | |
return self | |
} | |
} |
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
Detail | |
<html prefix="og: http://ogp.me/ns#"> | |
<head> | |
<title>{advert.title ořezaný na 60 znaků, případně s trojtečkou pokud jsme ho ořezali} · dobro.cz</title> <!-- ˜60 chars --> | |
<meta name="description" content="Nabídka pomoci na dobro.cz — pomáhejme si v době koronaviru"> <!-- Nabidka ˜150 chars --> | |
<meta name="description" content="Žádost o pomoc na dobro.cz — pomáhejme si v době koronaviru"> <!-- Poptavka ˜150 chars --> | |
<meta property="og:title" content="{advert.title}"> | |
<meta property="og:description" content="Nabídka pomoci na dobro.cz — pomáhejme si v době koronaviru"> <!-- Nabidka --> | |
<meta property="og:description" content="Žádost o pomoc na dobro.cz — pomáhejme si v době koronaviru"> <!-- Poptavka --> |
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
console.table((function listAllEventListeners() { | |
const allElements = Array.prototype.slice.call(document.querySelectorAll('*')); | |
allElements.push(document); // we also want document events | |
const types = []; | |
for (let ev in window) { | |
if (/^on/.test(ev)) types[types.length] = ev; | |
} | |
let elements = []; | |
for (let i = 0; i < allElements.length; i++) { |
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_git_lfs() | |
{ | |
set -e | |
# Get out if git-lfs is already installed | |
if $(git-lfs &> /dev/null); then | |
echo "git-lfs is already installed" | |
return | |
fi | |
GIT_LFS_BUILD=$HOME/.bin |
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
Original Message | |
Message ID <[email protected]> | |
Created at: Fri, Oct 13, 2017 at 10:41 AM (Delivered after 0 seconds) | |
From: [email protected] | |
To: [email protected] | |
Subject: Bazos.cz - odpoved na inzerat 80580804 - Fitbit Ionic - nejlepsi fitness tracker, novy | |
SPF: PASS with IP 88.86.119.246 Learn more | |
DMARC: 'FAIL' Learn more |
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
Weathergraph shows: | |
🕑 Time, of course :) | |
🏃 Daily steps | |
❤️ Current heart rate | |
⛅️ Precise forecast from Yr.no (Dark Sky/Forecast.io coming soon!) | |
🌡 Hour-by-hour temperature (orange chart at the bottom) | |
🌧 Hour-by-hour precipitation - rain and snow (blue chart overlay) | |
☁️ Hour-by-hour ☁️ cloudiness (cloud cover) and ☀️ sunshine (clouds on top + sun rays) | |
🌤 Daily minimum and maximum (overlaid above chart) |