slmgr /ipk your_license_key
Replace your_license_key
with following volumn license keys according to Windows Edition:
<script setup> | |
import useLocalStorage from './useLocalStorage' | |
const publicKey = useLocalStorage('solana-wallet-public-key') | |
</script> | |
<template> | |
<div> | |
<input type="text" v-model="publicKey"> | |
<div v-text="publicKey"></div> | |
</div> |
import httpx | |
from fastapi import FastAPI, HTTPException | |
from pydantic import BaseModel | |
app = FastAPI() | |
# Define a Pydantic model for request input | |
class GenerateRequest(BaseModel): | |
model: str | |
prompt: str |
Recommendations of unit types per media type:
Media | Recommended | Occasional use | Infrequent use | Not recommended |
---|---|---|---|---|
Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |
import { UpdateAboutInfoType } from '../../../../services/api/profile.service' | |
import { Place } from '../../../../types' | |
import { Validations } from '../../../hooks/use-form' | |
export const updateAboutInfoValidations: Validations<UpdateAboutInfoType> = { | |
about: { | |
custom: { | |
isValid: (value: string) => value?.length >= 128 && value?.length <= 256, | |
message: 'Your bio should be atleast 128 characters and atmost 256 characters.', | |
}, |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
import _ from 'lodash' | |
import { FormEvent, useEffect, useState } from 'react' | |
import { useAppDispatch } from '.' | |
import { | |
NotificationTitleType, | |
showNotification, | |
} from '../../app/features/notification/notification.slice' | |
import { Place } from '../../types' |
class MinMaxHeap(object): | |
""" | |
Implementation of a Min-max heap following Atkinson, Sack, Santoro, and | |
Strothotte (1986): https://doi.org/10.1145/6617.6621 | |
""" | |
def __init__(self, reserve=0): | |
self.a = [None] * reserve | |
self.size = 0 | |
def __len__(self): |
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();
#! /usr/bin/env python3 | |
"""Fixing bluetooth stereo headphone/headset problem in debian distros. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . | |
Licence: Freeware |