Skip to content

Instantly share code, notes, and snippets.

View NAVERON's full-sized avatar
💕
ERON & MITOUR

ERON NAVERON

💕
ERON & MITOUR
View GitHub Profile
@NAVERON
NAVERON / main.py
Created January 17, 2018 13:46 — forked from fogleman/main.py
Collision Avoidance
from collections import deque
from math import sin, cos, pi, atan2, hypot
import random
import time
import wx
SIZE = 600
COUNT = 64
SPEED = 100
FOLLOWERS = 4
@NAVERON
NAVERON / JavaFXTrayIconSample.java
Created July 17, 2018 10:20 — forked from jewelsea/JavaFXTrayIconSample.java
Demonstrate using the System Tray (AWT) to control a JavaFX application.
import javafx.application.*;
import javafx.geometry.Pos;
import javafx.scene.*;
import javafx.scene.control.Label;
import javafx.scene.layout.*;
import javafx.scene.paint.Color;
import javafx.stage.*;
import javax.imageio.ImageIO;
import java.io.IOException;
@NAVERON
NAVERON / README.md
Created July 28, 2021 02:24 — forked from nichtich/README.md
How to automatically deploy from GitHub

Deploy your site with git

This gist assumes:

  • you have an online remote repository (github / bitbucket etc.)
  • you have a local git repo
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by Apache
  • the Apache user is named www-data (may be apache on other systems)