Skip to content

Instantly share code, notes, and snippets.

View namcoder's full-sized avatar
🌴
On vacation "><img src=x onerror=alert(99)>

Nam Le namcoder

🌴
On vacation "><img src=x onerror=alert(99)>
View GitHub Profile
@adamdb
adamdb / NERDTree Commands
Last active July 11, 2023 11:52
A list of useful NERDTree commands.
Use the natural Vim navigation keys hjkl to navigate the files.
Press o to open the file in a new buffer or open/close directory.
Press t to open the file in a new tab.
Press i to open the file in a new horizontal split.
Press s to open the file in a new vertical split.
Press p to go to parent directory.
Press r to refresh the current directory.
Press m to launch NERDTree menu inside Vim.
@vitorbritto
vitorbritto / rm_mysql.md
Last active April 23, 2024 14:21
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
    
@AloofBuddha
AloofBuddha / associations.md
Last active February 27, 2024 08:25
Sequelize Relationships: hasOne vs belongsTo
@isaurssaurav
isaurssaurav / godaddy domain point to s3bucket
Last active August 20, 2019 06:45
Point Godaddy domain to aws s3 bucket
In AWS Console
1. Create a bucket
1.1 name a bucket as domain for easy purpose
2. Go to properties of bucket
2.1. Go to edit bucket policy
- in text editor, edit a resource key with your domain name after ::
2.2. Go to static web hosting
- Enable a webhosting option
2.2.1. There is a endpoint link which is used to point your bucket to domain
@vavkamil
vavkamil / blind-xss-cloudflare-worker.js
Last active November 2, 2023 14:43
Serverless Blind XSS hunter with Cloudflare Worker
addEventListener("fetch", event => {
event.respondWith(handleRequest(event.request))
})
////////////////////////////////////////////////////////////////////////////////////////////////////
// ! DON'T LEAK THE SECRETS !
// Use Workers KV if you can https://developers.cloudflare.com/workers/reference/storage/
const telegram_token = "*****REDACTED*****";
const telegram_url = "https://api.telegram.org/bot" + telegram_token + "/sendMessage";