A very useful .vimrc file to make it much more usable.
Some very useful VIM configuration files to help set up a Linux installation.
Some very useful VIM configuration files to help set up a Linux installation.
This is a very old Linux file I found on an old HDD, this is a Linux virus in Assembler source code. This is compiled with nasm into an object file and then with GCC into an executable. I would not want to actually run this, but it is still very interesting code. virus.asm1 2 … Read more
This is my very old .fvwm2rc I used to use. This should be very useful for anyone who is interested in using this very old desktop environment. ~/.fvwm2rc1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 … Read more
This is the execution flow for the Wannacry malware. This ransomware can encrypt all of your files and then demand payment in bitcoins to decrypt the files. The virus was recently remade into a 2.0 with no killswitch. But the older version is this one that had a killswitch that contacted a website that did … Read more
To reboot your Linux machine, use the sudo reboot command. Another way is to type sudo shutdown -r now. This command will also shut down your machine. ┌─[jason@darkstar]─[~] └──╼ $sudo init 0┌─[jason@darkstar]─[~] └──╼ $sudo init 0 Use this command to reboot your computer. ┌─[jason@darkstar]─[~] └──╼ $sudo init 6┌─[jason@darkstar]─[~] └──╼ $sudo init 6 To lookup the … Read more
This is a working PPTP configuration I used to connect two Mikrotik routers together using a PPTP configuration on a local LAN. # jan/01/2002 01:56:00 by RouterOS 6.2 # software id = 8HHI-TYLD # /interface bridge add admin-mac=D4:CA:6D:31:02:53 auto-mac=no l2mtu=1598 name=bridge-local \ protocol-mode=rstp /interface wireless set 0 band=2ghz-b/g/n channel-width=20/40mhz-ht-above disabled=no distance=\ indoors l2mtu=2290 mode=ap-bridge ssid=MikroTik-310257 … Read more
This code prints out a tick sign using asterisks. I tested this code on Fedora 19 and gcc 4.8 and it compiles without any problems. #include <iostream> #include <iomanip> using std::cout; int main() { cout<<std::setw(8)<<"*"<<"n"; cout<<std::setw(7)<<"*"<<"n"; cout<<std::setw(6)<<"*"<<"n"; cout<<"* *"<<"n"<<"* *"<<"n"<<"*"; cout<< "n"; return 0; }#include <iostream> #include <iomanip> using std::cout; … Read more