This file contains hidden or 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/bash | |
# vim: ft=bash | |
pacupdates=$(/usr/bin/checkupdates | wc -l) | |
if [ "$pacupdates" -gt 0 ] ; then | |
/usr/bin/notify-send "${pacupdates//[[:space:]]/} packages can be updated" | |
fi |
This file contains hidden or 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 python | |
# colscheme-convert: takes a colorscheme file as based on my Konsole color scheme | |
# and converts it to something that can be pasted into a termite config file | |
# Victoria Mitchell ('QuietMisdreavus'), May 2016 | |
import sys | |
import os.path | |
fname = '' |
This file contains hidden or 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 | |
import os | |
from os.path import splitext | |
import hashlib | |
pictypes = ".png", ".jpg", ".bmp", ".gif" | |
ls = os.listdir(".") |
This file contains hidden or 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
Item { | |
source: Span { | |
filename: Real("src/lib.rs"), | |
loline: 1, | |
locol: 0, | |
hiline: 2, | |
hicol: 23 | |
}, | |
name: Some(""), | |
attrs: Attributes { |
This file contains hidden or 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] | |
name = "cratesfyi" | |
version = "0.5.0" | |
authors = ["Onur Aslan <[email protected]>"] | |
readme = "README.md" | |
license = "MIT" | |
repository = "https://github.com/onur/cratesfyi" | |
build = "build.rs" | |
[dependencies] |
This file contains hidden or 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
use std::ops::Deref; | |
pub struct Base; | |
impl Base { | |
pub fn asdf(&self) {} | |
} | |
pub struct LevelOne { | |
pub base: Base, |
This file contains hidden or 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
#![allow(dead_code)] | |
mod a { | |
fn f() { loop { } } | |
} | |
trait Trait { | |
fn m1(&self); | |
fn m2(&self) { loop { } } | |
} |
This file contains hidden or 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
pub struct Bounded<T: Clone>(T); | |
pub struct SomeStruct; | |
fn asdf() -> Bounded<SomeStruct> { | |
impl Clone for SomeStruct { | |
fn clone(&self) -> SomeStruct { | |
SomeStruct | |
} | |
} |
This file contains hidden or 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
running: /home/misdreavus/git/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/misdreavus/git/rust/src/bootstrap/Cargo.toml | |
Finished dev [unoptimized] target(s) in 0.49s | |
running: /home/misdreavus/git/rust/build/bootstrap/debug/bootstrap doc -i --stage 1 --verbose src/libstd | |
finding compilers | |
CC_x86_64-unknown-linux-gnu = "cc" | |
CFLAGS_x86_64-unknown-linux-gnu = ["-ffunction-sections", "-fdata-sections", "-fPIC", "-m64"] | |
AR_x86_64-unknown-linux-gnu = "ar" | |
CXX_x86_64-unknown-linux-gnu = "c++" | |
running sanity check | |
learning about cargo |
This file contains hidden or 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] | |
name = "test-egg-mode" | |
version = "0.1.0" | |
authors = ["QuietMisdreavus <[email protected]>"] | |
[dependencies] | |
egg-mode = "0.12.0" | |
tokio-core = "0.1.11" |
NewerOlder