Skip to content

Instantly share code, notes, and snippets.

@kael
kael / meta-tags.md
Created September 7, 2018 23:11 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@kael
kael / hypothesis.md
Created September 9, 2018 16:46 — forked from BigBlueHat/hypothesis.md
Hypothes.is API Blueprint [DRAFT]
@kael
kael / context-vocab-array-combined-iri-coerce.json
Created September 23, 2018 16:51 — forked from niklasl/context-vocab-array-combined-iri-coerce.json
JSON-LD context array with different vocabs using combined iri-coerce objects
{
"@context": [
{
"@vocab": "http://www.w3.org",
"label": "/2000/01/rdf-schema#label",
"comment": "/2000/01/rdf-schema#comment",
"prefLabel": "/2004/02/skos/core#prefLabel",
"altLabel": "/2004/02/skos/core#altLabel",
"prev": {"/1999/xhtml/vocab#prev": "@iri"},
@kael
kael / metadata-basic.json
Created October 5, 2018 07:27 — forked from HadrienGardeur/metadata-basic.json
JSON-LD for application/webpub+json
{
"@context": "http://readium.org/webpub/default.jsonld",
"metadata": {
"@type": "http://schema.org/Book",
"identifier": "urn:isbn:9780000000001",
"title": "Moby-Dick",
"author": "Herman Melville",
"language": "en",
"publisher": "Whale Publishing Ltd.",
"modified": "2016-02-18T10:32:18Z",
@kael
kael / csrf-lua.conf
Created October 26, 2018 18:17 — forked from shrikeh/csrf-lua.conf
A simple nginx host file that, using the lua module, handles CSRF, rather than the backend having to (and thus generally breaking caching by having to use Set-Cookie). Here, the front end takes care of CSRF, and sends an X-CSRF-Valid header to the backend regarding the validity of the POST, so that it is advisory (the backend then choose whether…
server {
listen 80;
root /root/to/your/docroot;
proxy_redirect off;
proxy_intercept_errors on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@kael
kael / collectd-fail2ban
Created October 29, 2018 10:02 — forked from alexalouit/collectd-fail2ban
Collectd: Fail2ban
LoadPlugin tail
<Plugin "tail">
<File "/var/log/fail2ban.log">
Instance "fail2ban"
<Match>
Regex "Ban"
DSType "CounterInc"
Type "counter"
Instance "fail2ban-ban"
</Match>
@kael
kael / gist:48f7a84509e421f3861b4b1bce1644b4
Created April 9, 2019 17:11 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@kael
kael / userChrome.css
Created May 4, 2019 12:57 — forked from silvercircle/userChrome.css
My Thunderbird userChrome for square tabs + some minor UI tweaks
/*
* Thunderbird userChrome.css
* For version 60 or later *ONLY*, will probably break and uglyfy older versions
* of TB.
*
* it's meant to be used with the default 3 panel split layout
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@kael
kael / config.md
Created May 5, 2019 03:46 — forked from 0XDE57/config.md
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".