Skip to content

Instantly share code, notes, and snippets.

View bartier's full-sized avatar

Vitor Anjos bartier

View GitHub Profile
@pannal
pannal / slack-always-online.user.js
Last active March 7, 2024 23:12 — forked from THOUSAND-SKY/slack-always-online.user.js
Slack: Always Active user script
// ==UserScript==
// @name Slack: Always Stay Active
// @namespace https://ericdraken.com/slack-always-stay-active
// @version 1.0.4
// @description Always stay active on Slack.
// @author Eric Draken (ericdraken.com), THOUSAND-SKY, pannal
// @match https://app.slack.com/client/*
// @icon https://www.google.com/s2/favicons?domain=slack.com
// @grant unsafeWindow
// @run-at document-start

Authorize gcloud to access the Cloud Platform with Google user credentials

$ gcloud auth login

Configure kubectl tool

$ gcloud container clusters get-credentials kubeernetes --zone us-central1-a --project camel-knative
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active May 10, 2024 15:01
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active May 10, 2024 09:38
Online Resources For Web Developers (No Downloading)
@guilhermebruzzi
guilhermebruzzi / github-net-config.md
Last active May 22, 2023 17:02
NET não libera a porta 22 e impede de acessar o github por ssh

Usar ssh do github com wifi do netcombo

A NET parece que só libera o uso de qualquer porta, como a porta 22 de ssh, para pessoa jurídica em seus novos planos (desde 2016).

Para conseguir usar o github por ssh com plano de internet da NET para pessoa física, é necessário:

Criar o arquivo ~/.ssh/config e adicionar:

Host github.com
@CMCDragonkai
CMCDragonkai / curl_custom_dns.sh
Last active August 18, 2023 12:00
cURL: Selecting a custom DNS server to resolve domain names
#!/usr/bin/env bash
# this can be useful when developing against a custom DNS server, or
# for example, if you made a change to the DNS settings of a domain, and you
# know the authoritative nameserver IP address for a domain, you could use this
# to bypass the intermediate DNS cache, and apply an HTTP request using the new
# DNS settings supplied by your specified (authoritative) nameserver
curl --dns-servers <DNSIP,DNSIP> url.com
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 12, 2024 01:58
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@rxaviers
rxaviers / gist:7360908
Last active May 12, 2024 18:45
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: