Skip to content

Instantly share code, notes, and snippets.

View developersharif's full-sized avatar
:octocat:
Focusing

Sharif developersharif

:octocat:
Focusing
View GitHub Profile
@developersharif
developersharif / server.(improved).js
Last active April 19, 2023 08:25
PHP Vs Nodejs Benchmark
const mysql = require('mysql2/promise');
const http = require('http');
const pool = mysql.createPool({
host: 'localhost',
user: 'root',
password: '',
database: 'nobarun',
waitForConnections: true,
connectionLimit: 10,
@developersharif
developersharif / Monaco-Editor.html
Created March 5, 2023 11:20
Monaco Editor Example with multiple languages
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Monaco Editor</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/min/vs/editor/editor.main.css">
</head>
<body>
@DakuTree
DakuTree / decryptchromecookies.py
Last active September 11, 2024 06:51
Decrypt Chrome Cookies File (Python 3) - Windows
#Based off https://gist.github.com/DakuTree/98c8362fb424351b803e & pieces of https://gist.github.com/jordan-wright/5770442
from os import getenv
from shutil import copyfile
import sqlite3
import win32crypt #https://sourceforge.net/projects/pywin32/
# Copy Cookies to current folder
copyfile(getenv("APPDATA") + "/../Local/Google/Chrome/User Data/Default/Cookies", './Cookies')
# Connect to the Database