- Figure out WM dimensions
- adb shell wm size
- Install APK from https://github.com/mkrupczak3/Freedoom-for-Android/releases/tag/v0.4.3
- adb install /path/to/apk
- Grant file usage permissions
- adb shell pm grant net.nullsum.freedoom android.permission.WRITE_EXTERNAL_STORAGE
- adb shell pm grant net.nullsum.freedoom android.permission.READ_EXTERNAL_STORAGE
- Start the application (how to find the activity "dumpsys package | grep doom")
- adb shell am start -n net.nullsum.freedoom/.EntryActivity
- Tap on different places (the easiest way is to make a screenshot and locate x/y)
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
package MyClass; | |
use oop -class => 1, -types => [qw/Int/]; | |
has 'foo', is => 'ro', is => Int, required => 1; | |
package MyRole; | |
use oop -role => 1; | |
requires 'foo'; |
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
Building Encode-2.92 | |
cp lib/Encode/MIME/Header/ISO_2022_JP.pm blib/lib/Encode/MIME/Header/ISO_2022_JP.pm | |
cp lib/Encode/Unicode/UTF7.pm blib/lib/Encode/Unicode/UTF7.pm | |
cp lib/Encode/Config.pm blib/lib/Encode/Config.pm | |
cp Encode/ConfigLocal_PM.e2x blib/lib/Encode/ConfigLocal_PM.e2x | |
cp lib/Encode/MIME/Header.pm blib/lib/Encode/MIME/Header.pm | |
cp Encode/_T.e2x blib/lib/Encode/_T.e2x | |
cp lib/Encode/Alias.pm blib/lib/Encode/Alias.pm | |
cp lib/Encode/MIME/Name.pm blib/lib/Encode/MIME/Name.pm | |
cp Encode.pm blib/lib/Encode.pm |
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 strict; | |
use warnings; | |
use HTTP::Tiny; | |
{ | |
my $ua = HTTP::Tiny->new(); | |
my $request = ''; | |
my $response = ''; |
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/sh | |
#set -x | |
FILE=$1 | |
DEV=$2 | |
MOUNT=/tmp/garmin | |
FILE_BASENAME="${FILE%.gpx}" | |
FILE_DATES="$FILE_BASENAME-dates.gpx" |
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
class Foo { | |
method foo () { | |
ROUTE: for ^1 { | |
} | |
} | |
} |
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/env perl | |
use strict; | |
use warnings; | |
use URI; | |
use URI::Escape; | |
use Digest::SHA qw(hmac_sha256_base64); | |
use LWP::UserAgent; | |
use XML::LibXML; |
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/env perl | |
use strict; | |
use warnings; | |
my ($base_url, $articles_dir) = @ARGV; | |
$base_url && $articles_dir or die "Usage: $0 <base_url> <articles_directory>"; | |
opendir(my $dh, $articles_dir) || die "can't opendir $articles_dir: $!"; |
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
diff --git a/lib/MetaCPAN/Role/JSONP.pm b/lib/MetaCPAN/Role/JSONP.pm | |
new file mode 100644 | |
index 0000000..7dfcb37 | |
--- /dev/null | |
+++ b/lib/MetaCPAN/Role/JSONP.pm | |
@@ -0,0 +1,42 @@ | |
+package MetaCPAN::Role::JSONP; | |
+use Moose::Role; | |
+use Encode; | |
+ |
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
cpan t/var/tmp/fakecpan | |
<model CPAN> | |
servers :9900 | |
</model CPAN> | |
<model User> | |
servers :9900 | |
</model User> |
NewerOlder