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": {
# 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 |
/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 |
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 |
(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() |
I hereby claim:
{
"body": {
"key": {
#!/usr/bin/env bash | |
# Rename this to `$vpn_state` to be more semantically useful. `$script_type` is | |
# a really weird name. | |
vpn_state=$script_type | |
case $vpn_state in | |
up) | |
nameservers=() | |
search=() |
class Host | |
constructor: -> | |
interfaces = @constructor.interfaces | |
if interfaces? | |
for interface in interfaces | |
_.extend @, interfaces | |
@implements: (host, interface) -> | |
# This effectively makes host optional |
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};` | |
} |