Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I came across this interesting post.
-
https://a2a-protocol.org/latest/ It is primarily for agents to collaborate on long running tasks.
-
Download netboot efi wget https://boot.netboot.xyz/ipxe/netboot.xyz-arm64.efi Move it to /boot/efi/ Open cloud shell connection from the instance page.
-
Create R2 tokens from the r2 Overview page.
-
LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO").upper() logger = logging.getLogger() logger.setLevel(level=LOG_LEVEL) logger.info("Info log") logger.info("Error log") Also see amazon web services - Using python Logging with AWS Lambda - Stack Overflow
-
poetry build poetry run pip install --upgrade -t dist/lambda dist/reporter*.whl cd dist/lambda; zip -r ..
-
Use mkcert mkcert -install mkcert localhost # creates two localhost.pem (cert) and localhost-key.pem (key) file provide the key and cert file to the http server program.
-
When you use an import statement in your code, the Python runtime searches the directories in its search path until it finds the module or package.
-
Check your /etc/hosts So ran into this stupid error where lnd was not starting because it was trying to lookup localhost and it couldn’t resolve it so it asks the DNS server (1.1.1.1) and obviously can’t resolve it either. failed to load config: lookup lo…
-
Faced an issue where I would get stuck in a redirect loop when configured a cloudflare dns as ‘proxied’.
-
I use dwm as my window manager and I always wanted to hack on it ever since I started using it and I have taken my first step towards that by debugging it and understanding the codebase a little.
-
I have this alias in my bashrc: alias qn="cd ~/docs/org/0-inbox/ && vim `date +%Y-%m-%d-%H%M`.md" which uses Command-Substitution1 and basically just makes a “quick note” which I can refer later and move it a more appropriate place in my organized notes…
-
--force-with-lease git push --force-with-lease – safer than just --force since if it doesn’t expect the same commit before the force push to be there as yours, it doesn’t push it. git maintenance start makes things faster.
-
Make sure that URL lengths are within range 8192 bytes Some other services might follow a generic 2000 character limit. http - What is the maximum length of a URL in different browsers?
-
Server Setup [Interface] PrivateKey = yMvNoQjJrhKBi9BM1GVDOgp12002CBsafprcucOLNXM= Address = 10.0.0.1/24 PostUp = iptables -A FORWARD -i wg1 -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE PostDown = iptables -D FORWARD -i wg1 -j ACCEPT; i…
-
Although s3 has a flat structure—unlike a filesystem—it has a concept of “folders”.
-
install pyenv install a python version using pyenv install 3.9 this should have created a directory ~/.pyenv tell poetry to use a specific python version - poetry env use /home/prithu/.pyenv/versions/3.9.18/bin/python then run poetry install
-
Software How to “think” (and design) like a Software Architect at Silicon Valley Code Camp 2019 Hardware The Future of Microprocessors — Sophie Wilson
-
These are not the same docker tag api-service:latest 123456789012.dkr.ecr.eu-west-1.amazonaws.com/api:latest docker push 123456789012.dkr.ecr.eu-west-1.amazonaws.com/api:latest docker tag api-service:latest 123456789012.dkr.ecr.eu-west-1.amazonaws.com/ap…
-
A few months ago, I wanted to host files stored on a portable hard disk on the public internet.
-
The example.com equivalent of IP address is the block of 192.0.2.0/24.
-
https://owasp.org/www-project-api-security/ https://www.youtube.com/playlist?
-
Working with Unix Processes Working with TCP Sockets Beej’s Guide Use the Index Luke
-
Complete this note with auth methods and how they are implemented are resources. https://security.stackexchange.com/questions/166724/should-i-use-csrf-protection-on-rest-api-endpoints
-
Computer Science Reducible - 3b1b type videos of CS topics Ben Eater - Computer architecture and electronics Computerphile - Computer science explained Zero To ASIC Course Science Nils Berglund - YouTube Makes cool simulations Infotainment Asianometry - Y…
-
broot - A new way to see and navigate directory trees hstr - shell history suggest box - easily view, navigate, search and manage your command history. pasystray - A nice pulse audio system tray written in c GitHub - Canop/rhit: A nginx log explorer
-
https://mynoise.net/ https://brainaural.com/ https://asoftmurmur.com/
-
These are notes that I took while reading the The Go Prgogramming Language book Interesting points Go has some strictness when it comes to compiling if packages are imported but not used - don’t compile if a newline is placed incorrectly - don’t compile.
-
Wrote the following in the FOSS United Telegram group, might expand this later as a blog post.
-
If you want to give access to everything in the bucket (objects) make sure the resource arn for the s3 bucket must also have a /* indicating all objects in the bucket "Resource": [ "arn:aws:s3:::BUCKET-NAME", ] This one won’t give access to objects in…
-
There are two ways to manage access of a bucket - user policies or resources policies.
-
tldr; ECS is just AWS’s proprietary orchestration solution.
-
xxd is a great tool.
-
playwright is really good for browser automation.
-
TIL from RFC2732 that the way you access an ipv6 address in a browser is by enclosing it in square brackets http://[2401:4900:f00b:dead:2f2d:48ac:9fdb:b7ff]:8080/path/file.txt
-
server { server_name git.prithu.dev; listen 80; access_log /var/log/nginx/git.prithu.dev/access.log; error_log /var/log/nginx/git.prithu.dev/error.log; #auth_basic "Git Login"; #auth_basic_user_file "/srv/git/.htpasswd"; location /static
-
Videos Exploring the Fundamentals of AWS Networking (SVC211) AWS Networking Fundamentals Working with AWS Networking and Amazon VPC
-
Was just setting up shiori behind nginx and I wanted it such that https://prithu.dev/shiori passess the request to port 8001.
-
I am going to try to keep this as dense and precise as possible and only store “usefull” knowledge.
-
Git hooks are great to automate your software development workflow.
-
TIL that there are really good ways of writing one-liners in python.
-
I saw a cool video by ghidra ninja on yt that went over firmware reversing for an a small security camera.
-
There are hardware skimmers that collect card data when swiped but there can also be code written that can skim cards in an online checkout screen using code injection techniques.
-
I was listening to an episode of darknet diaries and learnt that there is this profession called a “physical penetration tester” where basically a person works for a institution who wants to test the security of their physical infrastructure (buildings).
-
View discussion on Hacker News The Unix philosophy lays emphasis on building software that is simple and extensible.
-
I see configurable software like vim and i3 really good tools to work with.
-
i3bar screenshot It’s the IPL season and I thought why not keep a track of the score of the matches that are in progress.