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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
* { | |
margin: 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Stagger sample</title> | |
<style> | |
/* stagger related code */ |
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
"use strict"; | |
/** | |
* Make a mixin. Better than basic mixins. | |
* | |
* Basic mixin: | |
* let SomeMixin = { | |
* value: 0 | |
* } | |
* Object.assign(Someclass.prototype, SomeMixin) |
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
"""Helps solving https://regexcrossword.com/ that use character classes.""" | |
def letters(string): | |
"""Converts a string representing a character class into the set of letters that can match it. | |
Args: | |
string (str): String representing a Character class. Can be '^A-CX-Z' or '[^A-CX-Z]' | |
Returns: | |
set: A set of (upper case) letters matching the character class | |
""" |