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 | |
DESKTOP_URL="https://raw.githubusercontent.com/kraxarn/spotify-qt/master/res/app/spotify-qt.desktop" | |
ICON_URL="https://raw.githubusercontent.com/kraxarn/spotify-qt/master/res/logo/spotify-qt.svg" | |
DESKTOP_PATH="$HOME/.local/share/applications/spotify-qt.desktop" | |
ICON_PATH="$HOME/.local/share/icons/hicolor/scalable/apps/spotify-qt.svg" | |
LATEST_RELEASE_URL="https://api.github.com/repos/kraxarn/spotify-qt-nightly/releases/latest" | |
JQ_DOWNLOAD_URL='.assets.[] | select(.name | endswith(".AppImage")) | .browser_download_url' |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Webcam Relay</title> | |
<style> | |
video { | |
width: 100%; | |
height: 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
# Build (burningdaylight/docker-mingw-qt5) | |
# Install go | |
sudo pacman -Sy | |
sudo pacman -S go --noconfirm | |
# Install all available Qt libs | |
sudo pacman -S mingw-w64-qt5 --needed --noconfirm | |
# Download and build main application |
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 src="https://sdk.scdn.co/spotify-player.js"></script> | |
<script> | |
window.onSpotifyWebPlaybackSDKReady = () => { | |
const token = location.href.substring(location.href.lastIndexOf("?token=") + 7) | |
const player = new Spotify.Player({ | |
name: "spotify-qt", | |
getOAuthToken: cb => { cb(token) } | |
}) | |
player.connect() | |
}; |
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 | |
# gdocs-open, WTFPL | |
xdg-open `jq --raw-output '.url' $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
package main | |
/* | |
* gpuTemp | |
* Version 1.0 | |
* Licensed under WTFPL | |
* | |
* Pretty simple and bad way to display Nvidia GPU usage and temperature | |
* Only works with 2 GPUs | |
* Written in Go and Qt |
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
/* | |
* Generate data | |
* | |
* Converts a file to a Go source file. | |
* Go source file gets generated as data.go with an appData constant containing the file data as base64. | |
* | |
* Licensed under WTFPL. | |
*/ | |
package main |
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
package com.crow.sound_quick_toggle; | |
/* | |
Version 1.0 | |
By kraxarn | |
Licensed under WTFPL | |
*/ | |
import android.app.NotificationManager; | |
import android.content.Context; |
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
kH3pLtafnzIp4WJW |
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/neofetch: line 4160: /dev/fd/62: No such file or directory | |
/usr/bin/neofetch: line 4160: awk: command not found | |
/usr/bin/neofetch: line 4160: awk: command not found | |
+ verbose=on | |
+ shift | |
+ [[ -n '' ]] | |
+ [[ on != \o\n ]] | |
+ get_distro | |
+ [[ -n '' ]] | |
+ case "$os" in |
NewerOlder