Skip to content

Instantly share code, notes, and snippets.

View PickledDragon's full-sized avatar
🏠
Working from home

Praveen Kottarathil PickledDragon

🏠
Working from home
View GitHub Profile
mvn -DgroupId=org.apache.camel.community.so -DartifactId=q59053263 -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.camel.archetypes -DarchetypeArtifactId=camel-archetype-spring-boot -DarchetypeVersion=3.0.0-RC3 org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate
Host jumphost.domain.net gitlab.domain.net 10.2.2.*
ProxyCommand none
Host *
ProxyCommand ssh -W %h:%p [email protected]
ServerAliveInterval 120
ControlMaster auto
ControlPersist=300s
ControlPath=~/.ssh/%u-at-%h
find . -maxdepth 1 -mtime -1 -name "*TRA*" -exec cp -p -v {} /tmp/inc12345 \;
git tag -l | xargs -n 1 git push --delete
git remote add upstream [email protected]:something/repo.git
git fetch upstream
git merge upstream/master master
docker rmi $(docker images -q)
dnf repoquery -l <package>
/usr/lib/systemd/system/ Systemd units distributed with installed RPM packages.
/run/systemd/system/ Systemd units created at run time. This directory takes precedence over the directory with installed service units.
/etc/systemd/system/ Systemd units created and managed by the system administrator. This directory takes precedence over the directory with runtime units.
Follow https://github.com/patjak/bcwc_pcie
## Firmware extraction
Download the driver (zip version) and extract it by following these steps:
* Clone the git repository with `$ git clone https://github.com/patjak/bcwc_pcie.git`
* Change to the firmware directory with `$ cd bcwc_pcie/firmware`
* Under bcwc_pcie-master/firmware type `$ make` and then as root type `# make install`
* Result should be like:
* Boot with live CD
* Drop into root console
* Use 'lsblk' to list device details
* cryptsetup luksDump <device-name> to see howmany key slots are available
* cryptsetup luksAddKey <device-name> to add new key