Skip to content

Instantly share code, notes, and snippets.

View pushp1997's full-sized avatar
📚
Learning

Pushp Vashisht pushp1997

📚
Learning
View GitHub Profile
@ahmedazhar05
ahmedazhar05 / GFG Unblocker.js
Created November 23, 2021 17:10
To unblock the signup modal in GeeksForGeeks website
javascript: (function() {
if (/^https?:\/\/(www\.)?geeksforgeeks\./g.test(document.URL)) {
document.querySelector(".login-modal-div").style.display = "none";
window.onscroll = null;
document.body.style.position = "initial";
} else alert("This feature only works in GeeksForGeeks site");
})();
// ==UserScript==
// @name Unblur scribd.com
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://vi.scribd.com/*
// @grant none
// ==/UserScript==
(function() {
@l13t
l13t / values.yaml
Created January 16, 2019 13:21
alertmanager alerts to slack for prometheus-operator
.......some config.....
alertmanager:
## Deploy alertmanager
##
enabled: true
## Service account for Alertmanager to use.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
@khannasarthak
khannasarthak / InterviewRoadmap.md
Last active October 29, 2024 22:39
My Interview Study roadmap

Coding Interview University

I originally created this as a short to-do list of study topics for becoming a software engineer, but it grew to the large list you see today. After going through this study plan, I got hired as a Software Development Engineer at Amazon! You probably won't have to study as much as I did. Anyway, everything you need is here.

The items listed here will prepare you well for in an interview at just about any software company, including the giants: Amazon, Facebook, Google or Microsoft. >

@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@mengzhuo
mengzhuo / toggle-touchpad
Created October 30, 2013 05:38
Toggle TouchPad on Linux with synclient, works/Tested on Ubuntu
#!/bin/sh
synclient TouchpadOff=$((`synclient -l | grep TouchpadOff | awk '{print $3}'`==0))