Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Thinking statuses are useless for GitHub

Chris BrainBlasted

🤔
Thinking statuses are useless for GitHub
View GitHub Profile
View gist:fb21d76d3278a3bbc886f1988a27b5e5
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 Sep 9, 2018
Gets the amount of followers/follows a Pleroma user has
View get_followers.py
#!/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 Dec 27, 2017
My .zshrc sans some configuration
View .zshrc
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
You can’t perform that action at this time.