Skip to content

Instantly share code, notes, and snippets.

@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active April 27, 2024 14:50
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@sevynkooper
sevynkooper / windows-11-keys.md
Last active April 27, 2024 14:49 — forked from Esaqe/windows-keys.md
Windows 11 Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Where to buy windows 11 pro keys?

To get Windows Keys go to : https://www.sftkey.com

if you need a Windows 11 Pro key, this is the direct link to get it :

@klgraham
klgraham / hello-luajit.c
Last active April 27, 2024 14:45
A simple example of embedding LuaJIT in C
#include <stdio.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include "luajit.h"
int main(int argc, char *argv[])
{
int status;
lua_State *L;
@attrib
attrib / oauth.js
Last active April 27, 2024 14:44
Get access_token with oauth for jira cloud (OAuth with RSA-SHA1)
var
fs = require('fs'),
// Generate key using for example:
// openssl genrsa -out ~/.ssh/jira_rsa 2048
// openssl rsa -in ~/.ssh/jira_rsa -pubout > ~/.ssh/jira_rsa.pub
privateKeyData = fs.readFileSync(process.env['HOME'] + '/.ssh/jira_rsa', "utf8"),
consumerKey = 'XXXXXXXXXXXX', // just create any string
OAuth = require('oauth').OAuth,
readline = require('readline'),
host = "https://xxxx.atlassian.net";
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 27, 2024 14:50
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@rumansaleem
rumansaleem / clean-up-arch-linux.md
Created May 28, 2019 08:51
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
NVD Program Announcement UPDATED - April, 25th 2024
NIST maintains the National Vulnerability Database (NVD), a repository of
information on software and hardware flaws that can compromise computer security.
This is a key piece of the nation’s cybersecurity infrastructure.
There is a growing backlog of vulnerabilities submitted to the NVD and requiring
analysis. This is based on a variety of factors, including an increase in software
and, therefore, vulnerabilities, as well as a change in interagency support.
@sundowndev
sundowndev / GoogleDorking.md
Last active April 27, 2024 14:37
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"