Skip to content

Instantly share code, notes, and snippets.

View mauro-balades's full-sized avatar
๐Ÿ˜ช
Focusing

mr. m mauro-balades

๐Ÿ˜ช
Focusing
View GitHub Profile
#!/bin/bash
REPO=zen-browser/desktop
# bulk close issues
bulk_delete() {
# Get all (around 5k) issues that are open and paginated (NOT PULL REQUESTS)
raw_issues=$(gh api -X GET /repos/$REPO/issues --jq '.[] | select(.state == "open" and .pull_request == null) | .number' --paginate)
# hard code the issue numbers
@mauro-balades
mauro-balades / fast_firefox.md
Created January 5, 2025 15:12 — forked from RubenKelevra/fast_firefox.md
Make Firefox fast again
@mauro-balades
mauro-balades / plfm.md
Created February 18, 2024 21:17
The perfect programming language (for me)

Welcome

The quest for the perfect programming language is a personal and subjective journey, as the most suitable language can vary widely depending on an individual's needs, preferences, and the context of the task at hand. No single programming language can claim to be universally perfect, but there is often one that aligns closely with a specific developer's requirements, providing the right balance of power, expressiveness, and ease of use.

Here's what I would love to have in a perfect programming language:

  • Static typing
  • Compiled and low-level (I need speed)
  • High-level constructs (combined with point #2)
  • Exception-based Error Handling
@mauro-balades
mauro-balades / nice.py
Last active September 5, 2023 13:25
Nice python turtle shape
import turtle as sneaky_turtle
sneaky_turtle.speed(0)
i = 120/2
while True:
for i in range(6):
sneaky_turtle.forward(100)
sneaky_turtle.left(360/6)
sneaky_turtle.left(i/2)
i *= 2
@mauro-balades
mauro-balades / a.c
Last active June 11, 2023 10:47
beauty-of-c
#include __FILE__
pleaseKillMe;
@mauro-balades
mauro-balades / osx-ld.md
Created May 9, 2023 04:50 — forked from loderunner/osx-ld.md
potential blog posts

ld โ€“ Wading through Mac OS X linker hell

Intro

Friend: I tried looking at static linking in Mac OS X and it seems nearly impossible. Take a look at this http://stackoverflow.com/a/3801032

Me: I have no idea what that -static flag does, but I'm pretty sure that's not how you link to a library. Let me RTFM a bit.

Minutes later...

@mauro-balades
mauro-balades / readme.md
Created May 3, 2023 17:51 — forked from siumhossain/readme.md
How to install selenium chrome web driver in linux

Download chrome webdriver from

Click here for download

Make sure driver version match your chrome browser version

Open folder where chrome driver downloaded and open terminal & run one by one

sudo chmod +x chromedriver
["โœŒ","๐Ÿ˜‚","๐Ÿ˜","๐Ÿ˜","๐Ÿ˜ฑ","๐Ÿ‘‰","๐Ÿ™Œ","๐Ÿป","๐Ÿ”ฅ","๐ŸŒˆ","โ˜€","๐ŸŽˆ","๐ŸŒน","๐Ÿ’„","๐ŸŽ€","โšฝ","๐ŸŽพ","๐Ÿ","๐Ÿ˜ก","๐Ÿ‘ฟ","๐Ÿป","๐Ÿถ","๐Ÿฌ","๐ŸŸ","๐Ÿ€","๐Ÿ‘€","๐Ÿš—","๐ŸŽ","๐Ÿ’","๐Ÿ’™","๐Ÿ‘Œ","โค","๐Ÿ˜","๐Ÿ˜‰","๐Ÿ˜“","๐Ÿ˜ณ","๐Ÿ’ช","๐Ÿ’ฉ","๐Ÿธ","๐Ÿ”‘","๐Ÿ’–","๐ŸŒŸ","๐ŸŽ‰","๐ŸŒบ","๐ŸŽถ","๐Ÿ‘ ","๐Ÿˆ","โšพ","๐Ÿ†","๐Ÿ‘ฝ","๐Ÿ’€","๐Ÿต","๐Ÿฎ","๐Ÿฉ","๐ŸŽ","๐Ÿ’ฃ","๐Ÿ‘ƒ","๐Ÿ‘‚","๐Ÿ“","๐Ÿ’˜","๐Ÿ’œ","๐Ÿ‘Š","๐Ÿ’‹","๐Ÿ˜˜","๐Ÿ˜œ","๐Ÿ˜ต","๐Ÿ™","๐Ÿ‘‹","๐Ÿšฝ","๐Ÿ’ƒ","๐Ÿ’Ž","๐Ÿš€","๐ŸŒ™","๐ŸŽ","โ›„","๐ŸŒŠ","โ›ต","๐Ÿ€","๐ŸŽฑ","๐Ÿ’ฐ","๐Ÿ‘ถ","๐Ÿ‘ธ","๐Ÿฐ","๐Ÿท","๐Ÿ","๐Ÿซ","๐Ÿ”ซ","๐Ÿ‘„","๐Ÿšฒ","๐Ÿ‰","๐Ÿ’›","๐Ÿ’š"]
@mauro-balades
mauro-balades / what.c
Created April 9, 2023 19:22
Procrastination > Work
#include <stdio.h>
#define x(int, y) main(int a, char** y) {
#define y putchar
#define z return
#define a 0x5F
#define b 0x04
#define c 0x6F
#define d 0x77
#define e 0x62
@mauro-balades
mauro-balades / format.sh
Last active March 6, 2023 16:23
Format your C++ projects
# note (1): remember to change the ".cpp" to the extension (and the path) you want formatted
# note (2): this works with header files too
find src/**/*.cpp | xargs clang-format -i -style="{IndentWidth: 4,TabWidth: 4}"