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 Network; | |
import JSON; | |
+ GeolocationProvider inherits \Objects\MappableAdopter<Float, Float>{ | |
public f constructor <> { | |
\Network\Fetch({ | |
Method: 'GET', | |
URL: \Network\Path <String "http://iplocation.net/api/" +toString<\Network\ClientIPAddress> >, | |
isSuccessful: <\Network\FetchResponse response> { | |
yield new \JSON\JsonObject { |
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
\documentclass{article} | |
\usepackage{fancyhdr} | |
\pagestyle{fancy} | |
%% Define your header here. | |
%% See http://texblog.org/2007/11/07/headerfooter-in-latex-with-fancyhdr/ | |
\fancyhead[CO,CE]{John Doe, Class 123} | |
\usepackage[usenames,dvipsnames]{color} %% Allow color names | |
%% The listings package will format your source code |
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
var list = []; | |
$(".activity.resource.modtype_resource ").find("a").each( | |
function(){ | |
if($(this).attr("onclick").split("window.open(\'")[1] != undefined){ | |
if ($(this).find("img").attr("src") == "https://moodle.mmu.ac.uk/theme/image.php/mmu/core/1526789056/f/pdf-24") { | |
list.push($(this).attr("onclick").split("window.open(\'")[1].split("\', ''")[0]); | |
} | |
} | |
} | |
); |
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
\\\ Preparation Steps \\\ | |
1. Plug in to Monitor? | |
2. Start VM | |
2.1 Start APIService | |
2.2 Start Manager | |
2.3 Run "Downloads\ngrok http 8001" on CMD | |
2.4 Prepare Chrome(?) for demo of manager. (CORS?). Leave signed in on dashboard | |
3. Setup Demo | |
3.1 Open GeoChat App |
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
'use strict'; | |
/** | |
* @callback BeforeShutdownListener | |
* @param {string} [signalOrEvent] The exit signal or event name received on the process. | |
*/ | |
/** | |
* System signals the app will listen to initiate shutdown. | |
* @const {string[]} |
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
All Rights Reserved, (c) $CURRENT_YEAR Martin Shaw | |
Author: <author> (<email>) | |
Created: !created_date! | |
Modified: !modified_date! | |
File Name: $TM_FILENAME | |
Description: ${1:description} | |
OlderNewer