Skip to content

Instantly share code, notes, and snippets.

View qba73's full-sized avatar
πŸ‘¨β€πŸ’»

Jakub Jarosz qba73

πŸ‘¨β€πŸ’»
View GitHub Profile
@qba73
qba73 / Makefile
Created October 13, 2025 14:32 — forked from scastiel/Makefile
Resources for eBook creating using Pandoc
all: pdf epub kindle html examples
BOOK_TITLE = A\ React\ Developer’s\ Guide\ to\ Hooks\ -\ Sebastien\ Castiel
dist:
@mkdir -p dist
pdf: dist/${BOOK_TITLE}.pdf
@echo 'βœ… PDF'
@qba73
qba73 / one-wire.md
Created August 15, 2025 11:21 — forked from MarcosYonamine963/one-wire.md
1-Wire Implementation

What is 1-Wire protocol?

The 1-Wire protocol is a proprietary protocol (Maxim/Dallas) single-wire interface, half-duplex, bidirectional, low-speed and power, long-distance serial-data communication protocol. It operates over a single data line, without clock signal. But, at least two wires are required for 1-wire bus: Data, GND. An additional wire might be necessary (Vcc), depending on powering mode. The powering modes are: parasitic (no vcc), and conventional (with vcc), as seen on figures below.

image

image

@qba73
qba73 / .tmux.conf
Created October 23, 2023 17:23 — forked from sharjeelaziz/.tmux.conf
tmux commands refresher with config
set -g @plugin 'tmux-plugins/tmux-logging'
#set prefix
set -g prefix C-a
bind C-a send-prefix
unbind C-b
set -g history-limit 100000
set -g allow-rename off
@qba73
qba73 / pcat-install.sh
Created January 8, 2019 09:27 — forked from BretFisher/pcat-install.sh
On macOS: Install pygmentize and alias pcat for shell code syntax highlighting
# first install pygmentize to the mac OS X or macOS system with the built-in python
sudo easy_install Pygments
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc.
alias pcat='pygmentize -f terminal256 -O style=native -g'
@qba73
qba73 / cbed-targz02
Created July 12, 2018 14:18
cbed-targz02
$ tar -xvzf terraform.tar.gz
x terraform-test/
x terraform-test/terraform.tfstate
x terraform-test/main.tf
$ ls terraform-test/
main.tf terraform.tfstate
@qba73
qba73 / cbed-targz
Created July 12, 2018 14:03
cbed-snippet001
$ ls terraform-test/
main.tf terraform.tfstate
$ tar -zcvf terraform.tar.gz terraform-test
a terraform-test
a terraform-test/terraform.tfstate
a terraform-test/main.tf
$ ls | grep terraform.tar
terraform.tar.gz
@qba73
qba73 / infosec_newbie.md
Created February 18, 2018 19:49 — forked from mubix/infosec_newbie.md
How to start in Infosec

FWIW: I didn't produce the content present here. I've just copy-pasted it from somewhere over the Internet, but I cannot remember exactly the original source. I was also not able to find the author's name, so I cannot give him/her the proper credit.


Effective Engineer - Notes

What's an Effective Engineer?

#!/bin/bash
echo "Updating brew..."
brew update
echo "Upgrading packages..."
brew upgrade
echo "Making cleanup..."
brew cleanup
@qba73
qba73 / acloudguru_ec2_1
Created January 7, 2017 15:00
EC2 basic web page - script executed when EC2 instance starts
#!/bin/bash
yum install httpd -y
yum update -y
service httpd start
chkconfig httpd on
echo "<html><h1>Hello Cloud Gurus!</h1></html>" > /var/www/html/index.html