Skip to content

Instantly share code, notes, and snippets.

View hadywalied's full-sized avatar
🦇
The Bird of Hermes is my name, Eating my wings to make me tame

Hady Walied hadywalied

🦇
The Bird of Hermes is my name, Eating my wings to make me tame
View GitHub Profile
@hadywalied
hadywalied / clean-up-arch-linux.md
Created July 20, 2023 21:08 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
#Snake Tutorial Python
import math
import random
import pygame
import tkinter as tk
from tkinter import messagebox
class cube(object):
rows = 20
import pygame
import random
pygame.init()
w = 500
h = 500
screen_size = [w, h]
screen = pygame.display.set_mode(screen_size)
clock = pygame.time.Clock()
GREEN = (0, 255, 0)
@hadywalied
hadywalied / README-Template.md
Created June 24, 2018 20:09 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@hadywalied
hadywalied / nRF2401_Transmitter.c
Created April 26, 2018 10:32 — forked from klalle/nRF2401_Transmitter.c
This is a simple code that waits for the USART interrupt, that receives the payload from the USART and then calls the send-function to broadcast the data to listening nRFs.
/*
* RF_Tranceiver.c
*
* Created: 2012-08-10 15:24:35
* Author: Kalle
* Atmega88
*/
#include <avr/io.h>
#include <stdio.h>
@hadywalied
hadywalied / MainActivity.java
Created January 23, 2018 10:35 — forked from anonymous/MainActivity.java
Activity Lifecycle exercise
package com.example.android.lifecycle;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {