Skip to content

Instantly share code, notes, and snippets.

View hiwllc's full-sized avatar
🏠
Working from home

Wallace Batista hiwllc

🏠
Working from home
View GitHub Profile
@poteto
poteto / FBGroupMemberRemover.js
Last active September 11, 2019 17:49
Delete everyone from your Facebook group! Thanks for the dark UX, FB
class FBGroupMemberRemover {
constructor() {
this.adminText = 'Admin';
this.removeMemberModalHeadingText = 'Remove Member';
this.memberElementSelector = '[data-name="GroupProfileGridItem"]';
this.memberContextMenuSelector = 'button[aria-label="Member Settings"]';
this.removeMemberButtonSelector = 'a[data-testid="leave_group"]'
this.removalOptions = {
@vhaberkorn
vhaberkorn / Instalação_Archlinux.md
Last active February 21, 2021 21:50
Instalação Arch

Instalação do arch linux com full disk encription LVM on LUKS

baseado no script de instalação de @derekstavis 💚

Se algum momento tiver dúvidas sobre o os comando, procurar aqui:(https://wiki.archlinux.org/index.php/installation_guide)

Garantir se fez o boot utilizando EFI

ls /sys/firmware/efi # Deve haver arquivos nesse folder

Checar conexão com a internet.

@sibelius
sibelius / Dockerfile
Created August 6, 2019 19:07
Dockerfile monorepo
### **** This is the Build Image ****
FROM node:10.15.3
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Followed this repo:
# https://github.com/slanatech/vue-monorepo-boilerplate/blob/ef3d5d2bcdf47c553a2713eca222c22ea1bc2901/README.md#docker-build
# to setup Docker + Lerna monorepo approach
@sibelius
sibelius / usePageView.tsx
Created April 20, 2020 14:58
usePageView using react-ga
import { usePrevious } from '@app/hooks';
import { useEffect } from 'react';
import ReactGA from 'react-ga';
import { useLocation } from 'react-router-dom';
export const usePageView = () => {
const location = useLocation();
const lastLocation = usePrevious(location);