Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 101
  1. Today I learned that you can hide languages that show up on the side on GitHub repositories and other hosted Git services like GitLab.

  2. Every time a new technology is introduced that increases productivity people are told that it will allow for more free time and shorter workdays.

  3. Pulumi Cloud has three kinds of access tokens: personal tokens organization tokens team tokens All three kinds of tokens look similar and have the same format: pul- followed by 40 characters (at least according to Gitleaks and TruffleHog).

  4. Introduction It’s possible to set up Time Machine drives from the command line.

  5. A failed Time Machine backup stops macOS from releasing an old local snapshot, and that snapshot retains everything you delete.

  6. Terminal Colors Are Just Text

    Terminal colors are determined by ANSI escape codes, which are just strings of text.

  7. I learned about the sys.stdout.isatty() method in Python which allows you to detect if your code is running in a terminal.

  8. I’ve been using Git for so long and I just realized you can ignore files at three different levels and not just with .gitignore.

  9. I previously wrote about how to install older versions of homebrew packages.

  10. This blog is a Hugo-generated static site hosted on AWS using S3 and CloudFront.

  11. I created my first AI pull request for Chroma, which is the default syntax highlighter used in Hugo.

  12. I Hate Workday

    I hate using Workday to apply to companies.

  13. Go has several ways of sending requests, including some convenient methods such as: http.Get() http.Head() http.Post() http.PostForm() However, these don’t let you add headers to requests!

  14. Using time.Sleep() in Go

    Basic Usage of time.Sleep() You can use time.Sleep() to pause your program for a predetermined amount of time, similar to most programming languages.

  15. At the time of writing Synology DiskStation Manager (DSM) v7.3.2-86009 Update 3 is running on Linux v4.4.302+ which doesn’t support WireGuard.

  16. > “Why do you want to work for our company?”

  17. Introduction This is a quick guide to set up GitHub Actions for Pulumi with an AWS S3 backend.

  18. tl;dr: Use the copy() method. list_a = list_b.copy() If the list has other lists in it, import copy and use copy.deepcopy() to get fully independent lists. import copy list_a = copy.deepcopy(list_b) Simple Lists Say we have two Python lists – list_a and l…

  19. Say you have a recording created with Asciinema named recording.cast and now you want to convert that into a GIF.

  20. Today I learned that you can create an empty .hushlogin file in your home directory on macOS and Linux to hide the login message you get when starting up a new terminal window or tab.

  21. I’ll be starting from scratch and creating an IAM user with access to an S3 bucket that will be used to store the Pulumi state file.

  22. I’ve used LLMs before through an interface (e.g.

  23. I recently learned that you can highlight Hugo template code blocks by specifying go-html-template after the opening backticks.

  24. tl;dr: You can use the {{- "" -}} template syntax to remove trailing whitespace on links in Hugo.

  25. I like to keep my Hugo site as lean as possible for performance reasons and to save on hosting costs.

  26. Constants to Use When Checking for HTTP Status Codes Go has useful constants in the net/http package that can make your code more readable when checking for status codes in responses.

  27. I find myself asking this any time I discover that someone uses a web browser with no ad blocking solution.

  28. Cloning a Specific Branch To clone a specific branch of a git repository without cloning all other branches, use the following command formula: git clone --single-branch --branch <branch_name> <repo_URL.git> For example, if you want to clone the release-1…

  29. There currently isn’t a way to delete all stacks with pulumi stack rm so this is an alternative way to achieve that.

  30. If you’re using a CSS library that comes with animations by default it may be a pain to maintain a modified version of it without animations.

  31. We Exist Only to Work

    I randomly checked LinkedIn the other day and I saw this banner at the top of my feed: It’s obviously an advertisement but it made me think about how much we actually work in our lives.

  32. I don’t understand why software developers participate in voluntary company hackathons on top of their day-to-day work.

  33. I ran into this warning recently on PageSpeed Insights: “Serve static assets with an efficient cache policy”.

  34. This post assumes you already have an Amazon CloudFront Distribution deployed and properly configured.

  35. Here are a bunch of Hugo snippets you can use to generate the current date and time in your Hugo site.

  36. I recently learned about the <noscript> HTML tag.

  37. I recently learned about the prefers-reduced-motion CSS media query.

  38. Leaving Proton Mail

    I’ve been a Proton subscriber for around 2 years now.

  39. In most Ruby on Rails models I’ve seen dependent: :destroy being used to handle child objects when a parent object is destroyed.

  40. On macOS, screenshots of windows have an added drop shadow by default for whatever reason.

  41. I have a growing hatred for AI-generated images in blogs.

  42. I noticed a lot of people are willing to upload their full unredacted resume to their personal sites.

  43. Today I learned you can use for...range loops in Go to iterate over a string.

  44. “Why do you want to work for us?”

  45. I quit my previous job at Robinhood in late November of 2023 mainly for health reasons.

  46. Introduction I’ve been doing interviews lately and I have been sent several Calendly links.

  47. Python Lists Cheatsheet

    This is yet another cheatsheet I made for myself when studying for Leetcode and Hackerrank kinds of interviews.

  48. In Python we can get the unique elements from a list by converting it to a set with set().

  49. Ruby Arrays Cheatsheet

    This is a cheatsheet I made for myself when studying for ( Leetcode/ Hackerrank)-style interviews.

  50. How I Discover New Blogs

    This is a list of resources I use to discover new blogs.