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
[service_eduroam] | |
Type=wifi | |
Name=eduroam | |
EAP=peap | |
CACertFile=/etc/ssl/certs/ca-certificates.crt | |
Phase2=MSCHAPV2 | |
Identity=<YOUR UNIV. EMAIL> | |
Passphrase=<YOUR UNIV. LOGIN PASSWORD> |
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
<!-- Jinja Unique ID Generator --> | |
{% macro random_int(len) -%} | |
{% for n in range(len) %} | |
{{ [0,1,2,3,4,5,6,7,8,9]|random }} | |
{% endfor %} | |
{%- endmacro %} | |
{% macro unique_id(count_groups=5, group_len=6, separator='-') -%} | |
{% set parts %} |
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
/* ebnf file for es 6 - MAY CONTAIN ERRORS / DISAMBIGUITY */ | |
Grammer::= Statement | |
/* Lexical grammer */ | |
SourceCharacter ::= #x0000-#x10FFFF | |
InputElementDiv ::= WhiteSpace | LineTerminator | Comment | CommonToken | DivPunctuator | RightBracePunctuator | |
InputElementRegExp ::= WhiteSpace | LineTerminator | Comment | CommonToken | RightBracePunctuator | RegularExpressionLiteral | |
InputElementRegExpOrTemplateTail ::= WhiteSpace | LineTerminator | Comment | CommonToken | RegularExpressionLiteral | TemplateSubstitutionTail | |
InputElementTemplateTail ::= WhiteSpace | LineTerminator | Comment | CommonToken | DivPunctuator | TemplateSubstitutionTail | |
WhiteSpace ::= "<TAB>" | "<VT>" | "<FF>" | "<SP>" | "<NBSP>" | "<ZWNBSP>" | "<USP>" |
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 Crypto = {}; | |
Crypto.sha1_hmac = function (msg, key) { | |
"use strict"; | |
var oKeyPad, iKeyPad, iPadRes, bytes, i, len; | |
if (key.length > 64) { | |
// keys longer than blocksize are shortened | |
key = Crypto.sha1(key, true); | |
} |