Skip to content

Instantly share code, notes, and snippets.

@Megaf
Megaf / gist:cabc683f815455f2f3e80d1ad79b6090
Created February 3, 2021 13:21
F-16 MP Crash FlightGear
This file has been truncated, but you can view the full file.
0.00 [WARN]:gui :0: Failed to load default (en) translations
0.00 [INFO]:gui :0: UI languages: ("en-IE", "en")
0.00 [INFO]:general /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/main.cxx:629: FlightGear: Version 2020.4.0
0.00 [INFO]:general /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/main.cxx:630: FlightGear: Build Type Dev
0.00 [INFO]:general /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/main.cxx:631: Built with GNU C++ version 8.3
0.00 [INFO]:general /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/main.cxx:633: Jenkins number/ID 0:none
0.00 [INFO]:general /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/options.cxx:2994: set from FG_ROOT env var: fg_root = Path "/home/reglnx/FlightGear-Next/data"
0.00 [INFO]:input /home/reglnx/FlightGear-Next_Source_Files/FlightGear/src/Main/globals.cxx:830: Reading user settings from Path "/home/reglnx/FlightGear-Next/fghome/autosave_2020_
<!-- Landing and Search Light fake cone - disable in rembrand -->
<animation>
<type>select</type>
<object-name>Cone-texture</object-name>
<condition>
<and>
<property>sim/multiplay/generic/int[0]</property>
<property>gear/gear[0]/position-norm</property>
<greater-than>
<property>sim/multiplay/generic/float[8]</property>

Part 1 [50 marks]

You are required to design and implement a database for the HR department of a company using either ​ CHEN or Crow’s​ ​ foot​ notation. To do this, use a visual database design or administration tool, such as ​ draw.io​ and ​ MySQL Workbench​.

The HR department needs to record information about its employees, job titles, and the departments that they work at. You are given the following requirements that need to be stored:

  • Employees​ should have a unique identifier, date of birth, name, gender, salary, title and hire date.
@Megaf
Megaf / fgfs_start.sh
Created February 25, 2019 08:38
My FlightGear launch command right now.
fgfs --visibility=10000 --prop:/sim/rendering/shaders/quality-level=0 --prop:/sim/multiplay/visibility-range-nm=300 --prop:/sim/rendering/texture-compression=off --log-level=alert --prop:/sim/rendering/multithreading-mode=CullThreadPerCameraDrawThreadPerContext --disable-hud-3d --disable-horizon-effect --prop:/sim/rendering/random-vegetation=false --disable-distance-attenuation --disable-real-weather-fetch --disable-random-objects --disable-random-vegetation --disable-random-buildings --disable-ai-models --disable-ai-traffic --disable-rembrandt --disable-specular-highlight --disable-clouds3d --fg-aircraft=/home/reggie/.fgfs/Aircraft --enable-terrasync --multiplay=in,24,,5000 --multiplay=out,24,mpserver87.flightgear.org,5000 --aircraft=m2000-5 --airport=KSUU --enable-fullscreen --prop:/sim/frame-rate-throttle-hz=60 --geometry=1366x768 --bpp=32 --timeofday=noon
@Megaf
Megaf / Wing Air fleet proposal.md
Last active October 16, 2018 09:20
Wing Air fleet proposal.md

Wing Air Fleet

Small Field

  1. DHC6

Short Haul

  1. Embraer E195

Medium Haul

MEGAF GETS FUN LICENSE
Version 0.05 June 2021
Copyright (c) 2021 Megaf <mmegaf@gmail.com>
Everyone and everything, as in ROBOTS, AI, ALIENS and ANY other THINKING BEINGS,
are allowed to SHARE, MODIFY, SELL, BURN, RUN, DELETE, POST, or do anything one
might want to do to this Software, Art Piece, Hardware Design or whatever this license
is attributed/attached to, as long as the following terms and requirements are met.
1. This license must be always distributed with whatever this license is licensing.
@Megaf
Megaf / gist:ac8f8de64da53784c101cce1eeffb203
Created June 22, 2017 14:19
Heavy Huge Route PHNL -> SBPA
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<version type="int">2</version>
<departure>
<airport type="string">PHNL</airport>
<runway type="string">04L</runway>
</departure>
<destination>
<airport type="string">SBPA</airport>
</destination>
@Megaf
Megaf / gist:98157d55502211cd4f75
Created November 1, 2015 22:26
Debian GNU/Linux Sid on Megaf's Asus EeePC 701 in 2015
# Debian GNU/Linux Sid on Megaf's Asus EeePC 701 in 2015
# Latest stock kernel, with PAE
# MATE 1.10.2
$ uname -a
Linux FreeSam 4.2.0-1-686-pae #1 SMP Debian 4.2.5-1 (2015-10-27) i686 GNU/Linux
$ free -m
total used free shared buff/cache available
Mem: 997 87 723 20 186 866
@Megaf
Megaf / gist:9907f2121e37e71e3eaa
Last active November 1, 2015 22:26
gNewSense Parkes on Megaf's Asus EeePC 701 in 2015
# gNewSense Parkes on an Asus EeePC 701 in 2015
# Using Linux Libre Kernel and some "updated" packages from Debian Squeeze LTS
# GNOME 2.30.2 from 2013
$ uname -a
Linux FreeSam 4.2.5-gnu.nonpae #1 SMP Tue Oct 27 23:33:58 UTC 2015 i686 GNU/Linux
$ free -m
total used free shared buffers cached
Mem: 992 278 714 0 18 172
@Megaf
Megaf / BrokenTextures
Created December 30, 2014 14:13
Textures to be fixed on Megaf Server and it's Mods.
3darmor
Could not open file of texture: character.png
Could not open file of texture: armor.png
Could not open file of texture: sword.png
Irrlicht log: Could not open file of texture: character.png
Irrlicht log: Could not open file of texture: armor.png
Irrlicht log: Could not open file of texture: sword.png
signs
14:12:27: ERROR[main]: generateImage(): Could not load image "bg_signs_lib.jpg" while building texture