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
View linux-workstation-security.md

Linux workstation security checklist

This is a set of recommendations used by the Linux Foundation for their systems administrators. All of LF employees are remote workers and we use this set of guidelines to ensure that a sysadmin's system passes core security requirements in order to reduce the risk of it becoming an attack vector against the rest of our infrastructure.

Even if your systems administrators are not remote workers, chances are that they perform a lot of their work either from a portable laptop in a work

@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
@monokrome
monokrome / move.c
Last active May 24, 2019 — forked from Unlimiter/move.c
Fast function for moving files.
View move.c
/** this was posted as a fast function for moving files... lolwat!? **/
/*
* Fast function for moving files.
* — Unlimiter
*/
// This function has been tested with 'https://norvig.com/big.txt' which has the size of 6488666 bytes, and the execution time was very close to null.
// At that point, it is very comparable to the 'mv' command on Linux.
void move(char* src_path, char* dest_path) {
View freenode_channels.txt
This file has been truncated, but you can view the full file.
2391 ##linux Channel website: https://freenode.linux.community | Pastebin: https://paste.linux.community | Need an op? Join ##linux-ops | CoC? ##linux-offtopic, please.
1931 #python Don't paste, use https://paste.pound-python.org/ | http://bit.ly/psf-coc | Tutorial: http://bit.ly/MCAhYx | New programmer? http://bit.ly/23X7emF | Specify 2.x or 3.x in your question | Find your local User Group: http://goo.gl/S1Zsq | #python-fr #python.de #python-es #python.tw #python-br #python-nl #python-ir #python.it #python-ro #python-india #python-hu #python-dk #python-dev
1926 #freenode Welcome to #freenode | Feel free to message staff at any time. You can find us using /stats p (shows immediately-available staff) or /who freenode/staff/* (shows all staff) | See https://freenode.net/news/spambot-attack regarding spam | User mode +R blocks unregistered user PMs
@monokrome
monokrome / .screenrc
Created Jun 23, 2012
A good .screenrc file, thanks to @kroogs
View .screenrc
# Get rid of the startup message
startup_message off
# Stop flashing when I get an alert
vbell off
# Automatically detach if a disconnect occurs
autodetach on
# Think of it as xterm and give me scrolling
@monokrome
monokrome / commands
Last active Dec 17, 2018
Some of my weechat settings
View commands
/key bind meta-ctrl-I /go
/key unbind ctrl-W
/key bind ctrl-Wl /window right
/key bind ctrl-Wh /window left
/key bind ctrl-Wj /window down
/key bind ctrl-Wk /window up
/key bind ctrl-Wmeta2-C /window right
View metanic-security.txt
Contact: security@metanic.org
Encryption: https://keybase.io/monokrome
Acknowledgements: https://github.com/metanic/metanic/tree/master/CONTRIBUTORS.md
Permission: none
Policy: asfasfhttps://github.com/metanic/metanic/tree/master/SECURITY.md
View meow.js
(function __FORGOTTHENAME__(a, b) {
return () => {
a(...args) // Create a side effect
return b(...args) // Return result of calling b
}
})
View managers.py
import typing
from django.db.models import Manager
from django.db.models.query import QuerySet
class TopicManager(Manager):
def having_names(self, names: str, *, create_missing: bool = False, **create_kwargs: typing.Dict[str, typing.Any]) -> QuerySet:
if not len(names):
return self.none()
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 ASAf75zfHTn9s38idtG2TbNyEW5STSEBdlbZhAp1UYJw0wo To claim this, I am signing this object:
{
  "body": {
    "key": {
You can’t perform that action at this time.