Skip to content

Instantly share code, notes, and snippets.

View Its-Ankush's full-sized avatar
🎯
Focusing

Senpai Its-Ankush

🎯
Focusing
View GitHub Profile
@muff-in
muff-in / resources.md
Last active September 30, 2025 15:52
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active October 22, 2025 10:04
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@Gustavo-Kuze
Gustavo-Kuze / force-ctrl-c-v.md
Last active October 11, 2025 14:25
Enable copy and paste in a webpage from the browser console
javascript:(function(){
  allowCopyAndPaste = function(e){
  e.stopImmediatePropagation();
  return true;
  };
  document.addEventListener('copy', allowCopyAndPaste, true);
  document.addEventListener('paste', allowCopyAndPaste, true);
  document.addEventListener('onpaste', allowCopyAndPaste, true);
})(); 
@geeshans
geeshans / Kubernetes Hello World App.md
Created August 30, 2016 09:46 — forked from initcron/Kubernetes Hello World App.md
Creating and Deploying a Sample App with Kubernetes

Create Dockerfile for sample Node App

    mkdir dev

    cd dev

    cat > Dockerfile
    
FROM node:4.4
@bobuss
bobuss / gist:6515517
Last active August 15, 2025 15:44
Tuning the Linux Kernel for many tcp connections

(from http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1)

Save yourself some time and tune the kernel tcp settings before testing with lots of connections, or your test will fail and you’ll see lots of Out of socket memory messages (and if you are masquerading, nf_conntrack: table full, dropping packet.)

Here are the sysctl settings I ended up with - YMMV, but these will probably do:

$ cat /etc/sysctl.conf
# General gigabit tuning:
net.core.rmem_max = 16777216