Skip to content

Instantly share code, notes, and snippets.

View anna-is-cute's full-sized avatar

Anna anna-is-cute

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ascclemens on github.
  • I am jkcclemens (https://keybase.io/jkcclemens) on keybase.
  • I have a public key ASCxzuyL6y581sVy2mscndwSpfxhDi2fk_mwCD0h-Aj3Owo

To claim this, I am signing this object:

[
{
"Banner": null,
"ID": 0,
"IsExpansion": 0,
"ExVersion": -1,
"Name_cn": "Game Patch Unknown",
"Name_de": "Game Patch Unknown",
"Name_en": "Game Patch Unknown",
"Name_fr": "Game Patch Unknown",

You meant "implying"

<me> I bet you're the sort of person who doesn't use the oxford comma

<me> a fucking savage

<smol> You do not even use grammar correctly most of the time when you type, so I don't want to hear

>\ It

fn main() {
let mut core = Core::new().unwrap();
let client = Arc::new(Client::configure()
.connector(HttpsConnector::new(4, &core.handle()).unwrap())
.build(&core.handle()));
let pending = vec![
PendingPasteFile {
content: String::from("this is a test"),
[13:32](Duvivi Duvi) not gonna try to fight for aggro from a defiance war lmao
[13:33](Orko Trollan) yeah true, but that guy nearly reset mahisha
[13:34](Duvivi Duvi) bad war gonna be bad
[13:34](Duvivi Duvi) in defiance, doesn't use holmgang or onslaught back in
[13:34](★Vanilla Creamsoda) try offering advice to help them improve then?
[13:34](Raiin Iii) ^
[13:34](Duvivi Duvi) in a different party?
[13:34](Duvivi Duvi) no
[13:35](Raiin Iii) good point
[13:35](Duvivi Duvi) unsolicited advice makes people mad anyway
[package]
name = "jkcclemens"
version = "0.1.0"
[[bin]]
name = "jkcclemens"
path = "main.rs"
[dependencies]
rand = "0.4"
@anna-is-cute
anna-is-cute / travis_cache.md
Last active April 21, 2020 21:40
Rust and Travis CI cache

Rust and Travis CI cache

Using Travis CI's cache is very useful and helps cut Rust job times way, way down. However, the way that the default caching for Cargo is set up means it will quickly bloat.

Travis currently checks ~/.cargo and target/ for any changes from the current cache after a build. There will always be changes in target/ if the source has changed, which it usually does when a Travis build runs. This means new incremental object files, fingerprints, and build script compilation files are being added to the cache every build.

% cloc src migrations archive_viewer/src archive_viewer/web/source archive_viewer/web/templates
76 text files.
76 unique files.
1 file ignored.
github.com/AlDanial/cloc v 1.72 T=4.08 s (18.6 files/s, 1192.7 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Rust 56 582 47 3730

cargo run -- -v

DEBUG:clap:Parser::propogate_settings: self=clap-bug, g_settings=AppFlags(
    NEEDS_LONG_HELP | NEEDS_LONG_VERSION | NEEDS_SC_HELP | UTF8_NONE | COLOR_AUTO
)
DEBUG:clap:Parser::get_matches_with;
DEBUG:clap:Parser::create_help_and_version;
DEBUG:clap:Parser::create_help_and_version: Building --help
DEBUG:clap:Parser::get_matches_with: Begin parsing '"-v"' ([45, 118])
[
{
"category": 1,
"id": 101,
"values": {
"en": "Please use the auto-translate function.",
"de": "Bitte benutz die Auto-Übersetzung.",
"fr": "Utilisez la traduction automatique.",
"ja": "定型文辞書を使ってください。"
}