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
import { pretty, linesFromStdin } from '../common.js'; | |
const listNums = "zero, one, two, three, four, five, six, seven, eight, nine".split(",").map(e => e.trim()) | |
function findMatches(line, str) { | |
const re = new RegExp(str, "g"); | |
const matches = [...line.matchAll(re)] | |
return matches.map(({ index }) => ({ s: index })) | |
} |
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
{ | |
"fields": { | |
"aaa_override_passphrase": "false", | |
"ap_name": "M131-stairb-4w-ap0", | |
"co_state": "client-status-run", | |
"guest_lan_client_info/idle_time_seconds": 0, | |
"guest_lan_client_info/phy_ifid": 0, | |
"guest_lan_client_info/wired_vlan": 0, | |
"idle_timeout": 0, | |
"idle_timestamp": 0, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<saml2p:Response | |
xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://aportal.drtufts.net/saml/acs" ID="_8e1833f5b65e46fd106f71c07611ae21" InResponseTo="id-870aba870f8c1097a5d42321e84297166b13f7c5" IssueInstant="2023-02-28T17:53:42.887Z" Version="2.0"> | |
<saml2:Issuer | |
xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://shib-idp.tufts.edu/idp/shibboleth | |
</saml2:Issuer> | |
<ds:Signature | |
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |
<ds:SignedInfo> | |
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> |
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
package main | |
import ( | |
"embed" | |
"html/template" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
) |
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
ResponseId | RESPONSE_ID | ResponseId | |
---|---|---|---|
Q2DocumentLink | Q2_DOCUMENT_LINK | Q2_Id | |
Q2DocumentName | Q2_DOCUMENT_NAME | Q2_Name | |
Q14DocumentLink | Q14_DOCUMENT_LINK | Q14_Id | |
Q14DocumentName | Q14_DOCUMENT_NAME | Q14_Name | |
Q15DocumentLink | Q15_DOCUMENT_LINK | Q15_Id | |
Q15DocumentName | Q15_DOCUMENT_NAME | Q15_Name | |
Q18Affiliation | Q18_AFFILIATION | Q18_3 | |
Q18DisplayEmail | Q18_DISPLAY_EMAIL | Q18_2 | |
Q18DisplayName | Q18_DISPLAY_NAME | Q18_1 |
Demo for gocsv (ticket #159)
> cat demo.csv
client_id,client_name,client_age
1,Jose,42
2,Daniel,26
3,Vincent,32
> go run ./main.go --csvFile=demo.csv
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
# This is the Dendrite configuration file. | |
# | |
# The configuration is split up into sections - each Dendrite component has a | |
# configuration section, in addition to the "global" section which applies to | |
# all components. | |
# The version of the configuration file. | |
version: 2 | |
# Global Matrix configuration. This configuration applies to all components. |
NewerOlder