Skip to content

Instantly share code, notes, and snippets.

agilob agilob

Block or report user

Report or block agilob

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
agilob / sleep_sort.dart
Created May 18, 2018
Sleep sort implementation in Dart
View sleep_sort.dart
import 'dart:async';
class Input {
var sleepTimes = new List();
main(List<String> arguments) async {
var input = new Input();
arguments.forEach((val) { input.sleepTimes.add(num.parse(val)); } );
agilob / formatter.user.js
Created Feb 13, 2018
wykop code formatter
View formatter.user.js
// ==UserScript==
// @name codeFormatter
// @homepage
// @version 0.0.2
// @description codeFormatter - umożliwia zachowanie spacji w kodzie oraz koloruje składnię JS na
// @author kmiasko
// @match*
// @grant none
// @require
// @run-at document-end

Keybase proof

I hereby claim:

  • I am agilob on github.
  • I am agilob ( on keybase.
  • I have a public key whose fingerprint is F365 8D0A 04A5 76A4 1072 FC0D 296F 0B76 4741 106C

To claim this, I am signing this object:

agilob /
Last active Sep 3, 2016
Rust - get home directory
fn main() {
let mut path: PathBuf = get_app_dir();
let str_path = path.to_str().unwrap();
if str_path.len() != 0 && path_exists(&path) {
println!("Path {} exists", str_path);
You can’t perform that action at this time.