I hereby claim:
- I am yasith on github.
- I am yasith (https://keybase.io/yasith) on keybase.
- I have a public key whose fingerprint is 8664 50EE 0748 9FA4 D4BD 1587 D445 ADFD 58D5 5DBC
To claim this, I am signing this object:
# This is shorthened version of blog post | |
# http://ksopyla.com/2017/02/tensorflow-gpu-virtualenv-python3/ | |
# update packages | |
sudo apt-get update | |
sudo apt-get upgrade | |
#Add the ppa repo for NVIDIA graphics driver | |
sudo add-apt-repository ppa:graphics-drivers/ppa | |
sudo apt-get update |
I hereby claim:
To claim this, I am signing this object:
width, height = raw_input().split() | |
width, height = int(width), int(height) | |
maze = [] | |
for i in xrange(height): | |
maze.append(list(raw_input())) | |
startx, starty, color = raw_input().split() | |
startx, starty = int(startx), int(starty) |
from raspberrypions import peon_task | |
def countAs(sequence): | |
num = 0 | |
for char in sequence: | |
if char is 'A': | |
num += 1 | |
return num |
import requests | |
import re | |
from bs4 import BeautifulSoup | |
page = requests.get(self.getUrl()).text | |
soup = BeautifulSoup(page) | |
regex = re.compile('nextPassingTimes.*') | |
links = soup.findAll('a', {'href': regex}) | |
class EmptyQueueException(Exception): | |
pass | |
class LinkedListQueueNode: | |
def __init__(self, data): | |
self._next = None | |
self._data = data | |
def set_next(self, n): | |
self._next = n |
if(mEarnedPointAccumulator > blastPoint) | |
{ | |
// Create the particle | |
cocos2d::CCParticleSystemQuad *pEmitter = CCParticleSystemQuad::particleWithFile("ScoreNumber.plist"); | |
cocos2d::CCPoint particlePosition = getScoreLabel()->getPosition(); | |
float width = (float)getScoreLabel()->getContentSizeInPixels().width * 0.575f; | |
// Starting position of the numbers (first digit) |
/** | |
* Called when the user taps the Update Location Button | |
*/ | |
public void updateLocation(View view) { | |
Log.d(TAG, "Updating Location"); | |
TextView textView = (TextView) findViewById(R.id.location_label); | |
LocationManager locationManager = (LocationManager) | |
this.getSystemService(Context.LOCATION_SERVICE); |
#include <vector> | |
#include <list> | |
#include <map> | |
#include <set> | |
#include <queue> | |
#include <deque> | |
#include <stack> | |
#include <bitset> | |
#include <algorithm> | |
#include <functional> |