Skip to content

Instantly share code, notes, and snippets.

View GhalyDoaa's full-sized avatar
🎯
Focusing

Doaa Yasser GhalyDoaa

🎯
Focusing
  • Alexandria,Egypt
View GitHub Profile
@GhalyDoaa
GhalyDoaa / app.py
Created May 1, 2020 18:23 — forked from anonymous/app.py
Drinks Sqla
from flask_sqlalchemy import SQLAlchemy
from flask import Flask
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///drinks.db'
db = SQLAlchemy(app)
class DrinkIngredient(db.Model):
id = db.Column(db.Integer, primary_key=True)

Exercises for Bash Beginner's Guide

Chapter 1

1. Where is the bash program located on your system?

A: In /bin/bash

2. Use the --version command to find out which version you are running.

@GhalyDoaa
GhalyDoaa / SimpleDemoGA.java
Last active December 25, 2018 08:53 — forked from Vini2/SimpleDemoGA.java
A simple implementation of a genetic algorithm
package simpledemoga;
import java.util.Random;
public class SimpleDemoGA {
Population population = new Population();
Individual fittest;