Skip to content

Instantly share code, notes, and snippets.

😻
meow

Bailey Stoner monokrome

😻
meow
Block or report user

Report or block monokrome

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@monokrome
monokrome / firefox.md
Created Oct 31, 2017 — forked from maxzinkus/firefox.md
Configuring Firefox for security and privacy (as of Oct. 2017)
View firefox.md

Configuring/Hardening Firefox for Security and Privacy

Source for some of these

  1. about:config
  • dom.event.clipboardevents.enabled => false
  • clipboard.plainTextOnly => true
  • referer spoofSource => true
  • media.peerconnection
View getPagination.js
#!/usr/bin/env node
const DEFAULT_PAGINATION_SIZE = 9
const ELLIPSIS = '...'
function getPagination(currentPage, numberOfPages, maxSize) {
if (numberOfPages === 1) {
return [1]
View keybase.md

Keybase proof

I hereby claim:

  • I am monokrome on github.
  • I am monokrome (https://keybase.io/monokrome) on keybase.
  • I have a public key whose fingerprint is 914A AEF0 1B34 9BD3 1BBB 7DF7 D434 E971 4038 FCCB

To claim this, I am signing this object:

View Makefile
task_name: dependencies in order
things
to
do
after
other_task: dependencies different order
things
to
do
View lol.html
{% compress css %}
<link rel=stylesheet type=text/css href="something.css{{ gzip_extension }}" />
{% endcompress css %}
View rofl.yaml
{
# WTF, it's a comment?!
"this": "is",
"json": [
"because",
"I",
"like",
"typing",
"extra",
"characters",
View analysis.coffee
angular.module 'application'
.factory 'analysis', [
'$http'
].concat ($http) ->
$http.get '/analysis/journeying.json'
.then (response) -> response.data
View template.html
{% if not is_viewing_all %}<a href="your_url_here">View All</a>{% endif %}
You can’t perform that action at this time.