http://play.inginf.units.it/#/level/1
\d+
http://play.inginf.units.it/#/level/2
(\w+)(\:\w+){5}
(\w+:){5}\w+
<!doctype html> | |
<html><head><script src="app.js"></script></head><body></body></html> |
Hints.characters = 'asdfgwertzxcvb'; | |
settings.hintAlign = 'left'; | |
settings.nextLinkRegex = /((?!first)(next|older|more|>|›|»|forward|→|次(のページ|へ))+)/i; | |
settings.prevLinkRegex = /((?!last)(prev(ious)?|newer|back|«|less|<|‹|←|前(のページ|へ))+)/i; | |
settings.focusAfterClosed = 'right'; | |
settings.scrollStepSize = 70; | |
settings.smoothScroll = true; | |
[ | |
'cp', ';cp', ';ap', ';s', 'spa', 'spb', 'spd', 'sps', 'spc', 'sd', |
# Order an awesome list by number stars. | |
# | |
# Tis one liner scripts extracts the number of stars from each repo from a given awesome list, and order repos by the number of start | |
# This one liner uses jq command, so you should have it installed in your machine | |
# Parameter | |
# Awesome List to extract, in raw | |
AWESOME_LIST=https://raw.githubusercontent.com/pditommaso/awesome-pipeline/master/README.md | |
#CREDENTIALS="jaimevalero:mysecret" | |
CREDENTIALS="replace-for-your-github-user:replace-for-your-github-password" |
http://play.inginf.units.it/#/level/1
\d+
http://play.inginf.units.it/#/level/2
(\w+)(\:\w+){5}
(\w+:){5}\w+
#! /usr/local/bin/bash | |
MYGITHUB=johngrib | |
RAW=/tmp/$MYGITHUB-github | |
TABLE=/tmp/$MYGITHUB-github-table | |
COLORS=/tmp/$MYGITHUB-github-colors | |
curl -s https://github.com/$MYGITHUB/ > $RAW | |
TITLE=`cat /tmp/johngrib-github | pcregrep -M '[0-9,]+ contributions\s*\n\s*in the last year'` |
/Applications/Spotify.app/Contents/Resources/Spotify.sdef
# read-only
osascript -e 'tell application "Spotify" to player state' # stopped,playing,paused
osascript -e 'tell application "Spotify" to current track' # The current playing track.
osascript -e 'tell application "Spotify" to artwork url of current track' # Image data in TIFF format.
osascript -e 'tell application "Spotify" to artist of current track' # The artist of the track.
Spacemacs python | |
Configure python layer. | |
(python :variables | |
python-lsp-backend 'lsp | |
python-lsp-server 'pyright | |
python-fill-column 99 | |
python-formatter 'black | |
python-format-on-save t | |
python-test-runner 'pytest |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
;;; chatgpt.el --- Simple ChatGPT frontend for Emacs -*- lexical-binding: t -*- | |
;; Copyright (C) Gavin Jaeger-Freeborn | |
;; This package is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation; either version 3, or (at your option) | |
;; any later version. | |
;; This package is distributed in the hope that it will be useful, |