Skip to content

Instantly share code, notes, and snippets.

View the-glima's full-sized avatar
🎧
Helping robots to steal all jobs

Gabriel Lima the-glima

🎧
Helping robots to steal all jobs
View GitHub Profile
@the-glima
the-glima / agnoster.zsh-theme
Last active August 28, 2026 17:47
Oh My Zsh - Agnoster Theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@the-glima
the-glima / .vimrc
Created July 14, 2020 23:35
Vimrc
syntax on
set nocompatible " be iMproved, required
filetype off " required
set termguicolors
if has("mouse")
set mouse=a
endif
@the-glima
the-glima / angular-logo.svg
Last active November 24, 2025 22:41
[Logos] Tech/Language Logos
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@the-glima
the-glima / trigger-github-action.sh
Last active April 4, 2021 18:53
[Bash] Triggering a GitHub Action Arbitrarily #website
#!/usr/bin/env bash
REPO_PATH=$1
GITHUB_TOKEN=$2
function triggerGithubAction() {
echo "Running Manual GitHub Action Trigger for: ${REPO_PATH}"
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${GITHUB_TOKEN}" \
@the-glima
the-glima / get-latest-tag-on-git.sh
Last active May 28, 2020 08:50 — forked from rponte/get-latest-tag-on-git.sh
[Git] Getting the latest tag #website
# The command finds the most recent tag that is reachable from a commit.
# If the tag points to the commit, then only the tag is shown.
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object
# and the abbreviated object name of the most recent commit.
git describe
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix:
git describe --abbrev=0
# other examples
@the-glima
the-glima / vscode-custom-glow-theme.css
Last active May 29, 2020 02:42
[vscode] Synthwave custom styles #website
:root {
--white: #fff;
--ice: #d3d7ff;
--red: #fc199a;
--red-shadow: 0 0 2px #a71742, 0 0 10px #d51010, 0 0 2px #ff3970;
--yellow: #ffcc00;
--mustard: #f8ec81;
--orange: #fd971f;
--cyan: #61e2ff;
--green: #a6e22e;
@the-glima
the-glima / sync-branch.sh
Last active September 24, 2020 14:39
[Git] Sync your current branch with another #website
# Add this to your .bash-aliases
function syncBranch() {
# Get your current branch
local CURRENT_BRANCH=$(git symbolic-ref --short HEAD)
local CURRENT_BRANCH="${CURRENT_BRANCH}"
# If you don't pass any argument it will use the default branch
local BASE_BRANCH="${1:-master}"
@the-glima
the-glima / .bash_aliases
Last active April 4, 2021 18:55
[Bash] My bash aliases #website
# ----------------------
# Aliases
# ----------------------
# Terminal
alias .='cd .'
alias ..='cd ..'
alias ...='cd .. && cd ..'
alias ll='ls -alF'
alias la='ls -A'
@the-glima
the-glima / multiple_ssh_setting.md
Last active May 24, 2021 03:27 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys GitHub setup

Multiple SSH Keys settings for different github account

create different public key

Make sure you have .ssh folder created:

@the-glima
the-glima / pr-check.js
Last active April 4, 2020 02:23
Automated checks when creating PRs
// ==UserScript==
// @name Github PR
// @namespace https://github.com/gabrihellmateus/
// @version 0.1
// @description Automate tasks for helping creating PRs
// @author Gabriel Lima (inspired by Doug Bacelar)
// @match https://github.com/gabrihellmateus/mercearia/pull/*
// ==/UserScript==
(function() {