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
# Template file for 'picom' | |
pkgname=picom | |
version=9 | |
revision=1 | |
build_style=meson | |
configure_args="-Dwith_docs=true" | |
hostmakedepends="pkg-config asciidoc" | |
makedepends="MesaLib-devel dbus-devel libconfig-devel libev-devel pcre-devel | |
pixman-devel xcb-util-image-devel xcb-util-renderutil-devel | |
libxdg-basedir-devel uthash" |
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
" ============================================================================= | |
" Filename: autoload/lightline/colorscheme/wal.vim | |
" Author: Dylan Araps | |
" License: MIT License | |
" Last Change: 2017/10/28 12:21:04. | |
" ============================================================================= | |
source $HOME/.cache/wal/colors-wal.vim | |
let s:black = [ color0, 232 ] |
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
#!/usr/bin/env bash | |
# ----- --- ----- | |
echo "Installing developer command line tools..." | |
xcode-select --install | |
echo "Installing Homebrew..." | |
if ! command -v brew >/dev/null 2>&1; then | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"; |
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
#include <stdio.h> | |
int main(int argc, char *argv[]) { | |
int arr[10]; | |
int * arrptr; | |
int x; | |
int * xptr; |
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
#!/usr/bin/env python3 | |
# Log Time: | |
# logtime.sh work 1h30m | |
# This will add an entry to the file in $logfilename of type "work: 1h30m" under the header for the day | |
# | |
# Usage suggestion: | |
# Dependencies: termdown @ https://github.com/trehn/termdown | |
# Bash Function: | |
# tasktimer(){ |
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 requests | |
allitemsHTML = requests.get('https://minecraft-ids.grahamedgecombe.com/').text | |
import re | |
items = re.findall('class="name">(.*?)<.*?class="text-id">\((.*?)\)</', allitemsHTML) | |
for i in range(len(items)): | |
print('item id {}, item name {}, item type {}'.format(i, items[i][0], items[i][1])) |
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
<tr valign=top class=><td align=right class=note >4338</td><td > <a href="https://embed.spotify.com/?uri=spotify:playlist:59TVx2MmmBfg0BqRc7CvqM" class=note target=spotify title="See this playlist" onclick="linksync('https://embed.spotify.com/?uri=spotify:playlist:59TVx2MmmBfg0BqRc7CvqM');">☊</a></td><td class=note ><a href="?root=ugandan%20traditional&scope=all" title="Re-sort the list starting from here." style="color: #668C2F">ugandan traditional</a></td></tr> | |
<tr valign=top class=><td align=right class=note >4339</td><td > <a href="https://embed.spotify.com/?uri=spotify:playlist:6PJCol5gHpuhFsPNKBsbuD" class=note target=spotify title="See this playlist" onclick="linksync('https://embed.spotify.com/?uri=spotify:playlist:6PJCol5gHpuhFsPNKBsbuD');">☊</a></td><td class=note ><a href="?root=trallalero&scope=all" title="Re-sort the list starting from here." style="color: #4F8B07">trallalero</a></td></tr> | |
<tr valign=top class=><td align=right class=note >4340</td><td > <a href="https://embed.s |
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
insert into MusicGenres values ("pop"); | |
insert into MusicGenres values ("dance pop"); | |
insert into MusicGenres values ("rap"); | |
insert into MusicGenres values ("post-teen pop"); | |
insert into MusicGenres values ("pop rap"); | |
insert into MusicGenres values ("rock"); | |
insert into MusicGenres values ("latin"); | |
insert into MusicGenres values ("hip hop"); | |
insert into MusicGenres values ("trap"); | |
insert into MusicGenres values ("modern rock"); |
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 requests | |
everynoisetext = requests.get('http://everynoise.com/everynoise1d.cgi?scope=all').text | |
import re | |
allgenres = re.findall(r'style="color: #.*?>(.*?)<', everynoisetext) | |
for genre in allgenres: | |
print ('insert into MusicGenres values ("{}");'.format(genre)) |