Fortran function example

This is an example in Fortran how to make a function:

Result:

C# input output example

This is a little Program written in C sharp with Mono, It reads a number from the Terminal multiplies with itself and then print back:

To compile run this:

And then start with Mono :

our result looks like this:

The same Programm in Java is here : Java input output example

Fortran input output example

This is a little Fortran example hot to read, calculate and write in terminal:

our output:

Java try/catch

This is a little example about try and catch in Java:

Output looks like:

Java calculate the sum of the given numbers

This program calculates the sum from 10 numbers, you could hit “stop” to break and calculate less than 10 numbers:

Output looks like this:

perl shuffle String and Array

I wrote a little script in Perl to shuffle Arrays or strings:

This are my examples:

and we got his as result:

Java input output example

This is a little example in Java how to print an info text and then read a number from the terminal, calculate the square and then print the result:

To compile your test.java file run this in your terminal:

now we have the file test, to execute run this:

This is the output:

The same Program in C# is here : C# input output example

Backtrack How to

This is an collection of problems and bugs I had with Backtrack 5 R2 (Linux based Distribution).

To download Backtrack look at http://www.backtrack-linux.org/downloads/

 

Ubuntu software centre and update manager

For more Software, I installed the ubuntu software centre with this command:

then run a update:

now you could choose your software sources at:

System > Administration > Software Sources

If you want the Update manager, run this:

Or you could add the ubuntu repository to your system, just open the “/etc/apt/sources.list” file and generate a list from http://repogen.simplylinux.ch/generate.php, now you could add what you want.

 

NVIDIA or ATI/AMD driver

NVIDIA: http://www.nvidia.de/Download/indexsg.aspx?lang=de

just run it from your download folder.

ATI/AMD: http://support.amd.com/us/gpudownload/Pages/index.aspx 

Code:

After a reboot you could check your driver status with:

 

Network

If you need more features at your network just install what you need:

network-manager-openvpn – network management framework (OpenVPN plugin core)
network-manager-openvpn-gnome – Network Management framework (OpenVPN plugin GNOME GUI)
network-manager-pptp – network management framework (PPTP plugin)
network-manager-pptp-gnome – network management framework (PPTP plugin)
network-manager-vpnc – network management framework (VPNC plugin core)
network-manager-vpnc-gnome – network management framework (VPNC plugin GNOME GUI)
network-manager – network management framework daemon
network-manager-dev – network management framework (development files)
network-manager-gnome – network management framework (GNOME frontend)

 

Add the Network icon to the panel:

 

network is blocked

To solved this run this:

 

Disable bell in terminal

open the file “/etc/inputrc” and add this:

 

Mint backup

run this:

 

BUG : wait for sound system to respond

System > Preferences > Startup Applications add this:

 

BUG : Couldn’t execute command: xscreensaver-command -lock

run this command:

System > Preferences > Keyboard Shortcuts
Lock Screen disable.
Add new “Ctrl+Alt+L” with “xlock” ,apply done!

 

BUG : Chrome wont start as root

Menue>Internet>Chrome>Properties>Comand and add this:

 

BUG : run a *.deb

 

BUG : E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)

Solution A:

open “/etc/apt/apt.conf.d/70debconf” and add this:

then run this:

Solution B:

open “/etc/apt/apt.conf.d/90user” and add this:

 

BUG : GRUB2 error: out of disk

 

BUG : VLC is not supposed to be run as root. Sorry.

In line 7F8, replace “geteuid” with “getppid”.

Calculator in C++

This is my calculator in C++ with in-line assembler:

Compile the code:

output:

new Hompage design

I made a new design for my scheinast.software domain, it looks like this:

scheinast-software

I tryed to make the Page as light weight as possible and use less code as possible

 

Html code:

CSS code:

Background image:

scheinast software background