Skip to content

Instantly share code, notes, and snippets.

View kcxt's full-sized avatar
🏳️‍🌈

Casey Connolly kcxt

🏳️‍🌈
View GitHub Profile
@kcxt
kcxt / bandcamp-multidl.sh
Last active May 19, 2020 13:45
Download all albums for an artist from bandcamp using bandcamp-dl
#!/bin/bash
# bandcamp-multidl.sh URL [DESTINATION]
if [ -z $1 ]; then
echo "No URL specified"
exit 1
fi
if [ ! which bandcamp-dl ]; then
@kcxt
kcxt / mainline.md
Last active June 30, 2020 20:57
pmOS Mainline Building for oneplus sdm845

This gist it deprecated and may be outdated, latest instructions are on the wiki

pmbootstrap init pick oneplus -> enchilada/fajita. Pick any WM/DE you like, the following have been tested and are functional.

  • Gnome
  • Plasma Mobile - unstable, can sometimes crash out and reboot to crashdump mode
  • Plasma desktop
  • Phosh (fix scaling by setting scale=3 in /etc/phoc/phosh.ini)
  • Mate
  • Weston
This file has been truncated, but you can view the full file.
[ 2259.596622] PM: suspend entry 2020-02-19 22:16:05.074208993 UTC
[ 2259.596636] PM: Syncing filesystems ... done.
[ 2259.608894] Freezing user space processes ...
[ 2259.609611] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 11
[ 2259.609637] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 28672
[ 2259.609655] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 36864
[ 2259.609691] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 4352
[ 2259.609726] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 12288
[ 2259.609755] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 10
[ 2259.611569] QSEECOM: qseecom_receive_req: Interrupted: exiting Listener Service = 45056
@kcxt
kcxt / .zshrc
Created February 7, 2020 15:42
# The following lines were added by compinstall
zstyle ':completion:*' completer _expand _complete _ignored _approximate
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' format '%d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-suffixes true
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=* r:|=*'
zstyle ':completion:*' max-errors 2
// Copyright 2015 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYSTEM_API_DBUS_UPDATE_ENGINE_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_UPDATE_ENGINE_DBUS_CONSTANTS_H_
namespace update_engine {
const char kUpdateEngineInterface[] = "org.chromium.UpdateEngineInterface";
const char kUpdateEngineServicePath[] = "/org/chromium/UpdateEngine";
@kcxt
kcxt / nohappinessincolors.json
Created April 1, 2019 20:12
Cusotm nohappinessincolors theme for vscode
{
"type": "dark",
"colors": {
"focusBorder": "#666666",
"activityBar.background": "#161616",
"activityBar.dropBackground": "#121212",
"activityBar.foreground": "#444444",
"activityBarBadge.background": "#666666",
"activityBarBadge.foreground": "#aaaaaa",
"badge.foreground": "#888888",
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->