- make an extfat partition for windows using disk utility
- make a bootable windows usb (just format disk as fat32 and rsync iso contents)
- boot windows installation, press
shift+f10
to open a console - type
diskpart
, thenlist volume
to figure out windows extfat partion drive letter - type
dism /Get-WimInfo /WimFile:D:\Sources\install.wim
to figure out what window version to install - type
dism /Apply-Image /ImageFile:D:\Sources\install.wim /index:1 /ApplyDir:C:\
to install specified version intoC:
- type
diskpart
, thenlist partition
to figure out EFI partition. - type
select partition #
, thenassign
to "mount" EFI partition, annotate EFI partition letter. - type
bcdboot C:\Windows /s E: /f uefi
to copy Windows UEFI stuff to EFI partition (E:
)
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
$rreplace($rreplace($rreplace($if2(%albumartist%,%artist%)-%album%$if(%catalognumber%,-\($upper($rreplace(%catalognumber%,[^A-Za-z0-9],))\))$if(%date%,-$left(%date%,4))/$lower($num(%tracknumber%,2)-%artist%-%title%),['\\.\,;:]+,),\\s+,_),Various_Artists,VA) |
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
setup_var 0x502 0x00 |
mkdir build
docker run -v "$PWD:/opentx" -w /opentx/build pafleraf/opentx-dev cmake -DPCB=X7 -DPCBREV=TLITE -DGVARS=YES -DLUA=YES -DHELI=NO -DDEBUG=NO -DCMAKE_BUILD_TYPE=Release ..
docker run -v "$PWD:/opentx" -w /opentx/build pafleraf/opentx-dev make -j4 firmware
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
defaults write -g InitialKeyRepeat -int 12 | |
defaults write -g KeyRepeat -int 2 | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false | |
defaults write com.apple.finder WarnOnEmptyTrash -bool false | |
defaults write -g WebAutomaticTextReplacementEnabled -bool true | |
chflags nohidden ~/Library | |
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
# Get a list by executing: say -v "?" | |
# Install more from Accessibility -> Speech | |
VOICE = "Samantha" | |
DEFAULT_MESSAGES = File.read("en-US-taranis.csv").lines.reduce({}) do |result, line| | |
path, filename, message = line.chomp.split(";") | |
result[File.join(path, File.basename(filename, ".*"))] = message | |
result | |
end |
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
# Copyright (c) 2017 Ultimaker B.V. | |
# Cura is released under the terms of the LGPLv3 or higher. | |
import UM.Settings.Models.SettingVisibilityHandler | |
class MaterialSettingsVisibilityHandler(UM.Settings.Models.SettingVisibilityHandler.SettingVisibilityHandler): | |
def __init__(self, parent=None, *args, **kwargs): | |
super().__init__(parent=parent, *args, **kwargs) |
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
# generates random dates per row | |
update myjacoti_measurementsession set date_start = (select random_date() where myjacoti_measurementsession.uuid = myjacoti_measurementsession.uuid); |
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
# https://tutorials-raspberrypi.de/lcd-touch-display-teil-2-anpassungen/ | |
# http://projectable.me/raspberry-pi-touchscreen-octoprint-controller/ | |
sudo apt-get install xserver-xorg-video-fbturbo | |
git clone https://github.com/goodtft/LCD-show.git | |
LCD-show/LCD35-show 180 | |
# fix framebuffer |
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
/etc/X11/Xwrapper.config -> allowed_users=anybody | |
/usr/share/X11/xorg.conf.d/99-fbdev.conf | |
Section "Device" | |
Identifier "touchscreen" | |
Driver "fbdev" | |
Option "fbdev" "/dev/fb1" | |
EndSection |