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
getUrlForCopyPaste: function(a) { | |
var d = | |
k.val("readMoreUrl") || q.canonical.get() || b.removeTrackingParam(c.doc("location.href")); | |
return t.prepareURLForSharing(k.val("publisherKey"), d, "99", a, { | |
shorten: !1, | |
tracking: k.val("defaults.transformations.tracking") | |
}) | |
}, | |
copyPasteCallback: function(a, d) { |
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
#!/bin/bash | |
# Convert AsciiDoc from "Two line titles" to "One line titles" | |
# http://asciidoctor.org/docs/asciidoc-recommended-practices/#section-titles | |
set -e | |
find src -name '*.adoc' | | |
while read file | |
do | |
awk '{ |
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
#! /usr/bin/env python2 | |
#-*- coding: utf8 -*- | |
"""Read a .tsv and import it into multiple kicad sheets.""" | |
import sys, shutil | |
import csv, re | |
# CSV columns that will be ignored. | |
IGNORED_COLUMNS = [ "sheetName", 'Reference', "Designator", "Quantity", "" ] |
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
```java | |
// Model | |
public class User { | |
public Object timestamp; // Server time. | |
... | |
} | |
// Example code | |
public void test() { |
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
var https = require('https'); | |
var util = require('util'); | |
exports.handler = function(event, context) { | |
console.log(JSON.stringify(event, null, 2)); | |
console.log('From SNS:', event.Records[0].Sns.Message); | |
var postData = { | |
//"channel": "#monitoring", | |
//"username": "AWS SNS via Lamda :: DevQa Cloud", |