Skip to content

Instantly share code, notes, and snippets.

View weebNeedWeed's full-sized avatar
🎯
Focusing

Giau Le weebNeedWeed

🎯
Focusing
View GitHub Profile
#matching password: (?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*]).{8,}
@weebNeedWeed
weebNeedWeed / bracket-pair-colorizer-2-settings
Created July 20, 2020 08:13 — forked from sajithneyo/bracket-pair-colorizer-2-settings
Settings you need for bracket pair colorizer 2
{
"bracket-pair-colorizer-2.colors": [
"Gold",
"Orchid",
"LightSkyBlue",
"Salmon",
"LawnGreen",
"DarkOrange",
"Cornsilk"
],
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 15,
@weebNeedWeed
weebNeedWeed / aspnet-mvc.gitignore
Created August 24, 2021 21:21 — forked from indyfromoz/aspnet-mvc.gitignore
.Gitignore for ASP.NET MVC
###################
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.pdb
*.dll.config
*.cache
@weebNeedWeed
weebNeedWeed / .vimrc
Last active September 12, 2021 13:47
set noundofile
filetype indent on
set number
set lines=35 columns=125
set ai
set tabstop=2
set shiftwidth=2
set expandtab
call plug#begin('~/AppData/Local/nvim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'morhetz/gruvbox'
Plug 'ryanoasis/vim-devicons'
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
Plug 'garbas/vim-snipmate'
@weebNeedWeed
weebNeedWeed / handleAsyncAwaitError.js
Last active May 2, 2022 22:46
handle Async await error like a pro
const request = (type) => {
return new Promise((resolve, reject) => {
setTimeout(() => {
return type === "a" ? resolve("resolve") : reject("reject");
}, 2000);
});
};
// level 2
request("a")
@weebNeedWeed
weebNeedWeed / readme.md
Created June 29, 2022 17:01 — forked from jimmywarting/readme.md
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#define MAX 10000
char* add(char* number1, char* number2){
int num1Length = strlen(number1);
int num2Length = strlen(number2);
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleInjector
{
public class SimpleInjector
{