Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
import os | |
import asyncio | |
import subprocess | |
import importlib | |
import sys | |
from dotenv import load_dotenv | |
from lionagi import Session | |
from e2b_code_interpreter import CodeInterpreter | |
from llama_index.core import ( | |
VectorStoreIndex, |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
#!/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
curl http://web.archive.org/cdx/search/cdx\?limit\=1\&url\=remysharp.com | awk '{ print $2 }' | xargs date -j -f "%Y%m%d%H%M%S" |
DOMAIN='brandonb.ca'; curl http://web.archive.org/cdx/search/cdx\?limit\=1\&url\=$DOMAIN | awk '{ print $2 }' | xargs date -j -f "%Y%m%d%H%M%S" |
module.exports = (on, config) => { | |
// ... | |
const wpOptions = webpack.defaultOptions | |
wpOptions.webpackOptions.resolve = { | |
extensions: ['.ts', '.js'], | |
} | |
wpOptions.webpackOptions.module.rules.push({ | |
test: /\.ts$/, | |
exclude: [/node_modules/], |
#!/bin/bash | |
#Scaling | |
#- Scale can be used as is which will set the height to 560 but keep aspect ratio for width. | |
#- Other options include setting both with & height | |
#- Watch out for sizing errors when not divisible by 2 | |
if [[ ! "$1" || ! "$2" || ! "$3" ]] || [[ "$1" = '--help' ]]; then | |
if [[ "$1" = '--help' ]]; then | |
echo " " |
/** | |
Scaling | |
- Scale can be used as is which will set the height to 560 but keep aspect ratio for width. | |
- Other options include setting both with & height | |
- Watch out for sizing errors when not divisible by 2 | |
**/ | |
/** MP4 1st pass **/ | |
ffmpeg -i input.mov -vcodec libx264 -vprofile high -preset veryslow -b:v 225k -maxrate 300k -bufsize 1000k -vf scale=-1:560 -threads 2 -pass 1 -an -f mp4 /dev/null |
#!/bin/bash | |
#Scaling | |
#- Scale can be used as is which will set the height to 560 but keep aspect ratio for width. | |
#- Other options include setting both with & height | |
#- Watch out for sizing errors when not divisible by 2 | |
if [[ ! "$1" || ! "$2" || ! "$3" ]] || [[ "$1" = '--help' ]]; then | |
if [[ "$1" = '--help' ]]; then | |
echo " " |
Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland
Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens.
In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland
, for example you'll be launching VSCode like
$ code --enable-features=UseOzonePlatform --ozone-platform=wayland
This fix can be made permanent by creating a .desktop
file or by directly editing /usr/share/applications/visual-studio-code.desktop