Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
{ | |
"image": "mcr.microsoft.com/devcontainers/universal:2", | |
"features": { | |
"ghcr.io/devcontainers/features/anaconda:1": { "version": "latest" }, | |
"ghcr.io/devcontainers/features/aws-cli:1": { "version": "latest" }, | |
"ghcr.io/devcontainers/features/azure-cli:1": { | |
"installBicep": true, | |
"version": "latest" | |
}, | |
"ghcr.io/devcontainers/features/common-utils:2": { |
#!/usr/bin/env bash | |
# WARNING!! | |
# This will obliterate all the data in your partition!! (not actually true, but act as if it was) | |
# Do NOT execute this script if you don't fully understand it! | |
# a few vars | |
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' ) | |
# create directories |
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.
import Uppy, { debugLogger } from '@uppy/core' | |
import Dashboard from '@uppy/dashboard' | |
import GoogleDrive from '@uppy/google-drive' | |
import Dropbox from '@uppy/dropbox' | |
import Instagram from '@uppy/instagram' | |
import Facebook from '@uppy/facebook' | |
import OneDrive from '@uppy/onedrive' | |
import Zoom from '@uppy/zoom' | |
import Unsplash from '@uppy/unsplash' |
/* | |
* Taken from multiple sources | |
* https://www.reddit.com/r/FirefoxCSS/comments/pcuir9/sidebery_hideshow_sidebar_when_hovering_very/ | |
* https://mrotherguy.github.io/firefox-csshacks/ | |
* browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar = False | |
* The above one is to search the url right in the search box in the new tab page without handing the control over to the url bar | |
*/ | |
.tabbrowser-tab { | |
visibility: collapse; | |
} |
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
Import-Module -Name posh-git | |
Import-Module -Name Terminal-Icons | |
Set-Alias desktop "Desktop.ps1" | |
Register-ArgumentCompleter -Native -CommandName winget -ScriptBlock { | |
param($wordToComplete, $commandAst, $cursorPosition) |
Install-Module posh-git | |
Install-Module oh-my-posh | |
Install-Module -Name PSReadLine -Force -SkipPublisherCheck | |
Install-Module Terminal-Icons -Repository PSGallery |
# Install necessary dependencies for installing Ruby | |
sudo apt install git curl libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev | |
# Install `snap` | |
sudo apt install snapd | |
# Unmask `snapd.service` | |
sudo systemctl unmask snapd.service | |
# Enable `snapd.service` |
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |