Skip to content

Instantly share code, notes, and snippets.

View BrainBlasted's full-sized avatar
🌱
https://stopthemingmy.app/

Chris BrainBlasted

🌱
https://stopthemingmy.app/
View GitHub Profile
@BrainBlasted
BrainBlasted / PKGBUILD
Created December 13, 2021 07:47
deviced PKGBUILD
pkgname=deviced-git
pkgver=r1401.8bc81d6
pkgrel=1
_gitname=deviced
pkgdesc="Deviced is a daemon, library, and tools for communicating with development devices. (Git version)"
arch=('any')
license=('GPL3')
provides=('deviced')
conflicts=('deviced')
url="https://gitlab.gnome.org/chergert/${_gitname}"
Compiling libdazzle-sys v0.1.0 (/home/chris/Projects/libdazzle-rs/libdazzle-sys)
' Building [====================================================> ] 48/51: libdazzle-sys(build.rs)
error[E0204]: the trait `Copy` may not be implemented for this type
--> libdazzle-sys/src/lib.rs:168:10
|
168 | #[derive(Copy, Clone)]
| ^^^^
169 | pub struct DzlApplicationWindowClass {
170 | pub parent_class: gtk::GtkApplicationWindowClass,
| ------------------------------------------------ this field does not implement `Copy`
@BrainBlasted
BrainBlasted / get_followers.py
Last active September 9, 2018 20:23
Gets the amount of followers/follows a Pleroma user has
#!/usr/bin/python
# Gets the amount of followers a Pleroma user has.
# Also works to get the amount the user follows.
import json
import requests
import sys
@BrainBlasted
BrainBlasted / .zshrc
Last active December 27, 2017 03:57
My .zshrc sans some configuration
source /usr/share/zsh/share/antigen.zsh
# Environment variables
export EDITOR=/usr/bin/nvim
export PATH=$PATH:"$HOME/bin"
export PATH=$PATH:"$HOME/.gem/ruby/2.4.0/bin"
export PATH=$PATH:"$HOME/.cargo/bin"
# Aliases