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
(venv)marjinal1st@thinkpad-edge:~/Python/python-sfml$ python setup.py install | |
running install | |
running build | |
running build_py | |
running build_ext | |
cythoning src/sfml/system.pyx to src/sfml/system.cpp | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... |
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
marjinal1st@thinkpad-edge:~/Python/python-sfml$ python setup.py install | |
running install | |
running build | |
running build_py | |
copying src/sfml/__init__.py -> build/lib.linux-x86_64-2.7/sfml | |
copying src/sfml/sf.py -> build/lib.linux-x86_64-2.7/sfml | |
running build_ext | |
cythoning src/sfml/system.pyx to src/sfml/system.cpp | |
building 'sfml.system' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iinclude -I/usr/include/python2.7 -c src/sfml/system.cpp -o build/temp.linux-x86_64-2.7/src/sfml/system.o -fpermissive |
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
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
import pygame | |
from pygame.locals import * | |
import sys | |
from sprite_anim import * | |
pygame.init() |
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
Domain Name: BMRF.US | |
Domain ID: D37352589-US | |
Sponsoring Registrar: ENOM, INC. | |
Sponsoring Registrar IANA ID: 48 | |
Registrar URL (registration services): whois.enom.com | |
Domain Status: clientTransferProhibited | |
Variant: BMRF.US | |
Registrant ID: 659C99C8A93B9E50 | |
Registrant Name: Josh Hubi | |
Registrant Organization: PixelBlast Media |
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
class CHIP8 | |
attr_accessor :memory, :gpio, :display_buffer, :stack, | |
:key_inputs, :fonts, :opcode, :index, :pc, | |
:delay_timer, :sound_timer, :should_draw, | |
:instructions, :vx, :vy | |
def initialize | |
@memory = [0] * 4096 # 4096 Baytlık belleğimiz | |
@gpio = [0] * 16 # 16 tane genel amaçlı register'ı tutan bir dizi | |
@display_buffer = [0] * 2048 # 64 * 32 = 2048 piksellik ekranımız |
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 cv2 | |
camera = cv2.VideoCapture(0) | |
camera.set(3, 1280) | |
camera.set(4, 720) | |
while True: | |
ret, image = camera.read() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import rospy | |
from geometry_msgs.msg import Twist | |
def main(): | |
rospy.init_node("move_test", anonymous=False) |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import rospy | |
import cv2 | |
from sensor_msgs.msg import Image | |
from cv_bridge import * | |
def callback(msg): |
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
<?xml version="1.0" ?> | |
<!-- =================================================================================== --> | |
<!-- | This document was autogenerated by xacro from robot1_base_02.xacro | --> | |
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | --> | |
<!-- =================================================================================== --> | |
<robot name="robot1_xacro" xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" xmlns:xacro="http://www.ros.org/wiki/xacro"> | |
<link name="base_footprint"> | |
<visual> | |
<geometry> | |
<box size="0.001 0.001 0.001"/> |
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
""" | |
This is a batched LSTM forward and backward pass | |
""" | |
import numpy as np | |
import code | |
class LSTM: | |
@staticmethod | |
def init(input_size, hidden_size, fancy_forget_bias_init = 3): |