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
$Disk = Get-Disk | Where-Object {$_.Path -match "USBSTOR" -and $_.Size -gt 20Gb -and -not $_.IsBoot } | |
Clear-Disk –InputObject $Disk[0] -RemoveData | |
Initialize-Disk –InputObject $Disk[0] -PartitionStyle MBR | |
$SystemPartition = New-Partition –InputObject $Disk[0] -Size (350MB) -IsActive | |
Format-Volume -NewFileSystemLabel "UFD-System" -FileSystem FAT32 -Partition $SystemPartition |
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 | |
gsettings set org.gnome.desktop.interface monospace-font-name 'Noto Sans Mono 15' |
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
conan source .. | |
conan install -o aws-sdk-cpp:build_s3=True -o aws-sdk-cpp:build_transfer=True -o min_size=False -o aws-sdk-cpp:shared=True -s os=Linux -s arch=x86-64 -s build_type=Release . | |
conan build . | |
conan package . | |
conan export-pkg --package-folder=./package . arturfog/release | |
conan upload aws-sdk-cpp/1.4.64@arturfog/release --all -r my-conan-repo | |
conan remote add arturfog-conan-repo https://api.bintray.com/conan/arturfog/oss-conan | |
conan search -r arturfog-conan-repo |
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
xhost +local:root | |
sudo docker run -it \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-e DISPLAY=unix$DISPLAY \ | |
-v $HOME/Downloads:/tmp/Downloads \ | |
--device /dev/dri \ | |
--device /dev/snd \ | |
-v /dev/shm:/dev/shm \ | |
-v $XDG_RUNTIME_DIR/pulse:$XDG_RUNTIME_DIR/pulse \ | |
-e PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native \ |
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
apt update && apt install -y sudo \ | |
mc \ | |
alsa-utils \ | |
libgl1-mesa-dri \ | |
libgl1-mesa-glx \ | |
hicolor-icon-theme \ | |
ca-certificates \ | |
libcanberra-gtk* \ | |
libpulse0 \ | |
chromium-browser |
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 | |
#sudo systemctl start docker | |
sudo docker start ubuntu | |
sudo docker exec -u artur -e DISPLAY="unix:0" -e COLUMNS="`tput cols`" -e LINES="`tput lines`" -ti ubuntu zsh |
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
apt-get install qemu-user-static | |
# Mount my target filesystem on /mnt | |
mount -o loop fs.img /mnt | |
# Copy the static ARM binary that provides emulation | |
# Or, more simply: cp /usr/bin/qemu-arm-static /mnt/usr/bin | |
cp $(which qemu-arm-static) /mnt/usr/bin | |
# Finally chroot into /mnt, then run 'qemu-arm-static bash' |
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
ng new client --routing --prefix tcc --skip-install | |
ng generate module shared --module app | |
ng generate module shared/material --module shared | |
ng serve -o | |
npm i -g @angular/cli | |
npm install gulp-cli -g | |
npm install --save-dev typescript gulp gulp-typescript | |
npm install --save express socket.io @types/express @types/socket.io |
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
[general] | |
version = 4 | |
name = Anet A6_settings | |
definition = custom | |
[metadata] | |
setting_version = 5 | |
type = definition_changes | |
[values] |
OlderNewer