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
<textarea id="input" placeholder="Paste text with issue ids with the pattern MFLT-1234" rows="10" | |
style="display: block; width:100%"></textarea> | |
<a id="link" href="">Click me</a> | |
<script> | |
const textArea = document.getElementById("input"); | |
const linkElement = document.getElementById("link"); | |
function updateLink() { | |
const issueMatches = [...textArea.value.matchAll((/\bMFLT-\d+/g))]; |
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
<textarea id="input" placeholder="Paste text with issue ids with the pattern MFLT-1234" rows="10" | |
style="display: block; width:100%"></textarea> | |
<a id="link" href="">Click me</a> | |
<script> | |
const textArea = document.getElementById("input"); | |
const linkElement = document.getElementById("link"); | |
function updateLink() { | |
const issueMatches = [...textArea.value.matchAll((/\bMFLT-\d+/g))]; |
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
--- 2021-03-11 08:33:26 +0000 | |
+++ 2021-03-11 08:33:26 +0000 | |
@@ -1,20 +1,21 @@ | |
APACHE_DOCROOT_IN_REPO=public | |
BROWSER=gp-preview | |
CARGO_HOME=/workspace/.cargo | |
+COLORTERM=truecolor | |
CUSTOM_XVFB_WxHxD=220x240x16 | |
DISPLAY=:0 | |
DOCKER_CONTEXT_SOURCE=.gitpod.docker |
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
Show hidden characters
{ | |
"extends": ["tslint-react"], | |
"rules": { | |
"align": [ | |
true, | |
"parameters", | |
"arguments", | |
"statements" | |
], | |
"ban": false, |
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
// book keeping so that we can easily animate the two hands for the watchface | |
// .scale/.angle are updated by tween/event handler (see below) | |
var renderState = { | |
minute: {style: 'white', scale: 0.80, angle: 0}, | |
hour: {style: 'red', scale: 0.51, angle: 0} | |
}; | |
// helper function for the draw function (see below) | |
// extracted as a standalone function to satisfy common believe in efficient JS code | |
// TODO: verify that this has actually any effect on byte code level |
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
- (void)deployToPebbleControl:(UIView *)control delegate:(id<UIDocumentInteractionControllerDelegate>)delegate { | |
NSString *baseName = @"peebhole-1_x"; | |
#if !TARGET_IPHONE_SIMULATOR | |
PBFirmwareVersion *version = PEBAppDelegate.instance.watch.versionInfo.runningFirmwareMetadata.version; | |
if(version.os >= 2) { | |
baseName = @"peebhole-2_x"; | |
} |
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
Pod::Spec.new do |s| | |
s.name = "PebbleKit" | |
s.version = "2.1.1" | |
s.summary = "Embed PebbleKit iOS into your app to communicate with Pebble" | |
s.homepage = "http://developer.getpebble.com" | |
s.license = { | |
:type => 'Commercial', | |
:text => <<-LICENSE | |
© 2014 Pebble Technology Corp. All rights reserved. | |
LICENSE |
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
add-meta-tags | |
akismet | |
flattr | |
podlove-podcasting | |
shareadraft | |
w3-total-cache | |
admin-in-english | |
archivist | |
custom-permalinks | |
google-sitemap-generator |
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
#include <pebble.h> | |
/* | |
This is a minimal example to demo PebbleCam's crash on Pebble Firmware 2.0.RC | |
Even though the logs state an issue with cancel_timer, it's really an issue | |
with window_raw_click_subscribe on BUTTON_ID_UP and menu_layer_set_click_config_onto_window | |
on the sub window. Change any of those and the crash is gone. |
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
tr { | |
height: 42px; | |
} | |
td { | |
width: 40px; | |
font-size: 32px; | |
border: 1px solid black; | |
text-align: center; | |
vertical-align: middle; |
NewerOlder