I hereby claim:
- I am srijancse on github.
- I am srijancse (https://keybase.io/srijancse) on keybase.
- I have a public key whose fingerprint is 2415 E3F5 FF68 37A4 C5C0 BD9C 4F4C 4016 77AD DE65
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
if (edge.node.type == "policy_mobile" && edge.node.lang == "fr-fr") { | |
await createPage({ | |
path: slug, // required | |
component: slash(pageTemplate), | |
layout: edge.node.id, | |
context: { | |
id: edge.node.id, | |
type: edge.node.type, | |
lang: edge.node.lang | |
} |
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer | |
import SocketServer | |
from datetime import datetime, time | |
from slackclient import SlackClient | |
test=0 | |
now=datetime.now() | |
now_time= now.time() | |
SLACK_TOKEN = "" |
I hereby claim:
To claim this, I am signing this object:
$("a").on('click', function() { | |
if ($(this).text() === "Preview") { | |
$(this).parent().toggleClass("current"); | |
checkCurrent(); | |
} | |
}); | |
function checkCurrent() { | |
if ($('div[rel="wikiEditor-ui-view-preview"]').hasClass("current")) { | |
console.log("You are offline and clicked Preview"); |
<?php | |
class OfflineExtensionHooks | |
{ | |
public static function onBeforePageDisplay( OutputPage &$out, Skin &$skin ) { | |
$out->addModules( array( 'ext.offlineextension.foo' ) ); | |
$out->addModuleStyles( array( 'ext.offlineextension.foo-indicator','ext.offlineextension.foo-english','ext.offlineextension.foo-theme')); | |
} | |
} |