Skip to content

Instantly share code, notes, and snippets.

View ChandanShakya's full-sized avatar
💤
Sleeping

Chandan Shakya ChandanShakya

💤
Sleeping
View GitHub Profile
@ChandanShakya
ChandanShakya / Dark.user.js
Last active July 11, 2023 18:17
Stripped Dark Reader UserScript (Global Dark Mode)
// ==UserScript==
// @name Dark Reader (Unofficial)
// @icon https://darkreader.org/images/darkreader-icon-256x256.png
// @namespace DarkReader
// @description Inverts the brightness of pages to reduce eye strain
// @version 4.7.15
// @author https://github.com/darkreader/darkreader#contributors
// @homepageURL https://darkreader.org/ | https://github.com/darkreader/darkreader
// @run-at document-end
// @grant none
@ChandanShakya
ChandanShakya / st.py
Created May 24, 2022 04:21
Python script to do speedtest using speedtest-cli
from speedtest import Speedtest
st = Speedtest()
# Download speed in Mbps
download = round(st.download() / 10**6, 2)
# Upload speed in Mbps
upload = round(st.upload() / 10**6, 2)
# Ping in ms
@ChandanShakya
ChandanShakya / windows_activation.md
Created September 12, 2022 12:31 — forked from butageek/windows_activation.md
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@ChandanShakya
ChandanShakya / php.ini
Created August 4, 2023 11:00
Xdebug enabling for php.ini
zend_extension = xdebug
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_port=9003
xdebug.client_host = localhost
Pulseaudio caused no sound chipping and lags, avoided pipewire
@ChandanShakya
ChandanShakya / dns.md
Created October 23, 2023 08:44
DNS cache checking in chromium based browsers

In Chromium based browsers, you can see the status of your DNS cache by going to chrome://net-internals/#dns

@ChandanShakya
ChandanShakya / vmwk17key.txt
Created December 14, 2023 15:26 — forked from PurpleVibe32/vmwk17key.txt
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@ChandanShakya
ChandanShakya / vmwk17key-5000keys-unchecked.txt
Created December 14, 2023 15:30 — forked from PurpleVibe32/vmwk17key-5000keys-unchecked.txt
5000k+ vmware workstation pro 17 (untested)
4U612-DN31H-MJEJ0-0V0Z4-978HD
5G44H-ACH50-0J4C9-1VC5P-CY0QD
JC000-8G047-MJDF1-0H3E6-8QR5F
JV2NU-0XL5N-0J4Q8-0T0E6-8GH56
JZ6E0-4R1E0-HJ1Q0-1R8NH-3AK28
0Z48K-4X29Q-MJE80-113GK-C7K3A
HF4H0-46K80-MJ8D9-1KAZP-CKK12
NY69H-2N05P-HJ170-1V1ZM-CG222
4C45A-D8J0H-HJ5T0-1T25H-92A76
0Z4H2-0WK9K-4JE10-0T9G6-9C8M4
@ChandanShakya
ChandanShakya / csLan.md
Created March 3, 2024 17:39
CS 1.6 Server On LAN

CS 1.6 LAN Server

  • On Host Computer:
    • Open an offline game
    • Open Developer console using ` key
    • Enable LAN by typing: sv_lan 1
    • Check the status of the server: status
  • On Client Computer:
    • To connect to the server: connect <ip>
    • To connect to the server with password: connect <ip>; password <password>
@ChandanShakya
ChandanShakya / date.blade.php
Created April 5, 2024 07:42
Nepali Date Conversion Bi-directional using leapfrog date converter (laravel/livewire)
<div>
<div class="@error('dateOfBirthBs')border border-danger rounded-3 @enderror input-group">
<input wire:model='nepaliFormattedDateBs'
class="multisteps-form__input form-control dob-picker" type="text"
onfocus="focused(this)" onfocusout="defocused(this)"
data-twofas-input-listener="true" placeholder="११/१/२०२२" id="dateOfBirthBs"
name="dateOfBirthBs">
<span class="input-group-text">BS</span>
</div>
@error('dateOfBirthBs')