Skip to content

Instantly share code, notes, and snippets.

View vicenterusso's full-sized avatar
🛠️
Mastering the art of DevOps

Vicente Russo vicenterusso

🛠️
Mastering the art of DevOps
View GitHub Profile
@vicenterusso
vicenterusso / brave-download.sh
Created April 12, 2024 12:56
[Fedora / Brave] Automatically download latest stable brave browser version RPM from Github
#!/bin/bash
# GitHub user/repo
USER="brave"
REPO="brave-browser"
# Base URL for GitHub API
API_URL="https://api.github.com/repos/$USER/$REPO/releases/latest"
# Use curl to fetch the latest release data
@vicenterusso
vicenterusso / settings.json
Created December 11, 2023 15:06
My Current VSCode settings.json for flutter development with FVM
{
"dart.sdkPath": ".fvm/flutter_sdk",
"dart.flutterSdkPath": ".fvm/flutter_sdk",
// Remove .fvm files from search
"search.exclude": {
"**/.fvm": true
},
// Remove from file watching
"files.watcherExclude": {
"**/.fvm": true
@vicenterusso
vicenterusso / flutter_beamer_cheat_sheet.md
Last active March 12, 2024 20:35
Flutter Beamer Cheat Sheet

Flutter Beamer Navigation Cheat Sheet

Dont forget:
  • beamingHistory is a collection of BeamLocations.
  • pop() goes back from stack ("inside" the current BeamLocation)
  • Back button should appear only when there are >1 page in the stack of current BeamLocation.

1. Beamer.of(context).beamTo

@vicenterusso
vicenterusso / flutter_linux_build_setup.md
Last active July 20, 2023 22:08
Flutter Linux build setup on Fedora

Terminal commands

sudo dnf install cmake

sudo dnf install ninja-build

sudo dnf install clang

sudo dnf install gtk3-devel
@vicenterusso
vicenterusso / !README.md
Created June 6, 2023 11:56 — forked from heyhey1028/!README.md
Continuous delivery of flutter app (Fastlane + Github Actions + Firebase App Distribution) -- flutter build ios ---

created 2022/10/12

Continuous Delivery of Flutter test app

About

A sample code for distributing test ios app built with flutter via Firebase App Distribution with one tap of github actions. Sample is dedicated for circumstances using below.

  • flutter
  • fastlane
  • github actions
  • Firebase App Distribution
@vicenterusso
vicenterusso / 75-noto-color-emoji.conf
Created May 27, 2023 00:03 — forked from charveey/75-noto-color-emoji.conf
How to better enable Color Emojis! Fontconfig ships with some config files that are simply not enough to enable color emojis globally (the 45-generic.conf and 60-generic.conf) and just by installing Noto Color Emoji font will also not enable colorful emojis on all websites or some apps. However, this can easily be configured by creating a config…
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Add generic family. -->
<match target="pattern">
<test qual="any" name="family"><string>emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
@vicenterusso
vicenterusso / 01-generate-ed25519-ssh-key.sh
Created April 4, 2023 11:36 — forked from grenade/01-generate-ed25519-ssh-key.sh
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"
This file has been truncated, but you can view the full file.
+-------+-------------------------+------------+------+------------------------------------------------------------------------------------------------------------+------+
|id |time |request_time|method|request |status|
+-------+-------------------------+------------+------+------------------------------------------------------------------------------------------------------------+------+
|1375611|2023-03-21 04:47:53+00:00|3.252 |POST |POST /v1/pedidos/create-array HTTP/1.1 |201 |
|1378387|2023-03-21 05:07:27+00:00|2.142 |POST |POST /v1/pedidos/create-array HTTP/1.1 |201 |
|1379081|2023-03-21 05:12:11+00:00|2.052 |POST |POST /v1/pedidos/create-array HTTP/1.1 |

USER

You are a professional note taker with background experience as a professional book writer and editor. Because of this, all of the notes you take have exceptional grammar and spelling and are very high quality.

I will provide you with text to take notes on, and you will follow the below list of requirements exactly as they are listed before providing a response, checking at every step to ensure that all requirements and suggestions within the following list are met and upheld for each line of notes that you write.

All of your output will be in a Markdown code block You will extract the most important information from the provided text, including but not limited to: Content that could appear in a quiz. Context that provides background information. Examples related to the context or information being presented.

@vicenterusso
vicenterusso / gist:645beef41115c06b6d735bf493dd7a3c
Created December 23, 2022 15:17
MySQL - DataGrip - PHPStorm Connection failed
Change the following flags in Advanced Tab:
useSSL = false
allowPublicKeyRetrieval = true