Skip to content

Instantly share code, notes, and snippets.


Bailey Stoner monokrome

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 / move.c
Last active May 24, 2019
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 '' 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) {

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

View freenode_channels.txt
This file has been truncated, but you can view the full file.
2391 ##linux Channel website: | Pastebin: | Need an op? Join ##linux-ops | CoC? ##linux-offtopic, please.
1931 #python Don't paste, use | | Tutorial: | New programmer? | Specify 2.x or 3.x in your question | Find your local User Group: | #python-fr #python-es #python-br #python-nl #python-ir #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 regarding spam | User mode +R blocks unregistered user PMs
View metanic-security.txt
Permission: none
Policy: asfasf
View meow.js
(function __FORGOTTHENAME__(a, b) {
return () => {
a(...args) // Create a side effect
return b(...args) // Return result of calling b
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()

Keybase proof

I hereby claim:

  • I am monokrome on github.
  • I am monokrome ( on keybase.
  • I have a public key ASAf75zfHTn9s38idtG2TbNyEW5STSEBdlbZhAp1UYJw0wo To claim this, I am signing this object:
  "body": {
    "key": {
View openvpn_resolvconf.bash
#!/usr/bin/env bash
# Rename this to `$vpn_state` to be more semantically useful. `$script_type` is
# a really weird name.
case $vpn_state in
View flex.jsx
import React from 'react'
import styled from 'styled-components'
function flex(name, defaultValue) {
return (props) => {
let value = props[name]
if (!value && typeof defaultValue === 'undefined') return ''
if (!value) value = defaultValue
return `flex-${name}: ${value};`
monokrome /
Created Oct 31, 2017 — forked from maxzinkus/
Configuring Firefox for security and privacy (as of Oct. 2017)

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
You can’t perform that action at this time.