graph LR
DMN[Default Mode Network]
CEN[Central Executive Network]
SN[Salience Network]
SMN[Sensory-Motor Network]
VN[Visual Network]
AN[Auditory Network]
LN[Limbic Network]
This file contains hidden or 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
const endpoint = "https://htbgzenw76.execute-api.us-east-1.amazonaws.com/dev/app"; | |
const callApi = async (funcName, data) => { | |
const response = await fetch(endpoint, { | |
body: JSON.stringify({ funcName, data }), | |
method: "POST", | |
headers: { "Content-Type": "application/json" } | |
}); | |
if (!response.ok) { | |
throw new Error(`API call failed: ${response.status} ${response.statusText}`); |
This file contains hidden or 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>Notebook Paper Design</title> | |
<link href="https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap" rel="stylesheet"> | |
<style> | |
body { | |
font-family: 'Nanum Pen Script', cursive; |
This file contains hidden or 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>SVG to PNG Download</title> | |
</head> | |
<body> | |
<svg id="texas" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="300" height="300" viewBox="-67235,-57840 124725,118547"> |
This file contains hidden or 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> | |
<head> | |
<meta charset="utf-8"> | |
<title>React App</title> | |
</head> | |
<body> | |
<script type="importmap"> | |
{ | |
"imports": { |
This file contains hidden or 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
if (HTMLScriptElement.supports && HTMLScriptElement.supports('importmap')) { | |
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap | |
const importMap = { | |
imports: { | |
lazyload: 'IntersectionObserver' in window | |
? './lazyload.js' | |
: './lazyload-fallback.js', | |
}, | |
}; |
This file contains hidden or 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
function createCSV(data, fileName) { | |
const headers = [ | |
'id', | |
'author_name', | |
'post', | |
'is_post', | |
'comment', | |
'is_comment', | |
'first_name', | |
'last_name', |
This file contains hidden or 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
// Adapted from https://raddle.me/f/Privacy/3722/how-to-circumvent-cloudflare-s-email-protected-thing-without with the help of chatGPT | |
function fixObfuscatedEmails() { | |
const elements = document.getElementsByClassName('__cf_email__'); | |
for (let i = 0; i < elements.length; i++) { | |
const element = elements[i]; | |
const obfuscatedEmail = element.getAttribute('data-cfemail'); | |
if (obfuscatedEmail) { | |
const decodedEmail = decrypt(obfuscatedEmail); | |
element.setAttribute('href', 'mailto:' + decodedEmail); | |
element.innerHTML = decodedEmail; |
This file contains hidden or 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
初志貫徹 (shoshikantetsu) - "to carry out original intent" | |
一期一会 (ichigoichie) - "Treasure every encounter, for it will never recur." | |
一日一歩 (iichinichiippo) - "One step each day." | |
十人十色 (jūnintoiro) - "To each their own; So many people, so many minds" | |
匠の技 (Takumi no waza) - "the expertise of master craftsmen" |
NewerOlder