I hereby claim:
- I am reallistic on github.
- I am mikechase (https://keybase.io/mikechase) on keybase.
- I have a public key ASDmhxjPt3vb10Y0WTYlac0EP6voXcg7s_diWIUEvnOC1go
To claim this, I am signing this object:
#!/bin/bash | |
OIFS=$IFS | |
print_usage () | |
{ | |
echo "Usage:" | |
echo " $0 source-appname" | |
echo " $0 source-appname dest-appname" | |
} | |
cleanup_and_exit () |
import time | |
import json | |
import gevent | |
from uuid import uuid4 | |
from locust import HttpLocust, TaskSet, task, ResponseError, events, Locust | |
import websocket | |
class SocketClient(object): |
I hereby claim:
To claim this, I am signing this object:
import logging | |
from flask import Flask | |
from threading import Lock | |
# a lock used for logger initialization | |
_logger_lock = Lock() | |
class MyCustomLogger(object): |
#!/bin/bash | |
############################################### | |
# To use: | |
# chmod +x install-redis.sh | |
# ./install-redis.sh | |
############################################### | |
version=3.2.8 | |
echo "*****************************************" | |
echo " 1. Prerequisites: Install updates, set time zones, install GCC and make" |
var React = require("react"); | |
var request = require("requests"); | |
var allItems = [] | |
allItems.push("Buy ingredients for Crock Pot"); | |
allItems.push("Pick up chair at IKEA"); | |
allItems.push("Go see mom"); | |
class TodoList extends React.Component { | |
constructor(props){ |
import superagent from 'superagent'; | |
import { WebsocketService } from './services'; | |
export function getData() { | |
return superagent.get('/api/').then(response => { | |
return response.body; | |
}); | |
} | |
from .payload import PayloadFactory, Payload | |
class Comment: | |
text: str | |
def __init__(self, text: str) -> None: | |
self.text = text | |
@staticmethod |
Create a new bookmark somewhere handy in your browser with the following URL:
javascript:var el=document.createElement('style');el.media='print';el.innerHTML='#header,.pagehead.repohead,.gist-description.container,.file-box .meta,#comments,.js-comment-form,.gist-header,.file-header,.gisthead,#footer,div.commit-tease,div.file-navigation{display:none;}.file-box{border:0!important;}';document.getElementsByTagName('head')[0].appendChild(el);alert('Now, cmd+p to print');
import asyncio, dataclasses | |
from ariadne import make_executable_schema, graphql, QueryType | |
from ariadne_auth.authz import AuthorizationExtension | |
class AlwaysHasPermission: | |
@classmethod | |
def has_permissions(cls, *_): | |
return True |