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
#!/bin/bash | |
cd /sys/kernel/config/usb_gadget/ | |
mkdir -p procon | |
cd procon | |
echo 0x057e > idVendor | |
echo 0x2009 > idProduct | |
echo 0x0200 > bcdDevice | |
echo 0x0200 > bcdUSB | |
echo 0x00 > bDeviceClass |
Short link to this gist: http://tinyurl.com/browsersync-via-foreman
(or http://caseywatts.com/browsersync)
The "Browser Sync Simple" section is probably what you want.
If you need something more advanced than that, then the "Browser Sync with Foreman" would help.
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
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily | |
// made by @yourcompanionAI | |
// licensed under the trust that you will credit me for my work visibly and other than that you can go have fun with this | |
// window.wc is the webcrack object | |
// wc.get gives you the module attached to the id you give it. | |
// literally just what webpack functions use. not much to it | |
// this is the basic part of all this, everything else is just to allow you to updateproof your code | |
// both find functions return modules in this format: |
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
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |
(Serial port or com port? - Serial ports are often refered as COM ports. It is the same to be short. You can read abut it in the Wiki article )
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
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
# | |
# Current known FCC address ranges: | |
# https://news.ycombinator.com/item?id=7716915 | |
# | |
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
# | |
# In your nginx.conf: | |
location / { |
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
# It looks like -multiwindow mode triggers the static color visual in both the internal x2go xserver and the external vcxsrv | |
# But it also looks like -multiwindow mode is how x2go client allows resizing of the remote desktop | |
# ...so I'm looking for a way to allow resizing of remote desktop w/out triggering static color visual. | |
# | |
# ...output of vcxsrv.exe's usage note: | |
Usage... | |
Vcxsrv [:<display>] [option] | |
:display-number |
rsync (Everyone seems to like -z, but it is much slower for me)
- a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
- H: preserves hard-links
- A: preserves ACLs