Skip to content

Instantly share code, notes, and snippets.

View dogwonder's full-sized avatar

Rich Holman dogwonder

View GitHub Profile
@dogwonder
dogwonder / wp.css
Last active November 26, 2024 16:51
:root {
--wp--preset--aspect-ratio--square: 1;
--wp--preset--aspect-ratio--4-3: 4/3;
--wp--preset--aspect-ratio--3-4: 3/4;
--wp--preset--aspect-ratio--3-2: 3/2;
--wp--preset--aspect-ratio--2-3: 2/3;
--wp--preset--aspect-ratio--16-9: 16/9;
--wp--preset--aspect-ratio--9-16: 9/16;
--wp--preset--color--black: #000000;
--wp--preset--color--cyan-bluish-gray: #abb8c3;
1.1.1. Address individual and collective risk
1.1.2. Collect data with a defined purposes
1.1.3. Collect personal or sensitive data only when necessary and with informed consent
1.1.4. Use secure data collection and storage mechanisms
1.1.5. Use de identification and anonymisation
1.1.6. Define inappropriate uses of health data
1.1.7. Institute safeguards against discrimination, stigma, harassment and bias
1.1.8. Provide guidance specific to marginalised groups and populations
1.2.1. Align with best practices for data protection and privacy
1.2.2. Ensure consent is informed and understood in all its complexities
@dogwonder
dogwonder / 00-intro.md
Created January 5, 2021 17:05 — forked from mdo/00-intro.md
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

@dogwonder
dogwonder / readme.md
Created March 18, 2019 15:31 — forked from hitautodestruct/readme.md
Generate a custom structure for Wordpress menus.

This gist is for showing an example of a custom wordpress menu.

If you want to get more from the menu item simply have a look at the $item object. i.e:

// Will return a large object with lots of props like title, url, description, id etc.
var_dump( $item );

This code works on Wordpress 4.1.1 as of 31st of March 2015