This file contains 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 v5.24; | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
sub main { | |
my $count; | |
GetOptions( 'count:i' => \$count ); | |
$count //= 2; |
This file contains 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
org.gnome.settings-daemon.plugins.media-keys logout '<Control><Alt>Delete' | |
org.gnome.settings-daemon.plugins.media-keys screenreader '' | |
org.gnome.settings-daemon.plugins.media-keys volume-mute 'XF86AudioMute' | |
org.gnome.settings-daemon.plugins.media-keys volume-up 'XF86AudioRaiseVolume' | |
org.gnome.settings-daemon.plugins.media-keys window-screenshot '<Alt>Print' | |
org.gnome.settings-daemon.plugins.media-keys previous 'XF86AudioPrev' | |
org.gnome.settings-daemon.plugins.media-keys control-center 'XF86Tools' | |
org.gnome.settings-daemon.plugins.media-keys stop 'XF86AudioStop' | |
org.gnome.settings-daemon.plugins.media-keys home 'XF86Explorer' | |
org.gnome.settings-daemon.plugins.media-keys terminal '<Control><Alt>t' |
This file contains 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
kb mode was UNICODE | |
[ if you are trying this under X, it might not work | |
since the X server is also reading /dev/console ] | |
press any key (program terminates 10s after last keypress)... | |
keycode 28 release | |
keycode 113 press | |
keycode 113 release | |
keycode 164 press | |
keycode 164 release |
This file contains 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
my $results = $Client->release( "$name-$version" )->items; | |
my $results = $Client->release( { name => "$name-$version" } )->items; | |
my $results = $Client->release | |
{ | |
all => [ | |
{ name => $name }, | |
{ version => $version }, | |
], | |
}, | |
)->items; |
This file contains 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
#[macro_use] | |
extern crate failure_derive; | |
... | |
#[derive(Debug, Fail)] | |
enum RuntimeError { | |
CannotFindRoot { cwd: PathBuf }, | |
} |
This file contains 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
// For some reason I don't understand this needs to be loaded via "extern | |
// crate" and not "use". | |
#[macro_use] | |
extern crate failure_derive; | |
mod basepaths; | |
mod config; | |
mod gitignore; | |
mod tidier; | |
mod vcs; |
This file contains 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/perl | |
use v5.24; | |
use strict; | |
use warnings; | |
use autodie qw( :all ); | |
use feature 'postderef', 'signatures'; | |
package T; |
This file contains 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
#!/bin/bash | |
git init | |
du -sh . | |
for n in 1 2 3 4 5 6 7 8 9 10; do | |
dd if=/dev/urandom of="$n.foo" bs=1024 count=10240 | |
done |
This file contains 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
--- Installing pkg: django-debug-toolbar --- | |
wheel dir is /home/python/APy-2.7.14.2717-linux-x86_64-glibc-2.12-404852/wheels/2.7 | |
tarball dir is /home/python/APy-2.7.14.2717-linux-x86_64-glibc-2.12-404852/tarballs | |
Using pip | |
Running: /home/python/APy-2.7.14.2717-linux-x86_64-glibc-2.12-404852/local-lib/bin/pip install -v django-debug-toolbar | |
>>> /home/python/APy-2.7.14.2717-linux-x86_64-glibc-2.12-404852/local-lib/bin/pip install -v django-debug-toolbar | |
Collecting django-debug-toolbar | |
1 location(s) to search for versions of django-debug-toolbar: |
This file contains 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
IPC Mismatch! at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/IPC.pm line 63. | |
Test2::IPC::apply_ipc(Test2::API::Stack=ARRAY(0x219a318)) called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/IPC.pm line 32 | |
Test2::IPC::import("Test2::IPC") called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/Tools/AsyncSubtest.pm line 7 | |
Test2::Tools::AsyncSubtest::BEGIN() called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/Tools/AsyncSubtest.pm line 7 | |
eval {...} called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/Tools/AsyncSubtest.pm line 7 | |
require Test2/Tools/AsyncSubtest.pm called at /home/autarch/projects/test-class-moose/lib/Test/Class/Moose/Role/Executor.pm line 16 | |
Test::Class::Moose::Role::Executor::BEGIN() called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/Tools/AsyncSubtest.pm line 7 | |
eval {...} called at /home/autarch/.perlbrew/libs/perl-5.24.1@dev/lib/perl5/Test2/Tools/AsyncSubtest.pm line 7 | |
require Tes |