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 | |
# This scripts lets you check which minimum GLIBC version an executable requires. | |
# Simply run './glibc-check.sh path/to/your/binary' | |
# | |
# You can set `MAX_VER` however low you want, although I (fasterthanlime) | |
# feel like `2.13` is a good target (For reference, Ubuntu 12.04 has GLIBC 2.15) | |
MAX_VER="${MAX_VER:-2.13}" | |
BINARY="$1" |
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/sh | |
base_url=https://manned.org | |
page="$1" | |
hash=$(curl -sSL "$base_url/$page" | grep -oP '(?<=data-hash=")[^"]{8}') | |
mdoc=$(curl -sSL "$base_url/$page/$hash/src") | |
echo "$mdoc" | man /dev/stdin |
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 | |
set -euo pipefail | |
UA="tldr-pages-bad-url-checker (+https://github.com/tldr-pages/tldr; implemented by @sbrl)" | |
pushd "$HOME/.tldr/cache/pages" >/dev/null 2>&1 | |
records=$(rg --sort-files -o '<(https?:[^>]+)>' -r '$1' | cat) | |
tempdir=$(mktemp -d) |
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 | |
set -euo pipefail | |
pushd "$HOME/.tldr/cache/pages" >/dev/null 2>&1 | |
pages=$(rg -o 'linux.die.net/man/([^/])/([^>]+)' -r '$2.$1' | sort) | |
for page in $pages; do | |
tldrpage=$(echo $page | cut -d':' -f1) | |
manpage=$(echo $page | cut -d':' -f2) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Brightcove demo player</title> | |
</head> | |
<body> | |
<iframe id="kaltura_player_1596463167" src="https://cdnapisec.kaltura.com/p/2968292/sp/296829200/embedIframeJs/uiconf_id/46147462/partner_id/2968292?iframeembed=true&playerId=kaltura_player_1596463167&entry_id=0_l7g2xtsz" width="528" height="327" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" frameborder="0"></iframe> | |
</body> | |
</html> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>SproutVideo demo player</title> | |
</head> | |
<body> | |
<iframe class='sproutvideo-player' src='https://videos.sproutvideo.com/embed/069cd9b41c1ae1c28f/807cdbe1e3b75f18' width='630' height='354' frameborder='0' allowfullscreen></iframe> | |
</body> | |
</html> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Brightcove demo player</title> | |
</head> | |
<body> | |
<div style="position: relative; display: block; max-width: 960px;"><div style="padding-top: 56.25%;"><iframe src="https://players.brightcove.net/6175969021001/SrrwvPcsoN_default/index.html?videoId=6176149862001" allowfullscreen="" allow="encrypted-media" style="position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; width: 100%; height: 100%;"></iframe></div></div> | |
</body> | |
</html> |
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
diff --git a/Formula/latexindent.rb b/Formula/latexindent.rb | |
index 0492afe2f6..aa9ab37310 100644 | |
--- a/Formula/latexindent.rb | |
+++ b/Formula/latexindent.rb | |
@@ -1,14 +1,44 @@ | |
class Latexindent < Formula | |
desc "Add indentation to LaTeX files" | |
- homepage "https://github.com/cmhughes/latexindent.pl" | |
+ homepage "https://ctan.org/pkg/latexindent" | |
url "https://github.com/cmhughes/latexindent.pl/archive/V3.8.2.tar.gz" |
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
class Hashlink < Formula | |
desc "Virtual machine for Haxe" | |
homepage "https://hashlink.haxe.org/" | |
url "https://github.com/HaxeFoundation/hashlink/archive/1.11.tar.gz" | |
sha256 "b087ded7b93c7077f5b093b999f279a37aa1e31df829d882fa965389b5ad1aea" | |
head "https://github.com/HaxeFoundation/hashlink.git" | |
depends_on "haxe" => :test | |
depends_on "jpeg-turbo" | |
depends_on "libogg" |
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
SYMBOLS = { | |
catalina: "10.15", | |
mojave: "10.14", | |
high_sierra: "10.13", | |
sierra: "10.12", | |
el_capitan: "10.11", | |
yosemite: "10.10", | |
mavericks: "10.9", | |
}.freeze |
NewerOlder