Skip to content

Instantly share code, notes, and snippets.

@TaylanTatli
TaylanTatli / freedesktop.org_icons_with_descriptions.txt QIcon::fromTheme, List of icons in gnome theme, in qt standardPixmaps and list on freedesktop.org
View freedesktop.org_icons_with_descriptions.txt
# https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html, aggregate list from each section
address-book-new The icon used for the action to create a new address book.
application-exit The icon used for exiting an application. Typically this is seen in the application's menus as File->Quit.
appointment-new The icon used for the action to create a new appointment in a calendaring application.
call-start The icon used for initiating or accepting a call. Should be similar to the standard cellular call pickup icon, a green handset with ear and mouth pieces facing upward.
call-stop The icon used for stopping a current call. Should be similar to the standard cellular call hangup icon, a red handset with ear and mouth pieces facing downward.
contact-new The icon used for the action to create a new contact in an address book application.
document-new The icon used for the action to create a new document.
document-open The icon used for the action to open a document.
document-open-recent T
@TaylanTatli
TaylanTatli / sort.js
Created Sep 3, 2022
Sort Chrome Extensions by Votes
View sort.js
// https://superuser.com/questions/1010405/how-to-sort-extension-in-the-chrome-web-store/1598910#1598910
var i = 0;
var num_of_items = 0;
var stop = false;
function startCheck(max)
{
i++;
//document.querySelectorAll('div.h-a-Kd.a-Hd-mb')[0];
var bottom = document.querySelectorAll('div.h-a-Hd-mb.a-Hd-mb')[0];
@TaylanTatli
TaylanTatli / migrate.sh
Created Jul 6, 2022
Github To Gitea Migration
View migrate.sh
#!/bin/bash
GITHUB_USERNAME=
GITHUB_TOKEN=
GITEA_USERNAME=
GITEA_TOKEN=
GITEA_DOMAIN=
GITEA_REPO_OWNER=
@TaylanTatli
TaylanTatli / NordDark.colors
Created Jun 20, 2022
Nord Dark Plasma Colorscheme
View NordDark.colors
[ColorEffects:Disabled]
Color=210,205,218
ColorAmount=1
ColorEffect=1
ContrastAmount=0.75
ContrastEffect=1
IntensityAmount=0.45
IntensityEffect=0
[ColorEffects:Inactive]
@TaylanTatli
TaylanTatli / NordLight.colors
Created Jun 20, 2022
Nord Light Plasma Color Scheme
View NordLight.colors
[ColorEffects:Disabled]
Color=210,205,218
ColorAmount=1
ColorEffect=1
ContrastAmount=0.75
ContrastEffect=1
IntensityAmount=0.45
IntensityEffect=0
[ColorEffects:Inactive]
@TaylanTatli
TaylanTatli / custom.css
Created Mar 20, 2021
Custom CSS for RSSPreview Firefox Extension
View custom.css
html {
background-color: #2b2b2b;
}
a {
color: #FFB300;
text-decoration: none;
}
#feedTitleText {
font-size: 2.5em;
}
View Custom CSS.css
:root {
--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--body-color: rgba(255, 255, 255, 0.7);
--body-background: #282c34;
--header-link-color: #9b9494;
--header-active-link-color: #d19a66;
--input-border: 1px solid #2c384e;
--input-background: #2c384e;
--input-placeholder-color: #888;
--input-focus-border-color: #d19a66;
@TaylanTatli
TaylanTatli / release.sh
Created Feb 26, 2021 — forked from devster/release.sh
Relase git tag script
View release.sh
#!/bin/bash
# Script to simplify the release flow.
# 1) Fetch the current release version
# 2) Increase the version (major, minor, patch)
# 3) Add a new git tag
# 4) Push the tag
# Parse command line options.
while getopts ":Mmpd" Option
View cfetch.c
//usr/bin/gcc -IX11 -lX11 -Ifontconfig -lfontconfig cfetch.c -o cfetch -Os; exec ./cfetch
/*-------------*\
/ | FLEXFETCH | \
\ | 1.0.0.1 | /
\*-------------*/
/*
CHANGELOG
@TaylanTatli
TaylanTatli / riot.sh
Created Feb 10, 2021 — forked from jzbor/riot.sh
Simple script to provide rio-like drawing functionallity for any X-WM (only works if the window is already floating)
View riot.sh
#!/bin/sh
#
# Author: jzbor
# Dependencies: xdo, xwininfo (optional), xdg-xmenu (optional), xmenu (optional
#
# Usage:
# riot.sh
# riot.sh xterm
# riot.sh --focused
# riot.sh --select