- Go to app.memrise.com/community/courses
- Open
Developer tools
and go to theConsole
tab - Copy the code from
script.js
from this gist, then paste it into the console and hit enter - 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
# git clone https://aur.archlinux.org/gleam.git | |
pkgver="1.0.0" | |
EDITOR=${EDITOR:-micro} | |
makepkg --nobuild | |
cd src/ | |
cp -r gleam-$pkgver gleam-$pkgver-new | |
$EDITOR gleam-$pkgver-new/compiler-core/src/format.rs | |
# - const INDENT: isize = 2; |
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
javascript:(function (w) {var vs = Array.from(w.document.body.querySelectorAll("video"));if (vs.length === 0) {w.document.querySelectorAll("iframe").forEach(vif => {vif.contentDocument?.body.querySelectorAll("video").forEach(vi => {vs.push(vi);});});};if (vs.length === 0) {w.alert("no videos!");} else {var v = vs.length === 1 ? vs[0]?.currentSrc : vs[w.Number.parseInt(w.prompt(vs.map((vv, ind) => ind + ": " + vv.currentSrc).join("\n"), "0"), 10)]?.currentSrc;if (v?.length > 0) { w.open(v, "_blank"); } else { w.alert("video src is empty!"); }};})(window); |
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
LANG=$(printf "$LC_MESSAGES" | cut -d '_' -f 1) | |
mkdir -p /tmp/${LANG}_locale | |
find /usr/share/locale/${LANG}/LC_MESSAGES/ -name '*.mo' | xargs -I "{}" sh -c "msgunfmt {} >> /tmp/${LANG}_locale/\$(basename {})" | |
grep -i -A 1 "" /tmp/${LANG}_locale/*.mo |
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
git shortlog -sn --no-merges | cut -f 2 > CONTRIBUTORS |
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
var s_a; | |
function s_f() { | |
const s_b = document.querySelector('i[data-role="remove"'); | |
if (s_b == undefined) { | |
clearInterval(s_a); | |
return; | |
} | |
s_b.click(); | |
document.querySelector('a[tabIndex="4000"]').click(); | |
} |
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 words = require('./temp.json') | |
const fs = require('fs') | |
for (let i = 0; i < words.length; i+=1904) { | |
const lcode = 'word_'+words[i].lan_code | |
for (let j = 0; j < 1904; j++) { | |
words[j][lcode] = words[i+j].word | |
} | |
} |
NewerOlder