Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
| import React from 'react'; | |
| import styled from '@emotion/styled'; | |
| import { css } from '@emotion/core'; | |
| import { CSSTransition } from 'react-transition-group'; | |
| const has = (key, obj) => Object.prototype.hasOwnProperty.call(obj, key); | |
| const keyframes = [ | |
| 'appear', | |
| 'enter', |
Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
| import React, {useState} from "react"; | |
| import axios from "axios"; | |
| import config from "../config" | |
| const endpoint = config.apiGateway.URL; | |
| export const Upload = () => { | |
| const [file, setFile] = useState<File | undefined>() |
| import useScrollRestoration from "utils/hooks/useScrollRestoration"; | |
| const App = ({ Component, pageProps, router }) => { | |
| useScrollRestoration(router); | |
| return <Component {...pageProps} />; | |
| }; | |
| export default App; |
| ' Disables Vanguard from starting when you boot your computer | |
| Call CreateObject("Shell.Application").ShellExecute("cmd.exe", "/c ""sc config vgc start= disabled & sc config vgk start= disabled""", "", "runas") |
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Http\Requests\StoreOrganization; | |
| use App\Organization; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Support\Facades\Redirect; | |
| use Illuminate\Support\Facades\Request; | |
| use Inertia\Inertia; |
| <?php | |
| namespace App\Providers; | |
| use App\Support\Utils\OctaModal; | |
| use App\Support\Utils\OctaResponse; | |
| use Illuminate\Support\Facades\Cache; | |
| use Illuminate\Support\Facades\Session; | |
| use Illuminate\Support\ServiceProvider; | |
| use Inertia\Inertia; |
| Log of the following commands: | |
| uname -r | |
| cat /etc/issue | |
| lsusb | |
| lsusb -v -d 22f0:0008 | |
| dmesg | |
| 5.4.0-37-generic | |
| Linux Mint 20.3 Una \n \l |