Skip to content

Instantly share code, notes, and snippets.

View simnalamburt's full-sized avatar
:shipit:
Natural Born Developer

Hyeon Kim (김지현) simnalamburt

:shipit:
Natural Born Developer
View GitHub Profile
#!/usr/bin/env python3
# 심심해서 8percent 면접문제 풀어봄. 푸는데에 20분 걸림.
#
# Reference:
# https://web.archive.org/web/20170226231428/https://brunch.co.kr/@sunghokimnxag/5
def pingpong(target: int) -> int:
return pingpong_internal(target, 1, 1, True)
def pingpong_internal(target: int, n: int, state: int, is_plus_direction: bool) -> int:

[KINTA]'s heci-qst.c with MEI kernel support

This is mirror of [KINTA]'s [heci-qst.c]. [KINTA]'s [heci-qst.c] is modified from [Andriy Gapon]'s heci-qst.c to support Intel MEI.

# Make sure that your kernel have Intel MEI support. Those values should be 'y' or 'm'
$ gzip -dc /proc/config.gz | grep INTEL_MEI
CONFIG_INTEL_MEI=m
CONFIG_INTEL_MEI_ME=m
<?php
$img = fopen("php://memory","r+");
fwrite($img,hex2bin("ffd83000103030303030303030303030303030fffe000e303030303030303030303000fffe000e303030303030303030303000fffe00103030303030303030303030303000ffe102994578696600004d4d002a00000008000282980002000000300000002692860002000000300000004f000000683030303030303030303030300400303030303000303030303030303030303030303030303030303030554e49434f4445003030303030303030303030303030303030000202010004000000010000008602020004000000010000000430303030ffd8ff00027fff30303030303030303030303030ff30008430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030ffc000303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030