I hereby claim:
- I am frans06 on github.
- I am frans06 (https://keybase.io/frans06) on keybase.
- I have a public key ASBNsu68NLr1qzP8XarPWAQQGlrhreYBO4sC5zE2P9v_kgo
To claim this, I am signing this object:
let x = document.querySelector("[data-testid='SearchBox_Search_Input']"); | |
x.addEventListener('keyup', (e) => { | |
if (e.keyCode === 8 && e.target.value.length === 0) { | |
let tag = document.getElementById('from-tag'); | |
if (tag) { | |
tag.remove(); | |
} | |
} else { | |
if (e.target.value.startsWith('from:')) { | |
e.target.value = e.target.value.slice(5, e.target.value.length); |
I hereby claim:
To claim this, I am signing this object:
SUFFIX = ['kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] | |
def humanSize(bytes: int) -> str: | |
# Raise error on negative values | |
if bytes < 0: | |
raise ValueError('Bytes must be unsigned') | |
return suffix_iteration(bytes) | |
def suffix_iteration(value: float, suffix: int = 0): |
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
class Juston: | |
def __init__(self, input): | |
self.preps, self.verbs, self.subverbs, self.pretty_numbers = 0, 0, 0, 0 | |
self.input = input | |
self.foo_letters = ['u','d','x','s','m','p','f'] | |
self.full_letters = ['s','x','o','c','q','n','m','w','p','f','y','h','e','l','j','r','d','g','u','i'] | |
self.words = input.split(" ") | |
def word(self, word): |
import React, { Component } from 'react' | |
import { connect } from 'react-redux' | |
import PropTypes from 'prop-types' | |
import { Helmet } from 'react-helmet' | |
class VideoSurveillance extends Component { | |
componentDidMount() { | |
let frame1 = document.createElement('iframe') | |
frame1.src = "http://192.168.100.58:8081/?single-player=1" |
import React, { Component } from 'react' | |
import { connect } from 'react-redux' | |
import PropTypes from 'prop-types' | |
import { Helmet } from 'react-helmet' | |
class VideoSurveillance extends Component { | |
componentDidMount() { | |
let frame1 = document.createElement('iframe') | |
frame1.src = "http://192.168.100.58:8081/?single-player=1" |