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 / kb-001.md
Last active January 9, 2020 13:26
kb-001: useful terminal #kb

Terminal

jobs

  1. show suspended jobs jobs
  2. stop a suspened job: kill -STOP %jobId

Git

Keybase proof

I hereby claim:

  • I am usmanakram232 on github.
  • I am usmanakram (https://keybase.io/usmanakram) on keybase.
  • I have a public key whose fingerprint is ED17 4DFC E4D1 6DB6 DD91 BD70 D438 6424 271B FA6B

To claim this, I am signing this object:

@usmanakram232
usmanakram232 / me-bucketlist.md
Last active August 7, 2020 14:22
Bucket list

LIST<BUCKET>

  • Antalya, Turkey

Kremlin Palace, Beach, Turkey Aspendos theatre Antalya, Turkey

  • Madonna della Corona, Italy

Madonna della Corona

@usmanakram232
usmanakram232 / 2018-photo.md
Last active January 2, 2018 19:40
52 Week Photography Challange 2018

52 Week Photography Challange 2018

This year again photographer Dale Foshe has put up 52 week photography chanllange here.

Following, I just list them again for my ease of use. 😆

  • Week 1 Vision: Look Ahead New year. New beginnings. New you. Look ahead. Interpret as you wish.
  • Week 2 Composition: Color Harmony Get out your color wheel. Do opposites attract? Can there be harmony with opposite colors? Does the Hulk wear purple pants? Mix warm and cool colors.
  • Week 3 Technical: Full Manual While the camera often determines shutter speed and aperture for the photographer, it doesn't know your creative intent. This week, challenge your self to assume creative control over the camera by using full manual mode. Select a subject where varying the aperture and / or shutter speed helps enhance the composition and visual qualities of the image.
  • Week 4 Creative: Quiet Moment Peace
@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 / 2017.md
Last active January 1, 2018 16:34
2017 Review

2017 - self reflection

2017 has ended, and everyone is excited about 2018 and new year resolutions.
Resolutions, as definned by Cambridge English dictionary:

a promise to yourself to do or not do something. [1]

Year end is usually, the time when companies are doing performance evaluation of its employes, and projects. For companies own evalutation, time cycle is usually not gorgian calender but mostly fiscal calender but can vary. But, in the end however, you measure your travels through time-space continuum. It is still important to evaluate the performance.