This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---- By Robert Washbourne www.devpy.me ---- | |
#------------------------------------------- | |
# Backgrounds | |
# Background 1: Active taskbar, Iconified task, Inactive taskbar, Panel | |
rounded = 0 | |
border_width = 0 | |
border_sides = TBLR | |
background_color = #COLOR0 100 | |
border_color = #ffffff 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---- Generated by tint2conf cdb5 ---- | |
# See https://gitlab.com/o9000/tint2/wikis/Configure for | |
# full documentation of the configuration options. | |
#------------------------------------- | |
# Backgrounds | |
# Background 1: Active taskbar, Iconified task, Inactive taskbar, Panel | |
rounded = 0 | |
border_width = 0 | |
border_sides = TBLR | |
background_color = #151520 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# From https://forums.bunsenlabs.org/viewtopic.php?id=1200 used on DevPy | |
# Requires Imagemagick | |
#Colorize, preserves alpha and white elements | |
# mogrify -fill 'rgb(x,y,z)' -tint 100 icon.png | |
# Imgs to convert: folder*.png user-home.png inode-directory.png | |
# | |
# cd to ~/.local/share/icons/Paper/ and run script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! *----------------------------* | |
! | Dotfiles - .Xresources | | |
! *----------------------------* | |
! This files contains configuration for: | |
! * terminal colours | |
! * urxvt | |
! * rofi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---- Generated by tint2conf 9757 ---- | |
# See https://gitlab.com/o9000/tint2/wikis/Configure for | |
# full documentation of the configuration options. | |
#------------------------------------- | |
# Backgrounds | |
# Background 1: Panel, Tooltip | |
rounded = 0 | |
border_width = 0 | |
border_sides = TBLR | |
background_color = #16161d 63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tabbrowser-tab[first-visible-tab="true"] > .tab-stack > .tab-background > .tab-background-start { | |
display: none; | |
} | |
textarea, input { | |
color: black; | |
background-color: white; | |
border: white; | |
} | |
#TabsToolbar:not(:-moz-lwtheme) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
known = {0:1,1:1,2:1} | |
def sequence(n): | |
if n in known: | |
return known[n] | |
else: | |
x = 2*sequence(n-1) + 2*sequence(n-2) + 2*sequence(n-3) | |
known[n] = x | |
return x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import Counter | |
def primes(n): | |
if n==2: return [2] | |
elif n<2: return [] | |
s=range(3,n+1,2) | |
mroot = n ** 0.5 | |
half=(n+1)/2-1 | |
i=0 | |
m=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function search() { | |
document.getElementById("searchres").innerHTML = ""; | |
var searchval = document.getElementById("searchinp").value; | |
console.log(searchval); | |
var script = document.createElement("script"); | |
script.setAttribute("src", "//www.tapirgo.com/api/1/search.json?token=583b773814ad665aca356f24&callback=parseres&query=" + searchval); | |
document.body.appendChild(script); | |
script.outerHTML = ""; | |
script.delete; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ echo "$(spotify-now -i " <b>%title" -e "" -p " paused" | awk -v len=40 '{ if (length($0) > len) print substr($0, 1, len-3) "..."; else print; }' | tr -d '&' | awk '{print $0 "</b>"}')"; echo "$(spotify-now -i '%artist' -p ' ' -e ' ')"; } | tr "\n" " " |