情報がないからもうすべて妄想+憶測 + 何をするにしても自己責任!! + エンディングまで(つながるまで)泣くんじゃない! あと、調査が必要そうなところは追っていきたいけど時間がない
This file contains 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
# -*- coding:utf-8 -*- | |
import random | |
def main(): | |
word_list = [u'マジで', u'ヤバい', u'ウケるー', ] | |
while True: | |
input(">>>") | |
print(random.choice(word_list)) |
This file contains 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
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
""" | |
Problem of Resigter queue to Manager. | |
""" | |
from multiprocessing import managers, Queue | |
class WrongManager(managers.SyncManager): |
This file contains 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
### | |
get cookie function by | |
URL -> https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax | |
### | |
getCookie = (name) -> | |
cookieValue = null | |
if document.cookie and document.cookie isnt "" | |
cookies = document.cookie.split(";") | |
i = 0 | |
This file contains 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
#!/usr/bin/python | |
# -*- coding:utf-8 -*- | |
""" | |
Time Range Object Class | |
""" | |
from datetime import datetime | |
from time import mktime |
This file contains 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 make_mac_addr(): | |
def random_hexer_gen(): | |
""" random hex num """ | |
while True: | |
yield "{:02x}".format(randint(0x00, 0xFF)).upper() | |
g = random_hexer_gen() | |
return ":".join([g.next() for i in range(0, 6)]) |
This file contains 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
""" | |
are Test | |
""" | |
import requests | |
ARE_URI = "https://xxx/sample.do" | |
def main(): | |
headers = { |
This file contains 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
* = $6000 | |
LDA #0 | |
LDX #0 | |
zeropage_reset: | |
STA *0,X | |
INX | |
CPX #$ff | |
BEQ main: | |
JMP zeropage_reset: |
This file contains 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
# -*- coding:utf-8 -*- | |
""" | |
6502 cpu driver for python | |
""" | |
from Adafruit.I2C.Adafruit_I2C import Adafruit_I2C | |
from Adafruit.MCP230xx.Adafruit_MCP230xx import Adafruit_MCP230XX as MCP230XX | |
from logging import (getLogger, StreamHandler, DEBUG) | |
import time | |
import os |
This file contains 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
#!/usr/bin/env python | |
import RPi.GPIO as GPIO | |
import time | |
import random | |
IO_PIN = 15 | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(IO_PIN, GPIO.OUT) | |
try: |
OlderNewer