Skip to content

Instantly share code, notes, and snippets.

View usmanakram232's full-sized avatar
:octocat:
Do not be afraid of devs - we don't eat people, at least usually we don't.

wolfi3 usmanakram232

:octocat:
Do not be afraid of devs - we don't eat people, at least usually we don't.
View GitHub Profile
@usmanakram232
usmanakram232 / Don't use Vim.md
Created December 4, 2022 10:22 — forked from romainl/Don't use Vim.md
Don't use Vim for the wrong reasons

Don't use Vim

Don't do the crime, if you can't do the time.

-- Anthony Vincenzo "Tony" Baretta

Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.

Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.

// ==UserScript==
// @name Fuck with my native clipboard, and find out
// @namespace no-clipbiard-fuckery
// @description Who cares if password managers are more secure? Making users hate your app is the real security.
// @shortcutKeys [Ctrl + `] Activate Absolute Right Click Mode To Force Remove Any Type Of Protection
// @author this is stolen
// @version 2.0.0
// @include *://*
// @grant GM_registerMenuCommand
// @updateURL https://get-my-gists.daddy.workers.dev/?gistId=05facb6827406b5a04b5645724b237d4&filename=no-clipboard-fuckery.user.js
// ==UserScript==
// @name Replace pocket article view links with original links
// @updateURL https://gist.github.com/akatopo/db936ca93c02ff53b3c0/raw
// @downloadURL https://gist.github.com/akatopo/db936ca93c02ff53b3c0/raw
// @version 0.19
// @description Replaces pocket article view links with original links without redirect
// and moves the article view link next to the delete button. Removes share and copy link buttons.
// @require https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.18.1/URI.min.js#sha384=fwI1rPfq814p7OaC91S1eASL8OGwE9c9oY5F8ho98XH1f6XB9CQpvwvyQPl+Vl5B
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js#sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=
// @match https://getpocket.com/saves*
@usmanakram232
usmanakram232 / Readme.md
Created January 17, 2022 09:44 — forked from iosifnicolae2/Readme.md
Youtube is Boring

How To Make Youtube Less Boring

Paste the below code in your browser console (F12 > Console):

(()=>{
    markAllVideosAsNotBeingInteresting({
        iterations: 1
    });
})();
@usmanakram232
usmanakram232 / aligning-images.md
Last active January 9, 2020 13:33 — forked from DavidWells/aligning-images.md
Guide to aligning images in github readme.md files #kb

Aligning images

left alignment

This is the code you need to align images to the left:

@usmanakram232
usmanakram232 / tmux_cheatsheet.markdown
Last active January 9, 2020 13:26 — forked from henrik/tmux_cheatsheet.markdown
kb-002: tmux cheatsheet #kb

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: