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
# PowerShell script derived from code and examples of Oleksandr Tomin. | |
# | |
# https://github.com/alex-tomin/Tomin.Tools.KioskMode | |
# https://alextomin.wordpress.com/2015/04/10/kiosk-mode-in-windows-chrome-on-multiple-displays/ | |
# | |
# A comment was left by Garr G on the Wordpress site that suggested combining C# directly into | |
# the PowerShell script so the user doesn't have to load a dll. I've done that here. | |
# | |
# Note that in the default Windows setup scripts are disabled. You'll need to run PowerShell as an | |
# Administrator and execute the command "Set-ExecutionPolicy RemoteSigned" |
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
/* | |
Based on this fantastic work by Chip Weinberger: | |
https://github.com/espressif/esp-idf/pull/11575 | |
This function can be added to: | |
esp-idf/components/esp_system/port/arch/xtensa/debug_helpers.c | |
with declaration to: | |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
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
// | |
// | |
// CGVectorArithmetics.swift | |
// | |
// Created by fewlinesofcode.com on 2/6/19. | |
// Copyright © 2019 fewlinesofcode.com All rights reserved. | |
// | |
import Foundation | |
import CoreGraphics |
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
// | |
// Vector2D.swift | |
// | |
// Created by fewlinesofcode.com on 2/6/19. | |
// Copyright © 2019 fewlinesofcode.com All rights reserved. | |
// | |
import Foundation | |
struct Vector2D { |
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
Routing: | |
to make vias, run a trace and then just switch layers. | |
it's useful to map f2 and f3 to top/bottom respectively so it's easy to switch on the fly | |
Useful commands: | |
show (net) // e.g. "show 5v" -> shows all elements on that net | |
Ground pour: | |
create polygon on four corners of board | |
width of .1524mm, 0.006" |
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
#!/usr/bin/swift | |
/* | |
AppleUSBFTDILoader.swift | |
Brian Doyle | |
April 17, 2019 | |
Released under MIT license: |
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
# Softether VPN client setup for SSTP on Mac OS X Sierra | |
# install tuntap from the binaries at http://tuntaposx.sourceforge.net (can't build from source w/o kext-enabled cert from apple) | |
# download and build softether mac os x client, then: | |
sudo mv vpnclient /usr/local | |
sudo chown -R 0:0 /usr/local/vpnclient | |
sudo find /usr/local/vpnclient -type f -exec chmod 600 {} \; -type d -exec chmod 700 {} \; | |
sudo chmod 700 /usr/local/vpnclient/{vpnclient,vpncmd} |
NewerOlder