dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BAMBIENT | |
// @version 1.1.2 | |
// @description Bilibili Ambient Mode | |
// @author jamesliu96 | |
// @license MIT | |
// @namespace https://jamesliu.info/ | |
// @homepage https://gist.github.com/jamesliu96/03775eba64ff6b26efd6ee2676354f52 | |
// @match https://*.bilibili.com/* | |
// @icon https://www.bilibili.com/favicon.ico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:0,kexp320.mp3 | |
https://kexp.streamguys1.com/kexp320.mp3 | |
#EXTINF:0,kexp128.mp3 | |
https://kexp.streamguys1.com/kexp128.mp3 | |
#EXTINF:0,kexp160.aac | |
https://kexp.streamguys1.com/kexp160.aac | |
#EXTINF:0,kexp64.aac | |
https://kexp.streamguys1.com/kexp64.aac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uci set wireless.radio0.channel=8 | |
uci set wireless.radio0.htmode=HT40- | |
uci set wireless.radio0.noscan=1 | |
uci set wireless.radio0.bursting=1 | |
uci set wireless.radio0.ff=1 | |
uci set wireless.radio0.compression=1 | |
uci set wireless.radio0.xr=1 | |
uci set wireless.radio0.ar=1 | |
uci set wireless.radio0.txpower=20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## | |
# Tweaked Win11 Initial Setup Script | |
# Primary Author: Disassembler <disassembler@dasm.cz> | |
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences. | |
# Modified by: @DanielLarsenNZ - based on my personal preferences. Some additions for Windows 11 | |
# Version: 2.12.2, 2021-12-11 | |
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
# Tweak difference: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# launch daily notes with `notes` | |
# launch specific notes with `notes woodworking` | |
# this is a cloud synced file, so it's live on all my devices | |
function notes(){ | |
SUBJECT="${1:=daily}" | |
if [ -z "$SUBJECT" ] | |
then | |
(cd ~/Documents/notes && hx NOTES.md) | |
else | |
(cd ~/Documents/notes && hx "${SUBJECT:u}.md" NOTES.md) |
These instructions were devised for macOS Sonoma 14.3.1 on Apple Silicon, but the overall workflow should be appropriate for all Mac and Linux systems. Please provide comments so I can continue to improve these notes.
- You will need a C compiler, which is available by installing XCode/Command Line Tools.
- Install
cmake
using MacPorts or similar if you don't already have it installed. You can see if it is already installed usingwhich cmake
in the terminal.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:async'; | |
import 'dart:math'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
Hello,
My SO is learning coding. I wanted a convenient way for her to consume the content from roadmap.sh.
I hope it can help someone else.
If you want your own roadmap:
- Fork or Copy-paste the md files you are interested in your own gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Woocommerce Checkout JS events | |
$( document.body ).trigger( 'init_checkout' ); | |
$( document.body ).trigger( 'payment_method_selected' ); | |
$( document.body ).trigger( 'update_checkout' ); | |
$( document.body ).trigger( 'updated_checkout' ); | |
$( document.body ).trigger( 'checkout_error' ); | |
//Woocommerce cart page JS events | |
$( document.body ).trigger( 'wc_cart_emptied' ); | |
$( document.body ).trigger( 'update_checkout' ); |
NewerOlder