I hereby claim:
- I am edran on github.
- I am edran (https://keybase.io/edran) on keybase.
- I have a public key ASCN-UQ2mipGKTRMjQHr878roH8thV3KolEqAmNDGpU3ZAo
To claim this, I am signing this object:
| [tool.poetry] | |
| name = "test" | |
| version = "0.1.0" | |
| description = "" | |
| authors = ["Nantas Nardelli <[email protected]>"] | |
| readme = "README.md" | |
| [tool.poetry.dependencies] | |
| python = "^3.9" |
I hereby claim:
To claim this, I am signing this object:
| # This script tries as best as possible to filter out bad replays | |
| # Pass it a subdir, and it will read all '.rep' files, and spit out a list | |
| # of the corrupt files in stdout | |
| from __future__ import print_function | |
| from pyreplib import replay # https://github.com/HearthSim/pyreplib/ | |
| from itertools import repeat | |
| from multiprocessing import Pool, Process, Pipe | |
| from multiprocessing.pool import ThreadPool | |
| import os | |
| import sys |
| # This script tries as best as possible to filter out bad replays | |
| # Pass it a subdir, and it will read all '.rep' files, and spit out a list | |
| # of the corrupt files in stdout | |
| from __future__ import print_function | |
| from pyreplib import replay | |
| from itertools import repeat | |
| from multiprocessing import Pool, Process, Pipe | |
| from multiprocessing.pool import ThreadPool | |
| from Queue import Queue | |
| import os |
| require 'socket' | |
| require 'struct' | |
| -- TODO: make class | |
| print "Initializing server..." | |
| server = socket.tcp() | |
| server:bind('*',12312) | |
| server:listen(32) | |
| client = server:accept() |
| 1 ls | |
| 2 su -c 'sed -i "s|#allow user nao to shutdown the robot|nao ALL=(ALL) ALL\n&|" /etc/sudoers' | |
| 3 curl -k -s https://chili-research.epfl.ch/ros4nao/bootstrap.sh | sh | |
| 4 sudo emerge log4cxx netifaces pyyaml poco | |
| 5 ping 8.8.8.8 | |
| 6 sudo emerge log4cxx netifaces pyyaml poco | |
| 7 sudo robotpkgin install nao-robot | |
| 8 roscore | |
| 9 source .bash_profile | |
| 10 roscore |
| #!/bin/bash | |
| # Note: the script will *purposely* then go to the | |
| # back up folder if run from the home directory. | |
| set -e # errors yeah | |
| BACKUP="$HOME/.home_backup" | |
| THIS_USER=`logname` | |
| DATA="/data/$THIS_USER" |
| import argparse | |
| def break_r(path, number): | |
| n = int(number) | |
| f = open(path, "r") | |
| ls = f.readlines() | |
| print(ls) | |
| s = [] |
| #!/usr/bin/env python | |
| class ExamBoard(object): | |
| def submit(self, work): | |
| work_is_passing_grade = len([work]) > 0 | |
| return work_is_passing_grade | |
| class Society(object): |