Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3938435
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/sites/generateMouseTrap b/sites/generateMouseTrap
new file mode 100755
index 0000000..62d10fa
--- /dev/null
+++ b/sites/generateMouseTrap
@@ -0,0 +1,12 @@
+#!/usr/bin/env php
+<?php
+define('DOMAIN', 'nasqueron.org');
+define('SITES_MAP', 'http://api.nasqueron.org/sites.json');
+
+$sites = json_decode(file_get_contents(SITES_MAP));
+
+foreach ($sites as $site) {
+ $url = 'http://' . $site->id . '.' . DOMAIN;
+ echo
+}
+?>
diff --git a/sites/generateQuestionMark b/sites/generateQuestionMark
new file mode 100755
index 0000000..cd468ce
--- /dev/null
+++ b/sites/generateQuestionMark
@@ -0,0 +1,25 @@
+#!/usr/bin/env php
+<div id="helpUnderlay" class="help-underlay">
+ <div id="helpModal" class="help-modal">
+ <h1>Keyboard Shortcuts <kbd class="help-key"><span>?</span></kbd></h1>
+ <div id="helpClose" class="help-close">×</div>
+ <div id="helpModalContent" class="help-modal-content">
+ <div id="helpListWrap" class="help-list-wrap">
+ <!-- Go to column -->
+ <ul class="help-list">
+<?php
+$sites = json_decode(file_get_contents('http://api.nasqueron.org/sites.json'));
+foreach ($sites as $site) {
+ $title = str_replace('Nasqueron ', '', $site->title);
+ $title = str_replace(' Nasqueron', '', $title);
+ echo ' <li class="help-key-unit">', "\n";
+ echo ' <kbd class="help-key"><span>g</span>, <span>', $site->shorcutKey, '</span></kbd>', "\n";
+ echo ' <span class="help-key-def">Go to ', $title, '</span>', "\n";
+ echo ' </li>', "\n";
+}
+?>
+ </ul>
+ </div>
+ </div>
+ </div>
+</div>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Dec 26, 02:06 (18 h, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314381
Default Alt Text
(1 KB)
Attached To
Mode
rHELPER Helper development tools
Attached
Detach File
Event Timeline
Log In to Comment