Skip to content

Instantly share code, notes, and snippets.

наб nabijaczleweli

Block or report user

Report or block nabijaczleweli

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nabijaczleweli
nabijaczleweli / README.md
Last active Jun 27, 2019
Do not dumb here, not dumb area
View README.md

Warning: Do Not Dumb Here – Not Dumb Area

Overall design stolen from this video, Japanese stolen from this comment.

On transparency

A5 size.

View wiggly-circle.cpp
// The MIT License (MIT)
// Copyright (c) 2019 nabijaczleweli
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
@nabijaczleweli
nabijaczleweli / content
Last active Aug 12, 2018
[PL/EN] Memo regarding upcoming nomenclatural changes of nabijaczleweli Ltd. subsidiaries
View content
[Wersja Polska poniżej.]
FOR IMMEDIATE PRIVATE AND PUBLIC RELEASE
IN EFFECT: 11 AUGUST 2018, 12 NOON
SEE ATTACHMENT FOR AUTHENTICITY VERIFICATION
Shareholders, friends, biased and unbiased observers,
We'd like to begin by thanking you for your continued support for and trust in the nabijaczleweli brand and its subsidiaries.
@nabijaczleweli
nabijaczleweli / scrap_work.sh
Created Jan 18, 2018
Chapterwise scraper for archiveofourown, w/image support and normalisation.
View scrap_work.sh
#!/bin/bash
tempdir=""
if [[ "$TEMP" ]] && [[ ! "$tempdir" ]]; then tempdir="$TEMP/archiveofourown-scrapper"; fi
if [[ "$TMP" ]] && [[ ! "$tempdir" ]]; then tempdir="$TMP/archiveofourown-scrapper"; fi
if ! [[ "$tempdir" ]]; then
echo "Couldn't find temprary directory" > 1
exit 1
fi
mkdir -p "$tempdir"
@nabijaczleweli
nabijaczleweli / bench.rs
Created Oct 8, 2017
Lookup-table vs format!()-based [u8]->String
View bench.rs
#![feature(test)]
extern crate test;
use std::iter::FromIterator;
use test::Bencher;
pub fn hash_string_format(bytes: &[u8]) -> String {
use std::fmt::Write;
let mut result = String::with_capacity(bytes.len() * 2);
@nabijaczleweli
nabijaczleweli / EnvVarUpdate.nsh
Created Jan 28, 2017
EnvVarUpdate.nsh with patches
View EnvVarUpdate.nsh
/**
* EnvVarUpdate.nsh
* : Environmental Variables: append, prepend, and remove entries
*
* WARNING: If you use StrFunc.nsh header then include it before this file
* with all required definitions. This is to avoid conflicts
*
* Usage:
* ${EnvVarUpdate} "ResultVar" "EnvVarName" "Action" "RegLoc" "PathString"
*
You can’t perform that action at this time.