Windows 10, Ubuntu, Intel RST, BitLocket,
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 | |
# Based on thread: | |
# https://www.dell.com/community/en/conversations/linux-general/inspiron-5570-ubuntu-1804-missing-fingerprint-reader-driver/647f7f90f4ccf8a8dee1402e?commentId=647f984bf4ccf8a8deb675dc | |
sudo apt update | |
sudo apt install libfprint-2-tod1 -y | |
wget http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom_5.12.018-0ubuntu1~22.04.01_amd64.deb | |
sudo dpkg -i ./libfprint-2-tod1-broadcom_5.12.018-0ubuntu1~22.04.01_amd64.deb | |
sudo pam-auth-update |
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
version: "3.9" | |
services: | |
# http://localhost:8080/ | |
web-static: | |
ports: [ "8080:80" ] | |
image: nginx:stable | |
volumes: | |
- ./dist/:/usr/share/nginx/html/:r |
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 | |
# Store this file to flash-drive. | |
# Run as | |
# bash ./docker-flash.sh | |
# All images from list below will are installed. | |
# Also it keep dump nearby of flash-drive to reduce installation time with slow internet connection. | |
images_arr=( | |
"debian:bullseye-slim" |
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
# fix | |
# you are missing the recommended JDK, no matter how many I install the module | |
# go to Unity Editor installation dir | |
chmod ug+x ./Editor/Data/PlaybackEngines/AndroidPlayer/OpenJDK/bin/* | |
chmod ug+x ./Editor/Data/PlaybackEngines/AndroidPlayer/SDK/tools/bin/* | |
chmod ug+x ./Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/* | |
chmod ug+x ./Editor/Data/PlaybackEngines/AndroidPlayer/SDK/platform-tools/adb |
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://community.tp-link.com/en/home/forum/topic/184118 | |
# Archer T2U Plus driver for Linux Ubuntu/Rasbian | |
sudo apt update | |
sudo apt install dkms git | |
sudo apt install build-essential libelf-dev linux-headers-$(uname -r) | |
cd ~ | |
[ -d ./rtl8812au ] || git clone https://github.com/aircrack-ng/rtl8812au.git |
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-desktop-database ~/.local/share/applications | |
sudo update-desktop-database /usr/share/applications | |
sudo gtk-update-icon-cache | |
xdg-desktop-menu forceupdate |
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 | |
set -e | |
PACKAGE_NAME=$1 # ca-certificates for example | |
cd /var/lib/dpkg/info | |
sudo rm ${PACKAGE_NAME}.* | |
sudo apt-get install -f && sudo dpkg --configure -a |
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 | |
git reset --hard HEAD~10 # move to old commit (HEAD minus 10) | |
git merge --squash HEAD@{1} # merge all new commits posted after old commit | |
git commit -m "Initial commit" # set commit message | |
git push --force # force push to ignore origin commits' history |
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
#include <wiringPi.h> | |
int main() { | |
// Red LED: Physical pin 37, BCM GPIO26, and WiringPi pin 25. | |
const int led = 25; | |
wiringPiSetup(); | |
pinMode(led, OUTPUT); |
NewerOlder