Skip to content

Instantly share code, notes, and snippets.

View abdo1819's full-sized avatar

abdo ragab hashem abdo1819

  • Egypt Fayoum
View GitHub Profile
@abdo1819
abdo1819 / dijsktra.py
Last active December 7, 2022 18:04
project P1
'''
fayoum university
faculty of engineering
Networks and communication course
project 1
implement dijsktra's algorithm
'''

recomended reading book

  • Effective modern C++ : 42 specific ways to improve your use of C++11 and C++14

explore src

files

  • test/primer/starter_trie_test.cpp
  • src/include/primer/p0_trie.h

build

# intro
this is a storage for things i wanna learn and great resource for them
# ROS
* https://github.com/qboticslabs/mastering_ros

python envirmoents

data base connection

cx_Oracle

good

  • official support from oracle
  • simple to use and excute queris
  • documintation very good with and lots of examples
  • sting manipulation is easier in python
import requests
def get_speed(long,lat):
resp = requests.get('http://evilcar.herokuapp.com/speed',{'lat':lat,'long':long})
# 'endingLat', 'endingLong', 'speed'
if resp.status_code == 200:
dict = resp.json()
endingLat = dict['endingLat']
@abdo1819
abdo1819 / requester.py
Last active January 31, 2020 19:33 — forked from ak-seyam/requester.py
from socket import gethostbyname
def get_speed(lat,long,host='evilcar.herokuapp.com'):
path = '/speed?'+'lat='+str(lat)+'&long='+str(long)
return write_request("",host,path=path)
# /speed?lat=0&long=0
@abdo1819
abdo1819 / modelsim_installation.md
Last active April 29, 2019 17:40 — forked from robodhruv/modelsim_installation.md
Sorting ModelSim installation issues

ModelSim Installation issues

Ubuntu 14.xx and above

Ignore this if you have not encountered any issue with the installation and running of ModelSim and Quartus on your system. You are very lucky. (Just Kidding! You have surely had this issue, only sorted.)

Hence assuming you have been following the procedure given in this guide. Most certainly, Quartus will install jsut fine, and so will ModelSim. The issue is in launching due to inappropriate linking etc.

Stage 1

This is the simplest error you would encounter. Navigate to the modelsim_ase folder and run: