Skip to content

Instantly share code, notes, and snippets.

View vampirepapi's full-sized avatar
🕉️
why worship legends when you know you can join them.

Shubham Sourabh vampirepapi

🕉️
why worship legends when you know you can join them.
View GitHub Profile
@vampirepapi
vampirepapi / Intel(R) Dual Band Wireless-AC 3168 | Slow Wifi - FIX
Created February 21, 2024 14:47
Intel(R) Dual Band Wireless-AC 3168 | Slow Wifi - FIX
In advanced network card settings, make sure that the mode set for 802.11n/ac is set to 802.11ac, BUT for 802.11a/b/g, its' set to "5G 802.11a".
Then retest and report back on performance.
@vampirepapi
vampirepapi / settings.json
Last active December 1, 2023 15:03
VSCode - settings.json ext java version + background
{
"workbench.colorTheme": "Catppuccin Macchiato",
"background.fullscreen": {
"images": ["file:///C:/Sakura_Nene_CPP.jpg"], // urls of your images
"opacity": 0.90, // 0.85 ~ 0.95 recommended
"size": "cover", // also css, `cover` to self-adaption (recommended),or `contain`、`200px 200px`
"position": "center", // alias to `background-position`, default `center`
"interval": 0 // seconds of interval for carousel, default `0` to disabled.
},
set number " Show line numbers
set linebreak " Break lines at word (requires Wrap lines)
set showbreak=+++ " Wrap-broken line prefix
set textwidth=100 " Line wrap (number of cols)
set showmatch " Highlight matching brace
set visualbell " Use visual bell (no beeping)
set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
set ignorecase " Always case-insensitive
- copy your personal access token
- go to repo folder, open .git folder here
- now open .config file
- make your [remote "origin"], url = https://"TOKEN HERE"@github.com/username/repository name.git like this.
// Documentation at https://www.sublimetext.com/docs/themes.html
{
"variables":
{
},
"rules":
[
{
"class": "sidebar_heading",
"color": "#707a8c",
\usepackage{tikzpagenodes}
\begin{document}
\begin{tikzpicture}[remember picture,overlay,shift={(current page.north west)}]
\node[anchor=north west,xshift=17cm,yshift=-0.15cm]{\includegraphics[width=3cm]{Picture.jpeg}};
\end{tikzpicture}
%upload a picture with name Picture.jpeg
\end{document}
Creating the license
Monokai Pro requires an email to purchase a license, so we're going to need one here. I'm going to use a placeholder address: email@example.com.
Sublime Text 3 -
Take your email address and get the MD5 hash of it; you can use a website like https://www.md5hashgenerator.com/ for this. My test email comes out with 5658ffccee7f0ebfda2b226238b1eb6e or use https://monogen.vercel.app/.
Now, take the first 25 characters (so 5658ffccee7f0ebfda2b22623 for me), and insert a - after every 5 characters. You'll now have a valid license; in my case, it's 5658f-fccee-7f0eb-fda2b-22623.
Visual Studio Code -
To get it to work with VScode, you need to MD5 the extension UUID with the email you want to use and use the first 25 characters of the MD5 hash for VScode.
@vampirepapi
vampirepapi / Customize the Sublime Text title bar [Windows]
Last active August 14, 2022 17:07
Customize the Sublime Text title bar [Windows]
//Adaptive Menu icon (Hamburger Icon)
// Documentation at https://www.sublimetext.com/docs/themes.html
{
"variables":
{
},
"rules":
[
{
@vampirepapi
vampirepapi / config-highlight.cfg
Created April 25, 2020 06:29
A dark highlighting theme for Python's IDLE IDE [Obsidian]
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1