In your package.json
:
"scripts": {
"start": "per-env",
"start:development": "echo We're in development!",
"start:production": "echo We're in production!",
}
Optimize-VHD -Mode Full %APPDATA%\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\ext4.vhdx |
#!/usr/bin/env bash | |
# | |
# Create React Component. | |
# | |
# Sane defaults. | |
# -e Exit on error. | |
# -u Whine on undefined variables. | |
# -o pipefail Exit main script if pipe process fails. | |
set -euo pipefail |
In your package.json
:
"scripts": {
"start": "per-env",
"start:development": "echo We're in development!",
"start:production": "echo We're in production!",
}
/** | |
* Unknown array type alias. | |
*/ | |
type TArray = unknown[]; | |
/** | |
* Unknown object type alias. | |
*/ | |
type TObject = Record<string | symbol, unknown>; |
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Arthur subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="Everything" title="Everything"> | |
<outline type="rss" text="TechCrunch" title="TechCrunch" xmlUrl="http://feeds.feedburner.com/Techcrunch" htmlUrl="https://techcrunch.com" /> | |
<outline type="rss" text="TorrentFreak" title="TorrentFreak" xmlUrl="http://feeds.feedburner.com/Torrentfreak" htmlUrl="https://torrentfreak.com" /> |
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { | |
Start-Process -FilePath PowerShell.exe -Verb RunAs -ArgumentList "-ExecutionPolicy Bypass -File ""$PSCommandPath""" | |
Exit | |
} | |
Write-Host "1. Stopping Hyper-V* services" | |
$s = Get-Service | Where-Object { $_.DisplayName -like "Hyper-V*" -and $_.Status -eq "Running" } | |
$s | ForEach-Object { Stop-Service -Force $_.ServiceName } | |
Write-Host -NoNewline "2. Press ENTER to continue" |
# starship prompt | |
# https://starship.rs/ | |
eval "$(starship init zsh)" | |
# rtx runtime | |
# https://github.com/jdx/rtx | |
eval "$(rtx activate zsh)" | |
export PIPENV_VENV_IN_PROJECT=1 | |
export VISUAL=vim |
const cloneDeep = require("clone-deep"); | |
const { readFileSync, existsSync } = require("fs"); | |
const path = require("path"); | |
// next-less (official plugin to integrate Less) is now | |
// deprecated so we have to provide our own solution. | |
// | |
// Next.js already provides built-in integration with CSS and Sass, but it | |
// relies on a dynamic WebPack config. generation to do it optimally. | |
// |
import { useState, useEffect } from "react"; | |
type Serializable = | |
| null | |
| boolean | |
| number | |
| string | |
| Date | |
| { toJSON(): string } | |
| Serializable[] |
backgroundOrder: | |
- 13 | |
- 44 | |
- 52 | |
- 11 | |
- 51 | |
- 50 | |
- 9 | |
- 12 | |
- 14 |