Add the following to the bottom of your bash script.
#required for the fuck package
eval "$(thefuck --alias)"
#customise the bash prompt
PS1="\[\033[01;34m\]$\[\033[01;00m\] "| import React from "react"; | |
| import ReactDOM from "react-dom"; | |
| import App from "./App"; | |
| import ContextProvider from "./context"; | |
| ReactDOM.render( | |
| <ContextProvider> | |
| <App /> | |
| </ContextProvider>, | |
| document.getElementById("root") |
| import { useContext } from "./context"; | |
| const Example = () => { | |
| const [thing] = useContext(); | |
| return ( | |
| <> | |
| {thing} | |
| </> | |
| ); |
| import { useContext } from "./context"; | |
| const Example = () => { | |
| const [thing] = useContext(); | |
| return ( | |
| <> | |
| {thing} | |
| </> | |
| ); |
| -- | |
| <p> | |
| Jesse Wood | |
| <p> | |
| <img height=100px width=100px src="https://avatars0.githubusercontent.com/u/18411037?s=460&u=f7b8b49568c83d34a45c57ded800c064aa46df79&v=4"> | |
| <p> | |
| Student, | |
| <br> | |
| Software Engineering | |
| <br> |
| def hakimi n,list | |
| list = list.sort.reverse | |
| return true if list.empty? or list[0] == 0 | |
| list.delete(0) | |
| n = list.shift | |
| return false if (n > list.length) | |
| (0..n-1).each {|i| list[i] = (list[i]-1)} | |
| return hakimi(n, list) | |
| end |
| sudo systemctl start nordvpnd | |
| nordvpn connect us |
| a=1 | |
| for i in *.mkv; do | |
| placeholder="" | |
| if [ "$a" -lt 10 ] | |
| then | |
| placeholder="0" | |
| fi | |
| new=$(printf "Episode-%s%d.mkv" "$placeholder" "$a") | |
| mv -i -- "$i" "$new" | |
| let a=a+1 |
yay xdotoolsCtrl+Shift+P