Skip to content

Instantly share code, notes, and snippets.

View surajmandalcell's full-sized avatar
🏃‍♂️
Working

Suraj Mandal surajmandalcell

🏃‍♂️
Working
View GitHub Profile
@surajmandalcell
surajmandalcell / twitter-unfollow.js
Created January 1, 2017 11:51
A simple twitter jquery unfollow script that helps you to unfollow everyone in your "following" page. To use just navigate to "https://twitter.com/following" and scroll to the bottom of the page then paste the script in the developer console.
$('.user-actions-follow-button').click()
@surajmandalcell
surajmandalcell / Sublime Text 3 all builds License Keys
Last active January 6, 2017 09:38
Sublime Text 3 all builds License Keys
These are only for trial pourpouses or people who want to use the full version. Please consider buying the keys from
developers instead to help developers.
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
#!/bin/bash
CACHEDIR="/var/cache/fedy/sublimetext"
if [[ "$(uname -m)" = "x86_64" ]]; then
ARCH="x64"
else
ARCH="x32"
fi
#!/bin/bash
set -e
# Deploy built docs to this branch
TARGET_BRANCH=master
if [ ! -d "$SOURCE_DIR" ]; then
echo "SOURCE_DIR ($SOURCE_DIR) does not exist, build the source directory before deploying"
exit 1
fi
/* https://rawgit.com/surajmandalcell/6ffd8d4d75c271271753d4d111e40754/raw/f90930780358332bcb2a2f16cc9053e48a310efc/cssQuick.css */
.center-it-x{
margin-left: 50%;
transform: translateX(-50%);
}
.center-it-y{
margin-top: 50%;
transform: translateY(-50%);
}
@surajmandalcell
surajmandalcell / HslToRgb.js
Created March 27, 2017 10:12
Javascript junctions to convert javascript to hsl and hsl to javscript
// `rgbToHsl`
// Converts an RGB color value to HSL.
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
// *Returns:* { h, s, l } in [0,1]
function rgbToHsl(r, g, b) {
r = bound01(r, 255);
g = bound01(g, 255);
b = bound01(b, 255);
@surajmandalcell
surajmandalcell / Icon_Theme_help.txt
Last active March 20, 2018 14:25
Icon theme creation tmp
https://www.linux.org/threads/creating-icon-themes.11826/
actions - Icons for actions (such as redo, close, play, etc.) that may be seen in toolbars, menus, buttons, etc.
animations - Images that are used to make animated icons (such as "loading spinners" or disc-burning progress)
apps - Icons for specific applications or for applications of a general type
categories - Icons for various application categories
devices - Icons for devices such as mounted storage media, optical disks, iPods, phones, printers, etc.
emblems - Icons for tags and file properties (such as the "unreadable" or "soft-link" symbol)
@surajmandalcell
surajmandalcell / remove brackets from linux mint pannel when minimizing.md
Created March 25, 2018 12:32
remove brackets from linux mint pannel when minimizing

check this javascript file

/usr/share/cinnamon/applets/window-list@cinnamon.org/applet.js

you should be able to edit that. i'm gonna check myself if i can find it.

if (this.metaWindow.minimized) {
    title = "["+ title +"]";
} else if (this.metaWindow.tile_type == Meta.WindowTileType.TILED) {

title = "|"+ title;

@surajmandalcell
surajmandalcell / elementary_tweaks.md
Last active April 22, 2018 08:30
List of must have elementary tweaks

Slingshot super key opens menu

gsettings set org.gnome.mutter overlay-key "'Super_L'"
gsettings set org.pantheon.desktop.gala.behavior overlay-action "'wingpanel --toggle-indicator=app-launcher'"

Dropbox indicator icon fix

#!/bin/bash
env XDG_CURRENT_DESKTOP=Unity QT_STYLE_OVERRIDE='' dropbox start

@surajmandalcell
surajmandalcell / sublime_settiings_linux.md
Last active June 2, 2018 03:16
My sublime text 3 settings

"indent_guide_options": ["draw_active"],
"always_show_minimap_viewport": false,
"translate_tabs_to_spaces": true,
"save_on_focus_lost": true,
"caret_style": "smooth",
"highlight_line": true,
"spell_check": false,
"scroll_speed": 1.2,
"word_wrap": true,
"font_size": 11,