Skip to content

Instantly share code, notes, and snippets.

View atilara's full-sized avatar
🥸

Átila Rodrigues atilara

🥸
  • Pernambuco, Brasil.
View GitHub Profile
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 13, 2024 23:36
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

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active July 16, 2024 16:25
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@kvendrik
kvendrik / StockPhotoSearch.tsx
Created July 9, 2018 16:07
TypeScript example: passing props into a Route.
import * as React from 'react';
import {RouteComponentProps} from 'react-router-dom';
import {Bind, Debounce} from 'lodash-decorators';
import SearchBar from 'Components/SearchBar';
import ImagePreview from 'Components/ImagePreview';
import * as styles from './StockPhotoSearch.scss';
type Props = {};
type ComposedProps = Props & RouteComponentProps<{
@jjvillavicencio
jjvillavicencio / setup.sh
Last active July 9, 2024 02:33
Install Android SDK on Windows Bash (WSL)
cd /home/<user>/
sudo apt-get install unzip
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d Android
rm sdk-tools-linux-4333796.zip
sudo apt-get install -y lib32z1 openjdk-8-jdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc
cd Android/tools/bin