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
    
  
  
    
  | ツイート 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
    
  
  
    
  | 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
    
  
  
    
  | """Disassembler of Python byte code into mnemonics.""" | |
| import sys | |
| import types | |
| import collections | |
| import io | |
| from opcode import * | |
| from opcode import __all__ as _opcodes_all | |
| from opcode import _nb_ops, _inline_cache_entries, _specializations, _specialized_instructions | 
Challenge Name - MIXED
URL - https://capturetheflag.withgoogle.com/challenges/rev-mixed
Description -
A company I interview for gave me a test to solve. I'd decompile it and get the answer that way, but they seem to use some custom Python version... At least I know it's based on commit 64113a4ba801126028505c50a7383f3e9df29573.
Attachments:
- patch (See A1: patch)
- x.pyc (See A2: x.pyc.b64)
  
    
      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 | 
  
    
      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) |