Skip to content

Instantly share code, notes, and snippets.

View dausruddin's full-sized avatar
🏠
Working from home

dausruddin

🏠
Working from home
View GitHub Profile
#
# refind.conf
# Configuration file for the rEFInd boot menu
#
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout). Setting it to -1 causes
# an immediate boot to the default OS *UNLESS* a keypress is in the buffer
# when rEFInd launches, in which case that keypress is interpreted as a
# shortcut key. If no matching shortcut is found, rEFInd displays its
@dausruddin
dausruddin / PKGBUILD
Created August 26, 2021 17:58
Install this for displaying embedded cover are picture in your video in Dolphin.
_pkgname=kffmpegthumbnailer
pkgname=$_pkgname-svn
pkgver=r493
pkgrel=1
pkgdesc='a video thumbnailer for kde based on ffmpegthumbnailer'
arch=('x86_64')
url='https://github.com/dirkvdb/ffmpegthumbnailer/tree/master/kffmpegthumbnailer'
depends=('ffmpeg' 'ffmpegthumbnailer' 'extra-cmake-modules')
makedepends=('subversion' 'cmake')
license=('MIT')
// ==UserScript==
// @name AdsBypasser
// @namespace AdsBypasser
// @description Bypass Ads
// @copyright 2012+, Wei-Cheng Pan (legnaleurc)
// @version 7.15.0
// @license BSD
// @homepageURL https://adsbypasser.github.io/
// @supportURL https://github.com/adsbypasser/adsbypasser/issues
// @updateURL https://adsbypasser.github.io/releases/adsbypasser.full.es7.meta.js
@dausruddin
dausruddin / default
Last active December 5, 2020 13:25
My configurations for openresty
server {
listen 80 default_server;
listen [::]:80 default_server;
listen 443 default_server;
listen [::]:443 default_server;
server_name _;
# sudo openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out nginx.crt -keyout nginx.key
ssl_certificate /etc/openresty/nginx/conf/ssl/nginx.crt;
(function(){var h=window.Cbox||{},v=h.q||[],f={},w=0,r=function(b,a){b=b||{};a=a||{};for(var c in b)"undefined"===typeof a[c]&&(a[c]=b[c]);return a},t=function(b,a){var c=document.createElement("iframe"),e=b.split(/-/),k="dev"===e[0]?"dev":"www";e[0].match(/^[0-9]$/)&&(k+=e[0]);var e={name:"cboxmain",width:"100%",height:"100%",src:"https://"+k+".cbox.ws/box/?boxid="+e[1]+"&boxtag="+e[2]+"&sec=main",marginheight:"0",marginwidth:"0",frameborder:"0",scrolling:"no",allowtransparency:"yes",style:"border: 0"},
d;for(d in e)c.setAttribute(d,e[d]);return c},x=function(){var b=document.createElement("style");b.innerHTML=".CboxButton {position: fixed;opacity: 1;z-index: 9999;bottom: 0px;right: 0px;width: 120px;height: 30px;transform: rotateZ(-90deg);transform-origin: 60px -30px;padding: 0px 1em;box-sizing: border-box;text-align: center;cursor: pointer;background: rgba(0, 0, 0, 0.79);color: #fff;line-height: 30px;transition: opacity 200ms ease-in;border-radius: 0 15px 0 0px;}.CboxUserCount {background: #8BC34A;position:
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@dausruddin
dausruddin / nginx.service
Created November 4, 2019 14:51
systemd unit file for Nginx used by Ondřej Surý on Ubuntu 18.04
# Stop dance for nginx
# =======================
#
# ExecStop sends SIGSTOP (graceful stop) to the nginx process.
# If, after 5s (--retry QUIT/5) nginx is still running, systemd takes control
# and sends SIGTERM (fast shutdown) to the main process.
# After another 5s (TimeoutStopSec=5), and if nginx is alive, systemd sends
# SIGKILL to all the remaining processes in the process group (KillMode=mixed).
#
# nginx signals reference doc:
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@dausruddin
dausruddin / start.sh
Created November 21, 2017 12:25
XMR-Stak start script
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/build/bin/xmr-stak --config $DIR/build/config.txt
@dausruddin
dausruddin / curlprogress.php
Created September 19, 2016 01:53
Curl with progress. Taken from stackoverflow (forgot the link to source)
<?php
echo "<pre>";
echo "Loading ...<br>";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://stackoverflow.com");
//curl_setopt($ch, CURLOPT_BUFFERSIZE,128);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, 'progress');