DIJKSTRA ALGORITHM IN JAVA
5
Simple C++ program that creates a directory with the asked username, and places 2 files within the directory that contain the asked for username and the asked for password.
This is an edit of another snippet I made, but I have fixed the creation of the user's folder so it is named after the user.
FlyingIsFun1217
This is an edit of another snippet I made, but I have fixed the creation of the user's folder so it is named after the user.
FlyingIsFun1217
4
I was looking for an easy way to populate a combo box with strings taken from an enumeration, and also to be able to pull out Enum objects from the combo box. After some searching, I found EnumComboBoxModel on the JDesktop website, but was not able to find any code.
Instead I came up with an easier solution that did not require me to define a new Model class, but instead uses javax.swing.DefaultComboBoxModel.
Sorry for the disorganization of the code, but hopefully you get the idea.
Instead I came up with an easier solution that did not require me to define a new Model class, but instead uses javax.swing.DefaultComboBoxModel.
Sorry for the disorganization of the code, but hopefully you get the idea.
12
Using the Termios library, we can have the user enter a character on the keyboard, without it being displayed on the screen.
5
Two very usefull functions to have around.
(note: dollarfy requires commify to work)
(note: dollarfy requires commify to work)
5
This function returns a Date object being set at 12 A.M. It is useful for comparing dates where you don't know if they'll come set at the beginning of the day or not.
-8
Classe que pren una frase i una clau i obté com a sortida el missatge encriptat usant l'algorisme de Vigenère.
-9
Classe que donada una frase té com a sortida la mateixa frase però havent-li aplicat la xifra del cèsar (per defecte amb valor 3).
-7
It’s difficult to find OpenSSL for windows, especially for 64 bit Windows.
after doing some googling, I decideded to providing a simple installation of OpenSSL for windows by myself. It’s easy to use . No need to compile anything....
read more....
after doing some googling, I decideded to providing a simple installation of OpenSSL for windows by myself. It’s easy to use . No need to compile anything....
read more....
9
Convert Unicode To UTF8
9
I was coding a project that used arrays when the lack of a standard foreach in C/C++ got to me. So, I coded this little function to help me. It applies a function that returns int to each element of the array.









