Skip to content

Instantly share code, notes, and snippets.

View Phaniraj35's full-sized avatar
🎯
Focusing

Phaniraj K Phaniraj35

🎯
Focusing
View GitHub Profile
@Phaniraj35
Phaniraj35 / webstorm.desktop
Last active July 5, 2025 07:44
Desktop entry for Webstorm in Ubuntu. Create a file in ~/.local/share/applications/webstorm.desktop and paste the contents below. Please make sure to replace Exec, Path and Icon according to your webstorm installation directory location.
[Desktop Entry]
Version=1.0
Name=Webstorm
Comment=Javascript IDE
Exec=<your-webstorm-install-location>/bin/webstorm
Path=<your-webstorm-install-location>/bin/
Icon=<your-webstorm-install-location>/webstorm.png
Terminal=false
Type=Application
Categories=Development
@Phaniraj35
Phaniraj35 / find_overflow_hidden_parents.js
Created March 24, 2023 06:43
If parents containers have overflow invisible; sticky positioning will not work, This gist tries to find all the parents along with their overflow value.
// requires jquery
$('.your-sticky-element').parents().filter(function() {
console.log($(this));
console.log($(this).css('overflow'));
return $(this).css('overflow') === 'hidden';
});