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
/** | |
* | |
* @param el Element | |
* @param CSS property in hyphen case | |
* @param pseudo pseudo selector (optional) | |
*/ | |
function getStyleValue(el, property, pseudo) { | |
// convert hyphen-case to camelCase | |
const elStyle = el.style[property.replace(/(\-[a-z])/g, $1 => $1.toUpperCase().replace('-',''))]; | |
return ((elStyle !== '' && !pseudo) |
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' standalone='yes' ?> | |
<opml version="1.0"> | |
<head> | |
<title>Pocket Casts Feeds</title> | |
</head> | |
<body> | |
<outline text="feeds"> | |
<outline type="rss" text="JavaScript Jabber Only" xmlUrl="https://feeds.feedwrench.com/js-jabber.rss" /> | |
<outline type="rss" text="The Moth" xmlUrl="http://feeds.feedburner.com/themothpodcast" /> | |
<outline type="rss" text="Bullseye with Jesse Thorn" xmlUrl="https://www.npr.org/rss/podcast.php?id=510309" /> |
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
#include <assert.h> | |
#include <ctype.h> | |
#include <stdio.h> | |
#include <string.h> | |
enum { MAX_WORDS = 64, MAX_WORD_LEN = 20 }; | |
int main(void) | |
{ | |
char words[MAX_WORDS][MAX_WORD_LEN]; |
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
<div></div> |
OlderNewer