Skip to content

Instantly share code, notes, and snippets.

View neninja's full-sized avatar
🔥
programando na força do ódio

Neni neninja

🔥
programando na força do ódio
View GitHub Profile
@neninja
neninja / Makefile
Last active September 21, 2022 18:16
Makefile sail
# vim:set ff=unix ts=4 ss=4 sw=4 sta noet:
# nofixendofline
#%s/^[ ]\+/\t/g
i:
./vendor/bin/sail composer i
u:
./vendor/bin/sail composer update
@neninja
neninja / .ctags.sample
Created May 27, 2022 02:42 — forked from redguardtoo/.ctags.sample
my ~/.ctags. Please note this is configuration for Exuberant Ctags. If you use Universal Ctags, you need run `ctags --options="$HOME/.ctags" -e -R` in shell at least once and fix all the warnings.
--c++-kinds=+p
--fields=+iaS
--extra=+q
--exclude=*/.hg/*
--exclude=.hg/*
--exclude=*/.cvs/*
--exclude=.cvs/*
--exclude=*/.svn/*
--exclude=.svn/*
--exclude=*/.git/*
@neninja
neninja / docker.md
Last active April 2, 2022 10:57
Criação de projeto usando docker
  • Yarn
docker container run --rm -t -v $(pwd):/app/ -w /app/projectName node:16 yarn init -y
  • React
docker container run --rm -t -v $(pwd):/app/ -w /app node:16 yarn create react-app .
@neninja
neninja / react-wsl-docker.txt
Last active March 26, 2022 21:38
teste funcionando de react no docker do wsl
no debian:
sudo apt update
sudo apt install docker.io docker-compose -y
sudo touch /etc/fstab
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
sudo service docker start
sudo service docker status
@neninja
neninja / README.md
Created August 12, 2020 05:10
vim line e column on visual bloc
a-b: (line("'<"),virtcol("'<"))(line("'>"),virtcol("'>"))
1-4: (10,16) (14,31)
2-3: (10,31) (14,16)
4-1: (10,16) (14,31)
3-2: (10,31) (14,16)

 10:16 10:31
@neninja
neninja / vim-slide.md
Created August 8, 2020 20:36
Usar vim para slide

Slides:

Usando goyo

" THANKS: https://gist.github.com/davidmh/f4337f9ea9eca6789b3f8222b8333a35
" Presentation mode
function! s:enter_presentation()
    setl nospell
    setl scrolloff=0
const $ = document.querySelector.bind(document)
// $('body')
// Créditos ao Mayk: https://www.youtube.com/watch?v=sxPEmuW7aUg
@neninja
neninja / solved.md
Created June 26, 2020 15:03
permission denied apache
  • problema de permissão para pastas montadas de servidores com windows no linux (centOS)
  • Créditos ao Lucas Blumberg (funcionário da WF)
setsebool -P httpd_use_cifs 1
@neninja
neninja / emojicom.md
Last active October 7, 2021 12:56
emojicom
@neninja
neninja / README.md
Last active April 28, 2020 02:26
Source vimscript online

Comandos

vim -c "silent Ns https://gist.githubusercontent.com/nenitf/2cfb1574a465a1355ccc2c02f93a73ab/raw/237373a5ac0036502b93c77920e92d7937d5ed47/online-vimrc.vim" a.js