Skip to content

Instantly share code, notes, and snippets.

View tortious's full-sized avatar
🌴
I can resist everything except temptation

tortious tortious

🌴
I can resist everything except temptation
View GitHub Profile
@tortious
tortious / icon-context-menu.uc.js
Created February 21, 2019 03:08
seeing if this old hack still works.
// ==UserScript==
// @label faviconContextMenu.uc.js
// @description Favicon-Kontextmenü in Adressleiste
// @author noname
// @modified 小蛐蛐,skofkyo
// @license MIT License
// @charset UTF-8
// @version 2016.8.23
// @include chrome://browser/content/browser.xul
// @note 2016.8.23 CSS加載xul版改寫成uc.js by skofkyo
@tortious
tortious / coding-html-searchfunctions.txt
Created March 12, 2019 00:55
Little snippet to show how to frame the arguments to search on websites other than google. This is for startpages
<div class="boxy" id="boxy-1">
<div id="box-content-1" class="box-content">
<div class="search-box">
<form autocomplete="off" action="http://www.google.com/search?" method="get">
<input class="search-boxy" autofocus="on" type="text" name="q" id="" placeholder="Google">
</form>
<form autocomplete="off" action="http://duckduckgo.com/?" method="get">
<input class="search-boxy" type="text" name="q" id="" placeholder="DuckDuckGo">
</form>
<form autocomplete="off" action="https://www.yandex.com/search/?" method="get">
env:
TERM: xterm-256color
WINIT_HIDPI_FACTOR: 1
window:
dimensions:
columns: 80
lines: 24
padding:
[General]
frontendId=org.albert.frontend.widgetboxmodel
hotkey=Alt+Space
incrementalSort=true
showTray=true
telemetry=true
terminal=termite -e
[org.albert.extension.applications]
enabled=true
# Squirrelbook Zsh prompt using Spaceship
# https://github.com/denysdovhan/spaceship-prompt
#
# Inspired by: https://github.com/sindresorhus/pure
#
# Author: Artem Sapegin, sapegin.me
# License: MIT
# https://github.com/sapegin/dotfiles
source ~/dotfiles/zsh/prompt/sections/git_simple.zsh
#
# Simplified Git branch and status
#
# ------------------------------------------------------------------------------
# Configuration
# ------------------------------------------------------------------------------
SPACESHIP_GIT_SIMPLE_CLEAN_SYMBOL="${SPACESHIP_GIT_SIMPLE_CLEAN_SYMBOL=☀}"
SPACESHIP_GIT_SIMPLE_DIRTY_SYMBOL="${SPACESHIP_GIT_SIMPLE_DIRTY_SYMBOL=☂}"
! __ __
! \ \/ /_ __ ___ ___ ___ _ _ _ __ ___ ___ ___
! \ /| '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \/ __|
! / \| | | __/\__ \ (_) | |_| | | | (_| __/\__ \
! /_/\_\_| \___||___/\___/ \__,_|_| \___\___||___/
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
*background: #282F37
*foreground: #F1FCF9
*cursorColor: #F1FCF9
*color0: #20262C
*color1: #DB86BA
*color2: #74DD91
*color3: #E49186
*color4: #75DBE1
*color5: #B4A1DB
*color6: #9EE9EA
# z4rr3t
# by Garret Jennings
# https://github.com/inimicus/z4rr3t
# Based on Pure
# by Sindre Sorhus
# https://github.com/sindresorhus/pure
# MIT License
# For my own and others sanity
# git:
#!/usr/bin/env zsh
# ------------------------------------------------------------------------------
#
# Sugar-free - A simple and minimal theme for oh-my-zsh
#
# Based on my favorite aspects of the Pure and Candy themes,
# as well as some Git-based snippets from <https://gist.github.com/joshdick/4415470>
#
# Pure <https://github.com/sindresorhus/pure>