https://gist.github.com/malash/fc0c573300b080e5745e68522d1617bf
- 北京联通默认配置为:所有LAN都支持互联网和IPTV
- 北京联通拨打客服可以改桥街,无需破解。本教程光猫已改桥接
- 光猫到路由器使用单线连接
https://gist.github.com/malash/fc0c573300b080e5745e68522d1617bf
s/--- | |
// Control the system volume from UWP, using the IAudioEndpointVolume interface | |
// | |
// Wim Bokkers | |
// | |
// Credits: | |
// * Reddit user sunius (https://www.reddit.com/user/sunius) | |
// See this thread: https://www.reddit.com/r/WPDev/comments/4kqzkb/launch_exe_with_parameter_in_uwp/d3jepi7/ | |
// And this code: https://pastebin.com/cPhVCyWj | |
// |
For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.
You can download Windows 10 or Windows 11 directly from Microsoft.
After plugging the drive to your machine, identify the name of the USB device using diskutil list
, which should return an output like the one below. In my case, the correct disk name is disk2
.
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
This cheat sheet originated from the forum, credits to Laurent Poulain. We copied it and changed or added a few things.
def example = 2 // evaluated when called
val example = 2 // evaluated immediately
// Cloudflare Worker Sandbox Examples | |
// Learning here, not intended for production use. | |
// https://cloudflareworkers.com/#6bc84bcddcf251074b41adba568a9284:https://tutorial.cloudflareworkers.com | |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)); | |
}) | |
/** |
#!/bin/env python3 | |
# | |
# Copyright 2024 Chungmin Lee | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the “Software”), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |