Skip to content

Instantly share code, notes, and snippets.

@ren-chon
ren-chon / any.cmd
Created February 6, 2023 17:15
use RUST from WSL2 Fedora 37 commands without running WSL first.
@echo off
doskey cargo=wsl.exe -u root --shell-type login cargo $*
doskey rustup=wsl.exe -u root --shell-type login rustup $*
doskey rustfmt=wsl.exe -u root --shell-type login rustfmt $*
doskey rustdoc=wsl.exe -u root --shell-type login rustdoc $*
doskey cargo-clippy=wsl.exe -u root --shell-type login cargo-clippy $*
doskey cargo-fmt=wsl.exe -u root --shell-type login cargo-fmt $*
doskey rust-gdb=wsl.exe -u root --shell-type login rust-gdb $*
doskey cargo-fleet=wsl.exe -u root --shell-type login cargo-fleet $*
doskey cargo-miri=wsl.exe -u root --shell-type login cargo-miri $*
import sys
from django.db import migrations
operation_classes = [
'AddField',
'AlterField',
'RemoveField',
'RenameField',
'AddIndex',
'AlterIndexTogether',
@ren-chon
ren-chon / open_source_licenses.md
Created March 31, 2022 21:15 — forked from nicolasdao/open_source_licenses.md
What you need to know to choose an open source license.
@ren-chon
ren-chon / index.html
Created May 19, 2019 00:23
PS4 Loading Screen | HTML + CSS + JavaScript
<body>
<div class="container">
<div class="ps4-icons">
<div class="square-icon ps-icon"></div>
<div class="cross-icon ps-icon"></div>
<div class="circle-icon ps-icon"></div>
<div class="triangle-icon ps-icon"></div>
</div>
</div>