I hereby claim:
- I am dob9601 on github.
- I am dob9601 (https://keybase.io/dob9601) on keybase.
- I have a public key ASCasy7vPbgo0Mcub_i1f3TRss22bHGankuGswfrEd73owo
To claim this, I am signing this object:
"""Decorators, primarily related to sentry logging.""" | |
import functools | |
import sentry_sdk | |
import discord | |
from discord.ext import commands | |
def sentry_user_context(payload_position: int, payload_type: object, bot: commands.Bot = None): |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Disable HTML polyglot due to dodgy inline-js indents | |
let g:polyglot_disabled = ['html'] " breaks java | |
call plug#begin('~/.vim/plugged') | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
I hereby claim:
To claim this, I am signing this object:
python -c "from APP_NAME.settings import DEBUG; assert not DEBUG" |
import random | |
import string | |
try: | |
with open('<PROJECT_NAME>/SECRET_KEY', 'r') as secret_key_file: | |
SECRET_KEY = secret_key_file.read() | |
if SECRET_KEY == '': | |
raise FileNotFoundError | |
except FileNotFoundError: | |
with open('<PROJECT_NAME>/SECRET_KEY', 'w') as secret_key_file: |
Browser_Back::SendInput {LCtrl down}{LWin down}{Right}{LCtrl up}{LWin up} | |
Browser_Forward::SendInput {LCtrl down}{LWin down}{Left}{LCtrl up}{LWin up} | |
LCtrl & Left::sendevent {LWin down}{LCtrl down}{Left down}{Lwin up}{LCtrl up}{Left up} | |
LCtrl & Right::sendevent {LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up} |
var buttons = $( ".js-download-button" ).click() | |
var i=0 | |
setInterval(function() { | |
buttons[i].click() | |
console.log('Downloading: '+buttons[i].parentNode.parentNode.parentNode.children[0].children[0].children[0].innerHTML) | |
i++ | |
}, 1000) |
const twitter_filter = (prev_tweet_count = 0) => { | |
const twitter_handles = [] | |
const orgs = document.getElementsByClassName('org-info') | |
for (let i = 0; i < orgs.length; i++) { | |
const org_info = orgs[i].children | |
const children = [].slice.call(org_info) | |
const twitter_url = children.filter( | |
x => x.nodeName === 'A' && x.host === 'twitter.com' | |
) |