Skip to content

Instantly share code, notes, and snippets.

View talhashraf's full-sized avatar

Talha Ashraf talhashraf

View GitHub Profile

Help Students

A curated list of tools. The goal of this gist is to help students all over the world with:

Communication and Screen Sharing
/*
Steps to unfollow:
------------------
1. Load all of your pinterest followers by scrolling down.
2. Run the below "Minified Version" of "unfollow.js" in browser's console.
*/
// Minified Version
$(".FollowButton.dim").each(function(){$(this).click();});
@talhashraf
talhashraf / brightness.md
Created May 16, 2015 10:42
Set default display brightness in Ubuntu

Setting Up Default Brightness in Ubuntu

Your default brightness is stored in

/sys/class/backlight/acpi_video0/brightness

but unfortunately, you have to set permissions to access it

$ chmod o+w /sys/class/backlight/acpi_video0/brightness

and now you can change the brightness level

@talhashraf
talhashraf / Getting Started: Android Development with Gradle (without Android Studio).md
Last active February 19, 2024 08:08
Getting Started: Android Development with Gradle (without Android Studio)

Getting Started: Android Development with Gradle (without Android Studio)

Install JDK

Open Terminal. Type javac -version and check your current JDK version. If you seem to have javac 1.7.* JDK version, you can skip this section.

  • Open Termianl.
  • Type sudo apt-get install openjdk-7-jdk.

Download Android SDK (standalone tools)

@talhashraf
talhashraf / twitter_unfollow.js
Last active July 3, 2018 08:38
How to unfollow all of your twitter followers in few minutes? Here is the solution. Cheers!
/*
Steps to unfollow:
------------------
1. Load all of your twitter followers by scrolling down.
2. Run the below "Minified Version" of "unfollow.js" in browser's console.
*/
// Minified Version
$(".user-actions-follow-button.js-follow-btn.follow-button.btn").each(function(){$(this).click();});