This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When building React Native apps on Linux, you might get this error at some point: | |
The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl | |
Here's how to fix it: | |
You will need administration privileges at some point! | |
1. Check for the current value of max_user_watches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int ac, char **av) | |
{ | |
int t; | |
int n; | |
int *arr; | |
int i; | |
int j; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name slitherio plugin | |
// @namespace hc.priv.no | |
// @description Plugin for slither.io | |
// @include http://slither.io/* | |
// @include https://slither.io/* | |
// @updateURL https://github.com/Montaron/Slitherio-Plugin/raw/master/slitherio-plugin.meta.js | |
// @downloadURL https://github.com/Montaron/Slitherio-Plugin/raw/master/slitherio-plugin.user.js | |
// @version 1.13 | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif | |
let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
let g:vim_bootstrap_langs = "javascript,ruby,python,c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
config=~/.zshrc | |
echo "" >> ${config} | |
echo "# Shortcuts provided by Nick Rameau (@r4meau | 42)" >> ${config} | |
echo "# Remove those two lines below if you're not using a 42 computer" >> ${config} | |
echo "alias gg=\"gcc -Wall -Wextra -Werror\"" >> ${config} | |
echo "alias nn=\"norminette -R CheckForbiddenSourceHeader\"" >> ${config} | |
echo "" >> ${config} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Lets you press F6 to add the standard 42 header to your file | |
nnoremap <F6> :Stdheader<CR> | |
" Sets UTF-8 encoding | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" Disables vi compatibility (emulation of old bugs) | |
set nocompatible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Emmet", | |
"JsFormat", | |
"JSHint", |
NewerOlder