Parts of the functionality may have been broken as App Store allows more flexible pricing options than the original tiers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git fetch --all | |
| git reset --hard origin/master | |
| git pull origin master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ツイート Tweet:https://twitter.com/fwarashi/status/1360561289215373314 | |
| Github:https://github.com/kurenaif/kurenaif_valentine_problems | |
| ハッシュタグ Hashtag: #kurenaifChallenge (https://twitter.com/search?q=%23kurenaifChallenge) | |
| * GCD (Greatest common divisor・最大公約数) may also be known as HCF, GCF or HCD, GCM | |
| H: highest | |
| F: factor | |
| M: measure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"NPCs": [{"id": 90000000, "name": "grinning", "category": "NPCs", "order": 1, "src": "https://img.guildedcdn.com/asset/Emojis/grinning.webp", "unicode": "😀", "codepoint": "1f600"}, {"id": 90000004, "name": "smiley", "category": "NPCs", "order": 2, "src": "https://img.guildedcdn.com/asset/Emojis/smiley.webp", "unicode": "😃", "codepoint": "1f603"}, {"id": 90000005, "name": "smile", "category": "NPCs", "order": 3, "src": "https://img.guildedcdn.com/asset/Emojis/smile.webp", "unicode": "😄", "codepoint": "1f604"}, {"id": 90000001, "name": "grin", "category": "NPCs", "order": 4, "src": "https://img.guildedcdn.com/asset/Emojis/grin.webp", "unicode": "😁", "codepoint": "1f601"}, {"id": 90000007, "name": "laughing", "category": "NPCs", "order": 5, "aliases": ["satisfied"], "src": "https://img.guildedcdn.com/asset/Emojis/laughing.webp", "unicode": "😆", "codepoint": "1f606"}, {"id": 90000006, "name": "sweat_smile", "category": "NPCs", "order": 6, "src": "https://img.guildedcdn.com/asset/Emojis/sweat_smile.webp", "unicod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import turtle | |
| turtle.tracer(False) | |
| turtle.hideturtle() | |
| """ | |
| Paint Application using Python Turtle | |
| by t-wy | |
| """ | |
| def save(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: { | |
| let video = document.getElementsByTagName("video")[0]; | |
| let canvas = document.createElement("canvas"); | |
| canvas.width = video.videoWidth; | |
| canvas.height = video.videoHeight; | |
| canvas.getContext("2d").drawImage(video, 0, 0, canvas.width, canvas.height); | |
| canvas.style.position = "fixed"; | |
| canvas.style.left = "0"; | |
| canvas.style.top = "0"; | |
| canvas.style.zIndex = "99999"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: fbid = /share_fbid":"(\d+)"/g.exec([...document.getElementsByTagName("script")].filter(x => x.innerHTML.includes("share_fbid"))[0].innerHTML)[1]; alert(location.href.split("/").slice(0, -1).join("/") + "/" + fbid); | |
| // can be used in console / bookmark / address bar (remember to add back javascript if the browser strips it automatically) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def messagepack_csharp_unpack(data: bytes) -> list: | |
| """ | |
| Redistribution Notice: | |
| Properly attribute all entities listed below and request others to follow the same. | |
| Otherwise, DO NOT remove or modify this comment. | |
| Specification (MessagePack for C#): | |
| https://github.com/MessagePack-CSharp/MessagePack-CSharp | |
| Dependencies: | |
| msgpack: https://github.com/msgpack/msgpack-python | |
| lz4: https://github.com/python-lz4/python-lz4 |
Spotify Album Cover URLs are of the form https://i.scdn.co/image/ab67616d0000 + {quality identifier} + {image id}
The default seems to be b273, providing a ~640px JPEG. To get a different size or format, use one of the identifiers (maybe not exhaustive).
WEBP:
01e7: 64x64
11eb: 64x64
54be: 64x64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Based on https://github.com/Cysharp/MemoryPack/blob/main/sandbox/SandboxWebApp/wwwroot/js/memorypack/MemoryPackReader.ts | |
| # Implementation by @t-wy: https://github.com/t-wy | |
| from typing import * | |
| from .byte_reader import LittleEndianReader | |
| from dataclasses import is_dataclass | |
| from datetime import datetime | |
| def deserialize(_type, content: bytes): | |
| reader = LittleEndianReader(content) |
OlderNewer