Create a keyspace
create keyspace store with replication_factor=1 and placement_strategy='org.apache.cassandra.locator.SimpleStrategy';
List keyspaces
show keyspaces;
// Auto like everything on current page | |
// Scroll every 1 seconds and repeat | |
setInterval(function () { | |
window.scrollTo(0, document.body.scrollHeight); | |
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite:visible').click(); | |
}, 1000); |
#!python3 | |
""" | |
Convert a requirements.txt file to a Poetry project. | |
Just place in the root of your working directory and run! | |
""" | |
sourceFile = "./requirements.txt" | |
import re | |
import os |
name: Unit Test | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
PHPUnit: |
ASCI art characters for creating diagrams
This show usable Markdown features on GitHub as a side by side comparison. This focuses on Markdown files, while most of also works in comments etc., there are some differences, so keep that in mind.
[ | |
{ | |
"country": "Afganistán", | |
"countryCode": 93, | |
"code": "AF", | |
"flag": "https://flagcdn.com/af.svg", | |
"emoji": "🇦🇫", | |
"latinAmerica": false, | |
"phoneLength": 9, | |
}, |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
#!/bin/sh | |
head -n 4096 /dev/urandom | openssl sha1 |