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> | |
<head> | |
<style> | |
a { | |
font-size: xxx-large; | |
} | |
button { | |
width: 200px; |
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
const x = `adversely /ædˈvɝsɫi/ | |
adversity /ædˈvɝsɪˌti/, /ədˈvɝsɪti/ | |
advert /ˈædvɝt/ | |
advertise /ˈædvɝˌtaɪz/ | |
advertised /ˈædvɝˌtaɪzd/, /ˌædvɝˈtaɪzd/ | |
advertisement /ˌædvɝˈtaɪzmənt/, /ædˈvɝtəzmənt/ | |
advertisements /ˈædvɝˌtaɪzmənts/ | |
advertiser /ˈædvɝˌtaɪzɝ/` | |
const y = x.split("\n").map(p => p.split("\t").filter(v => v)); |
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
Object.values(__NEXT_DATA__.props.initialState.entities.gameRoom)[0].items.map(v => { | |
return [v.textToDisplay, v.enteredText, v.textToDisplay===v.enteredText] | |
}) |
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
Why do Nauruans demonstrate resistance and rejection to the term of "climate refugees"? | |
Capitalism and Climate Change | |
- Australia basically used Nauru as a place to dump all their unwanted refugees | |
- Nauru and Australian govt made agreements which basically institutionalized the refugee industry | |
+ Australia benefits by getting a place to dump their refugees, and a source for phosphate | |
+ Nauru gets crazy job stimulation and a cheap labor base from the refugees | |
Conceptualizations of Displacement | |
- Nauru was historically fucked for its resources |
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
What are the four fields of anthropology? | |
- socio cultural | |
- archeology | |
- biological | |
- linguistic | |
What is the savage slot? | |
- the classification of non-western societies as primitive | |
Who is the founding father of American Anthropology? |
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
const items = document.getElementsByClassName("mobile-items")[0]; | |
function match(a, b) { | |
items.children[a].firstChild.click(); | |
items.children[b].firstChild.click(); | |
} | |
function matchAllTo(a) { | |
queue = queue.concat(new Array(items.children.length).fill(0).map((v, i) => [a, i])); | |
} |
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 <Keypad.h> | |
const byte ROWS = 4; //four rows | |
const byte COLS = 4; //four columns | |
//define the cymbols on the buttons of the keypads | |
char hexaKeys[ROWS][COLS] = { | |
{'1','2','3','A'}, | |
{'4','5','6','B'}, | |
{'7','8','9','C'}, | |
{'*','0','#','D'} |
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
const times = [0.01127,0.01199,0.01197,0.00957,0.01198,0.01104,0.01098,0.01202,0.01159,0.01206] | |
const velocity = times.map(t => 1.536*2/t); | |
const meanVelocity = velocity.reduce((a,b) => a+b, 0) / 10; | |
const stdDev = Math.sqrt(velocity.map(v => (v - meanVelocity)**2 / 10).reduce((a,b) => a+b, 0)); | |
const stdErr = stdDev / Math.sqrt(10); |
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
const divisors = new Set(); | |
let n = 12379872; | |
const bound = Math.sqrt(n); | |
while (n > 1) { | |
for (let i=2; i<=bound; i++) { | |
if (n % i === 0) { | |
divisors.add(i); | |
n /= i; | |
break; |
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
const content = `beetle: | |
arms/legs: #738334 | |
antennae: #4a5224 | |
back primary: #04ab44 | |
back highlights: #7adb8b | |
eyes: #2f2f2f | |
octopus: | |
primary: #ff615e | |
tentacle highlight: #ffa8a8 |
NewerOlder