Skip to content

Instantly share code, notes, and snippets.

View TrySpace's full-sized avatar
💭
1

Try Space TrySpace

💭
1
View GitHub Profile
function test () {
const split = ["man", "man"];
const pathRegex = new RegExp(/^[A-ZÀ-Ýa-zà-ý0-9_]+[^.#$?\[\]]$/g);
console.log(split)
split.forEach((word: string, key) => {
console.log(key)
if (pathRegex.test(word)) {
console.info('Word:', word)
tags.push(word)
} else {
@TrySpace
TrySpace / dabblet.css
Created March 9, 2015 11:03
Attempt for Chrome-style progress-indicator with SVG and CSS animations
/**
* Attempt for Chrome-style progress-indicator with SVG and CSS animations
*/
@keyframes spin {
0% {
stroke: #00aeef
}
37.5% {
stroke: #ed1c24;