This file contains hidden or 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
#import <IOKit/pwr_mgt/IOPMLib.h> | |
// build with: | |
// clang -framework IOKit -framework Foundation preventsleep.c -o preventsleep | |
int main(int argc, char** argv) { | |
// kIOPMAssertionTypeNoDisplaySleep prevents display sleep, | |
// kIOPMAssertionTypeNoIdleSleep prevents idle sleep | |
// reasonForActivity is a descriptive string used by the system whenever it needs |
This file contains hidden or 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
--- a/ddclient | |
+++ b/ddclient | |
@@ -764,6 +764,16 @@ | |
$variables{'service-common-defaults'}, | |
), | |
}, | |
+ 'linode' => { | |
+ 'updateable' => undef, | |
+ 'update' => \&nic_linode_update, | |
+ 'examples' => \&nic_linode_examples, |
This file contains hidden or 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
== 7732 -> [ BLOCK 7733 ] -> 7734 == | |
[ Len: 4076 ] | |
-- PUSH 0x20 [ 0x04 ] -- | |
-- PUSH 0x20 [ 0x05 ] -- | |
-- PUSH 0x20 [ 0x43 ] -- | |
-- PUSH 0x20 [ 0x0A ] -- | |
[4].[5].[67].[10]. | |
-- field (0x1E): "[fZ>Yc" => "ZYXÉPZZZ[" -- | |
-- field (0x1E): "[f[Û[¾" => "ZYXÏâZZZ[" -- | |
-- field (0x1E): "[f^U[²" => "ZYXÏçZZZ[" -- |
This file contains hidden or 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
01e34000: 0000 0000 0000 1e32 0000 1e35 0000 03fd .......2...5.... | |
01e34010: 0e92 50d3 2004 2005 2043 200a 3806 0054 ..P. . . C .8..T | |
01e34020: 0025 009e 1e06 01ea 006c 0245 0900 0302 .%.......l.E.... | |
01e34030: 923b 0000 0001 1e06 01ec 006c 0286 0900 .;.........l.... | |
01e34040: 0302 924b 0000 0001 1e06 01ec 0207 028c ...K............ | |
01e34050: 0900 0302 9251 0000 0001 1e06 01ed 006c .....Q.........l | |
01e34060: 022f 0900 0302 9237 0000 0001 1e06 01f6 ./.....7........ | |
01e34070: 006c 0272 0900 0302 9247 0000 0001 1e06 .l.r.....G...... | |
01e34080: 0204 006c 0261 0900 0302 92ae 0000 0001 ...l.a.......... | |
01e34090: 1e06 0204 008c 0262 0900 0302 92af 0000 .......b........ |
This file contains hidden or 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
== 7732 -> [ BLOCK 7733 ] -> 7734 == | |
[ Len: 4076 ] | |
-- PUSH 0x20 [ 0x04 ] -- | |
-- PUSH 0x20 [ 0x05 ] -- | |
-- PUSH 0x20 [ 0x43 ] -- | |
-- PUSH 0x20 [ 0x0A ] -- | |
[4].[5].[67].[10]. | |
-- field (0x1E): "[fZ>Yc" => "ZYXÉPZZZ[" -- | |
-- field (0x1E): "[f[Û[¾" => "ZYXÏâZZZ[" -- | |
-- field (0x1E): "[f^U[²" => "ZYXÏçZZZ[" -- |
This file contains hidden or 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
--- a/ddclient | |
+++ b/ddclient | |
@@ -646,6 +646,16 @@ | |
$variables{'service-common-defaults'}, | |
), | |
}, | |
+ 'linode' => { | |
+ 'updateable' => undef, | |
+ 'update' => \&nic_linode_update, | |
+ 'examples' => \&nic_linode_examples, |
This file contains hidden or 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 -ruN IiifServer-3.5.16.orig/IiifServer/src/View/Helper/IiifManifest.php IiifServer-3.5.16/IiifServer/src/View/Helper/IiifManifest.php | |
--- IiifServer-3.5.16.orig/IiifServer/src/View/Helper/IiifManifest.php 2020-05-25 11:35:28.000000000 +0100 | |
+++ IiifServer-3.5.16/IiifServer/src/View/Helper/IiifManifest.php 2020-06-15 08:47:35.503831538 +0100 | |
@@ -320,7 +320,7 @@ | |
case 'application/pdf': | |
$render = []; | |
- $render['@id'] = $media->originalUrl(); | |
+ $render['@id'] = $this->view->iiifForceBaseUrlIfRequired($media->originalUrl()); | |
$render['format'] = $mediaType; |
This file contains hidden or 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
Downloading template "new-template" to create project "morse" in morse/ ... | |
The following parameters were needed by the template but not provided: author-email, author-name, category, copyright, github-username | |
You can provide them in /home/amoe/.stack/config.yaml, like this: | |
templates: | |
params: | |
author-email: value | |
author-name: value | |
category: value | |
copyright: value |
This file contains hidden or 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
import requests | |
import json | |
import pprint | |
# Translated from https://forum.omeka.org/t/example-api-usage-using-curl/8083, | |
# the work of user 'kgoetz'. Thanks. | |
# Begin quote: | |
# > The API permits anonymous access to public resources (i.e., reading non-private | |
# > data). To perform actions or view data that only logged-in users can access, |
NewerOlder