- Number the exact number of players.
- Be wrapped so their contents cannot be visually discerned.
- All gifts must be placed in a location where players can see all of them.
<html> | |
<head> | |
<title>Who Likes Mitt?</title> | |
<style> | |
pre#output { | |
height: 12em; | |
width: 500px; | |
overflow: auto; | |
} | |
</style> |
/* use strict */ | |
const me = { | |
// we could potentially set this in game.create from game["_gridWidth"] | |
// instead of hard-coding the number 24 | |
board: { | |
height: 24, | |
width: 24 | |
}, | |
// starting score should be 0 |
response.writeHead(200, { | |
'p3p': ['policyref="http://foo.com/p3p.xml"', 'CP="OOO EEE OOH AH AHH"'], | |
'Set-Cookie': ['ting="tang; expires=0; path=/;"', 'wallawalla="bingbang; expires=123456789; path=/;"'], | |
'Content-Type': 'text/html' | |
}); |
In wordpress/wp-includes/class-wp-editor.php, look for the tinymce setting: | |
public static function parse_settings($editor_id, $settings) { | |
$set = wp_parse_args( $settings, array( | |
... | |
'tinymce' => true, // load TinyMCE, can be used to pass settings directly to TinyMCE using an array() | |
... | |
) ); | |
Set it to false and you should be good to go. |
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="presentation.css"> | |
</head> | |
<body> | |
<script src="behavior.js"></script> | |
</body> |
At long last it's time to get serious about Manifest V3:
https://developer.chrome.com/extensions/migrating_to_manifest_v3
https://developer.chrome.com/extensions/migrating_to_service_workers
Problem: all the cool new toys only work in Chrome Canary. If you're like me, your chrome://extensions page is already a giant mass of internally-conflicting test extensions and you dislike the taste of coal dust, so you've avoided Canary versions of Chrome at all costs.
While performing eyeball-based QA for an API update I needed a fast way to reformat output so that all keys would be in the same order. Here's what I came up with:
sortByKeys = input => {
// default: return anything whose typeof is NOT "object"
let result = input;
// do we have an object? look inside
if (input && typeof input === "object") {
Here's a scary page:
https://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen
Open up the Advertisers section and check out that first section: advertisers who use a contact list added to Facebook. Unlike the other tabs in this section, these ads have nothing to do with your behavior on Facebook or elsewhere on the Internet. All these advertisers got your name the old-fashioned way: by trading something of value for a list containing your contact information.
Per Facebook's vague-but-cheerful explainer, this is "typically" your e-mail address or phone number, but there's really no way to know for sure.