Interactive shell selector for Zed terminal tabs. Opens an arrow-key menu on each new terminal.
brew install lazygit yazi
brew install --cask font-jetbrains-mono-nerd-font # for yazi icons| %% | |
| % Copyright (c) 2017 - 2021, Pascal Wagler; | |
| % Copyright (c) 2014 - 2021, John MacFarlane | |
| % | |
| % All rights reserved. | |
| % | |
| % Redistribution and use in source and binary forms, with or without | |
| % modification, are permitted provided that the following conditions | |
| % are met: | |
| % |
| /** | |
| Create pagebreaks in exported Obsidian PDFs. | |
| Example: | |
| # Heading 1 | |
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. | |
| Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, | |
| when an unknown printer took a galley of type and scrambled it to make a type |
| property btnTitle : "Mute audio" | |
| if application "zoom.us" is running then | |
| tell application "System Events" | |
| tell application process "zoom.us" | |
| if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then | |
| set returnValue to "Unmuted" | |
| else | |
| set returnValue to "Muted" | |
| end if |
I've been deceiving you all. I had you believe that Svelte was a UI framework β unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.
But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.
Svelte is a language.
Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?
A few projects that have answered this question:
| # first: mkdir user && cd user && cp /path/to/get_gists.py . | |
| # python3 get_gists.py user | |
| import requests | |
| import sys | |
| from subprocess import call | |
| user = sys.argv[1] | |
| r = requests.get('https://api.github.com/users/{0}/gists'.format(user)) |
To get Semantic UI fonts working:
npm install semantic-ui-css
Import 'semantic-ui-css/semantic.css' in your entry script. The exact
syntax for this varies depending on your chosen module format: import
for ES6, require for CommonJS, etc. This tells Webpack to pull the CSS
into your bundle.
npm install --save-dev style-loader css-loader
These are two commands for switching the Spotify proxy on and off, as Spotify doesn't automate it for you. Also bundled are some aliases you can use to switch from the command line.
.command fileschmod +x Spotify_Proxy_Off.command Spotify_Proxy_On.command)Now you can proxy switch from Spotlight by searching Spotify Proxy On and Spotify Proxy Off π€
As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.