Skip to content

Instantly share code, notes, and snippets.

View Rudraksh88's full-sized avatar
💻
Hacking

Rudraksh Tripathi Rudraksh88

💻
Hacking
View GitHub Profile
@taiwbi
taiwbi / gnome-transparent-sidebar.css
Last active June 20, 2024 19:28
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {
@komamitsu
komamitsu / systemd-xremap.md
Created January 14, 2023 14:07
Execute xremap from systemd

Create /etc/systemd/system/xremap.service file

[Unit]
Description=xremap service
After=default.target

[Service]
ExecStart=/usr/bin/xremap /home/komamitsu/xremap.yml
@Jazzis18
Jazzis18 / python django create and download zip.py
Last active June 10, 2024 23:11 — forked from viveksoundrapandi/python django create and download zip
A simple snippet to zip files in a directory and send it the browser in downloadable format in django
from shutil import make_archive
from wsgiref.util import FileWrapper
def download(request, file_name=""):
"""
A django view to zip files in directory and send it as downloadable response to the browser.
Args:
@request: Django request object
@file_name: Name of the directory to be zipped
Returns:
A downloadable Http response