Code and unicorns
Code and unicorns
Home
Posts
Projects
Writing
Contact
About me
Light
Dark
Automatic
The Code
How to start Go like a pro
Presentation of my personal setup and suggestion for preparing a nice Go environment and some other resources in which you can feel comfortable to start bashing out the code.
Matjaz Trcek
Last updated on Jan 9, 2022
2 min read
How to
,
The Code
Simple broad web crawler with Java
The following article is a a very simple presentation with examples and explanation regarding the web crawler I made in Java. The idea behind it was to make portable (Java+Sqllite – No install needed for DB) and simple (The program was not designed to be scalable, be multithreaded, store a lot of data about the site or make a clever ranking, but it was rather aimed as a very simple working indexed & webcrawler).
Matjaz Trcek
Last updated on Jan 9, 2022
4 min read
How to
,
The Code
Format € money snippet
The following function transforms the inputed numeric value for example var sum = 50.3 sum.formatMoney(2,’,’ , ‘.’) + “€” and the output of this function is then 50,30€. As you notice it is quite simple to change it in $ or anything you desire.
Matjaz Trcek
Last updated on Jan 9, 2022
1 min read
The Code
Correct width in all browsers (JS snippet)
This is a short JS snippet which is quite hard to find but it works like a charm. Basically with help of this JS snippet you get your width of the page correctly
Matjaz Trcek
Last updated on Jan 9, 2022
2 min read
The Code
3 Data validation methods in javascript
Function is isValideDate can be used for example on a string data.isValideDate() to confirm that date is in correct format like these 2 for example: 04-11-2012 4-11-12 The isNumeric function is used same way with data.
Matjaz Trcek
Last updated on Jan 9, 2022
1 min read
The Code
POS CP852 printers
For programmers in web development and problems with POS CP852 encoding. Have you ever worked on a project with ancient POS receipt printers that use CP852 encoding, which have no suitable drivers and probably several other things that make finding a solution hard for you?
Matjaz Trcek
Last updated on Jan 9, 2022
4 min read
The Code
Cite
×