I hereby claim:
- I am stemount on github.
- I am stemount (https://keybase.io/stemount) on keybase.
- I have a public key ASD6A4CIlxYm1WRLfAdZc87WfoqMRoJFRZSUE0XQUBtgWAo
To claim this, I am signing this object:
const t1 = performance.now(); | |
let count_y = 0; | |
let count_n = 0; | |
for (let i = 0; i < 10_000; i++) { | |
let message = `!play ${i}`; | |
if (/^!(play|playball|givecompliment)(?:\s+(\w+))?$/.test(message)) | |
count_y += 1; | |
else |
I hereby claim:
To claim this, I am signing this object:
([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([AZa-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))[0-9][A-Za-z]{2}) |
const App = () => { | |
const [ title, setTitle ] = React.useState(''); | |
const handleSubmit = React.useCallback((event) => { | |
event.preventDefault(); | |
console.log(title); | |
alert(`the value of title is ${title}`); | |
}, []); | |
const handleTitleChange = React.useCallback( |
{ | |
"compilerOptions": { | |
"target": "es2018", | |
"module": "commonjs", | |
"lib": [ | |
"dom", | |
"es6", | |
"es2018", | |
"esnext.asynciterable" | |
], |
import { Field } from 'type-graphql'; | |
import { ValidateNested } from 'class-validator'; | |
import { plainToClass } from 'class-transformer'; | |
export function Nested(options?: { each?: boolean; nullable?: boolean }) { | |
return (target: any, propertyName: string) => { | |
const Ctx = Reflect.getMetadata( | |
'design:type', | |
target.constructor.prototype, | |
propertyName |
const dot = require('dot-object'); | |
exports.getProductsBySpecs = async(req,res,next) => { | |
try{ | |
const q = req.query; | |
const specificationsInDotNotation = dot.dot(req.query.filter((key) => { | |
// Only allow size/color attributes. | |
return key === 'size' || 'color'; | |
})); |
// @todo #winning is subjective and should not always return true. | |
winning = function () { | |
return true; | |
} |
string(65) "=== Forcibly logging out xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx ===" | |
string(325) "revoking user token {"id":"xxxxxxxx","user_id":"xxxxxxxx","client_id":215,"name":"UserToken","scopes":[],"revoked":true,"created_at":"2020-01-03 11:53:21","updated_at":"2020-01-03 11:53:21","expires_at":"2040-01-03 11:53:21"}" | |
string(68) "=== Forcibly logged out out xxxxxxxx-xxxxxxxx-4646-9854-xxxxxxxx ===" |
sudo phpenmod ext-bcmath | |
sudo phpenmod mysqlnd | |
sudo phpenmod opcache | |
sudo phpenmod pdo | |
sudo phpenmod xml | |
sudo phpenmod calendar | |
sudo phpenmod ctype | |
sudo phpenmod curl | |
sudo phpenmod dom | |
sudo phpenmod exif |