I hereby claim:
- I am ahmdrz on github.
- I am ahmdrz (https://keybase.io/ahmdrz) on keybase.
- I have a public key ASAH3-rAevNfyxYlhRVMs-val6CiQPFOQgDyVi5kwreljQo
To claim this, I am signing this object:
import rospy | |
import cv_bridge | |
from saam_object_detection.srv import WhatAmILookingAt | |
import json | |
import numpy as np | |
class PersonDetection: | |
def __init__(self, service_name='what_am_i_looking_at'): | |
rospy.wait_for_service(service_name) |
import rospy | |
import cv_bridge | |
import json | |
from saam_pose_estimation.srv import PoseEstimator | |
class PoseEstimation: | |
def __init__(self, service_name='saam_pose_estimation'): | |
rospy.wait_for_service(service_name) | |
self.service = rospy.ServiceProxy(service_name, PoseEstimator) |
import random | |
import copy | |
import matplotlib.pyplot as plt | |
class GeneticAlgorithm: | |
def __init__(self): | |
self.chromosome_length = 50 | |
self.population = [] |
query="nature" | |
if [ $# -eq 1 ]; then | |
query=$1 | |
fi | |
base_dir=$HOME/.local/unsplash/ | |
mkdir -p $base_dir |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"regexp" | |
) | |
func getTitle(url string) (string, error) { |
package main | |
import ( | |
"strconv" | |
) | |
func ValidateIranianCode(code string) bool { | |
ToInt := func(str string) int { | |
if icode, err := strconv.Atoi(str); err == nil { | |
return icode |
// test project main.go | |
package main | |
import ( | |
"crypto/sha1" | |
"fmt" | |
"time" | |
) | |
func main() { |
package sample | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"mime/multipart" | |
"net/http" | |
"os" | |
) |
function addCommaByID(id) { | |
var price; | |
price = ""; | |
var field = document.getElementById(id); | |
while (field.value.indexOf(',') != -1) { | |
field.value = field.value.replace(',', ''); | |
} | |
txt_field = field.value.length; |