Links

Search This Blog

June 28, 2022

JS shuffle 2

function shuffle2(a){
  var alen = a.length;
  var i = 0;
  var temp;
  while(alen > i){
     var c = Math.floor(Math.random()*alen);
     temp = a[c];
     a[c] = a[i];
     a[i] = temp;
     i++;
  }
 return a;
}

June 23, 2022

Morse Encoder - Decoder Translator v0.01



Translate

Notice: When doing conversion back it converts text to lower case. Uncoded morse characters are not coded in morse but rather left in its original state unless it has dots and/or dashes. If you want to decode Morse to text first click on Translate checkbox input Morse code then untick box.

-Work on space back to original June 27 2022
-Add custom morse codes

I'll fix these as soon as I find some time for it...

June 21, 2022

Short poem

I am the will of emperor.

I am the light of immortality.

I am carved in stone.

I am sky of blue.

June 03, 2022

Free Software

Audacity - Audio Editing
Hydrogen - Drum Machine
Wireshark - Packet Sniffing
FireFox - Web Browser
Python - Programming IDE
Zint - Barcode Software
GnuCash - Accounting software
Notepad++ - Code editor
HexChat - Internet Relay Chat software
FileZilla - FTP Client
VirtualBox - Virtual Machine
GIMP - Image processing
Inkscape - Vector image processing
...

virtually everything here listed is free

May 28, 2022

Number Cruncher v0.01

Chrset


Text






May 23, 2022

Emulated this from YouTube Video

Saw some video on YouTube before a year or two? ...and tried to emulate one task from it. It was some old anime. Called something like...Haruko?
Wrote this in Python first then C with help from YouTube, StackOverFlow and knowledge before.
It's a very simple task.
Print some text then print randomly from 1 to 10 same space characters. 1-10 space(s).
Used Linux for compiling C code.

I believe that gcc stands for GNU C Compiler.



If you want to compile C file on Linux and run it, these are commands (in terminal if you are in same directory where's file haruko.c):

"gcc haruko.c -o haruko" - will compile your text file with extension c into haruko binary file
"./haruko" - will run it

gcc haruko.c -o haruko
./haruko


Oh, BTW to close running program use CTRL + c

May 20, 2022

ASCII TO DEC ASCII

ASCII Text:




Dec ASCII:



Thanks to YouTube and Master Boot Record - https://www.youtube.com/watch?v=0GFE0P3PfUU