Skip to content

Instantly share code, notes, and snippets.


Luiz Nickel vaporwavie

View GitHub Profile
vmarcosp /
Last active Aug 6, 2021
Links de todas as referências, redes sociais e sites utilizados nas lives de ReScript
zeroc0d3 / manpath-wrong
Created Mar 18, 2019 — forked from seafooler/manpath-wrong
Fix: "manpath: can't set the locale; make sure $LC_* and $LANG are correct"
View manpath-wrong
## Problem
When login in, the shell prints:
manpath: can't set the locale; make sure $LC_* and $LANG are correct
## Solution
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
Rich-Harris /
Last active Sep 15, 2021
The truth about Svelte

I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.

But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.

Svelte is a language.

Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?

A few projects that have answered this question:

MatheusMK3 / popups-infinitos.html
Created Apr 22, 2018
Exemplo de bug no Chrome, que permite criação de popups infinitos sem interação de usuário.
View popups-infinitos.html
<!DOCTYPE html>
<title>Google Chrome Popup Bypass</title>
<script type="text/javascript">
* Fonte: Custom Chromium Build to Reverse Engineer Pop-Under Trick <>
* Por algum motivo, os eventos "message" do Chrome são tratados como ações causadas pelo usuário, o que resulta na possibilidade de se criar popups infinitos, sem qualquer interação do usuário.
* Também possibilita exibir mais de um popup a partir de cliques de mouse e até mesmo a criação de "popunder", um popup que fica abaixo da janela atual.
SanderTheDragon /
Last active Sep 15, 2021
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
ls Postman*.tar.gz > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Removing old Postman tarballs"
rm -f $(ls Postman*.tar.gz)
curlExists=$(command -v curl)
pkgdesc="A window manager for GNOME"
arch=(i686 x86_64)
depends=(dconf gobject-introspection-runtime gsettings-desktop-schemas
libcanberra startup-notification zenity libsm gnome-desktop upower
libxkbcommon-x11 gnome-settings-daemon libgudev libinput)
vincicat /
Created Apr 4, 2017
React Native Router Flux - Little Guide on Tabs


This is one of the great navigation library, just with too little doc on customization, and unfortunately tab is one of them.


<Scene key="myTabBar" tabs={true} hideNavBar tabBarStyle={style.tabBarStyle}>
    title="My Tab" 
# run in "root" folder (e.g /home/datmusic/
chown -R datmusic:www-data storage .env
find storage -type f -exec chmod 664 {} \;
find storage -type d -exec chmod 775 {} \;
chgrp -R www-data storage .env
chmod -R ug+rwx storage .env
carlosepp / styled-components-mixin-example.jsx
Last active Sep 10, 2021
Styled Components Mixin example
View styled-components-mixin-example.jsx
// Mixin like functionality
const textInput = props => `
color: ${props.error ? color.white : color.base};
background-color: ${props.error ? color.alert : color.white};
export const Input = styled.input`
lbj96347 / jsKeyCode.txt
Created May 1, 2012
javascript Key Code
View jsKeyCode.txt
keycode 8 = BackSpace BackSpace
keycode 9 = Tab Tab
keycode 12 = Clear
keycode 13 = Enter
keycode 16 = Shift_L
keycode 17 = Control_L
keycode 18 = Alt_L
keycode 19 = Pause
keycode 20 = Caps_Lock
keycode 27 = Escape Escape