Welcome to Han-Sulu.com

Hi, welcome to Han-Sulu.com. The web site has been completely renovated. When this site was first launched, I've never found a focus on what I should be writing. As a result, it was soon abandoned. The abandonment was also partially caused by the fact that I was re-designing this site. To re-design this web site from ground up again, I was putting 2-3 hours a day for almost another 18 months. I hardly had the time to think about what I want to write for my blog. Eventually, I stopped updating it. Now, the new site is up, I am determined to make this blog site better than before.

What is/would be available for this blog? At this point, there is not much. The previous version of this blog is a disappointment. There is not much of a focus. Two years ago, I thought without a focus was probably the best idea I had for this blog. Now I realize it isn't. This time, my focus will be something which I can do best. The focus of this site will be technology, software engineering, and solving problem with practical solutions. To prevent losing my focus, I will use a new approach. I will be documenting the projects I am doing. When doing projects, problems will naturally occur. Solving the problems, and document the solutions, this will be the focus of this blog. I have diverse interests, it would be interesting to see what will be covered here.

Aside from the "boring" stuff, I will spent some of the blog posts to show the fun stuff I do. These posts will also be related to problem solving. Other than problem solving, there will be reviews of video games, photos I have taken (photography as amusement), posts on photography (on concepts and techniques I have learned). I know, I am probably going off track here. This time, I will remain focused. This blog site is about solving problems. Anything related to a technical problem, there is a solution, and I like to document it here. So if you the readers saw a post that is somewhat not related to IT technology, you might think I am off the track a bit, I won't go far. If I publish a post here, it will be somewhat related to problem solving, and it will be interesting, hence worthy to be shared here.

If you like to know more about me, please go here. You can find all the information regarding this site. If you need to contact me directly, you can either post comments on the blog posts or articles. Or you can go to this page, and send a private message to me. I like to get feedback on what posts are good, and what not; or ideas and request of future posts. If you like, you can also subscribe to the site mailing list to get regular updates. Thank you for visiting.

All My Recent Updates

I post updates for this site regularly. Here are some of the most recent ones I have posted...

2022-01-25

I am going to be brief about recent changes. I still playing games 3 nights a week. And still working on uploading the game play footage. For the past two weeks or so, I have been working on the web site. And a lot of progress has been made. I got the popup for selecting resources and to add to the text data is working now. I even added the search function to the popup. Yesterday I started working on adding another page for the picture/photo resources list, instead of copy and paste the same code, I found a way to do it so that code can be re-used. it is going to be awesome.

Since I got a new screw driver, the trusty "Amartisan Ratchet Screwdriver Bit Set (18 in 1)", I have been trying to find something to do with it. I tighten the screws of all the handles for the drawers, the screws of the beds, and opened the back cover of my old Dell laptop. That is where I got an idea. I can remove my existing hard drive for this laptop and put a new one in it, then install Linux on it. The hard drive is about $39 to $50 on Amazon. Since it is non-essential, I have not bought. Eventually I will do it. Another idea I had was replacing all the planks of the old bench in my back yard. These wood planks are black, rotten and covered with moss. They are 0.75 in X 2.50 in X 4 ft, total 7 pieces. Total it is about $60 for the planks, the screws are all working and can be removed and reinstalled. I have to do some physical work for it. Again, this is non-essential so I have not placed order.

These are all the latest updates. It is not very exciting but life is like this.


Web Site Project Update, Hardware Update and Home Improvements

Han Sulu
Recent Updates
Hardware, Home Improvement, PC Upgrade, Programming, Web Site project, Wood Work
2022-01-14

Linux Mint 20.3 Una was finally released. I got the upgrade notification from System Report on 1/6/2022. I didn't immediately do the upgrade because I didn't want to see some new bugs hinder my work efficiency. On 1/7/2022, I had some free time, so I decided to do the upgrade. Aside from the slowness of downloading the files, the upgrade was uneventful and everything looks like exactly as it is after the upgrade, including all the customization I have done. That was a pleasant surprise. The Linux Mint team has done a great job. Thank you, Linux Mint development team!

There is not much going on with new tutorials. I have been busy working with my own project. I was spending time with codeproject tutorials in December. Right now I am trying to make up my time right now. And I don't have any new ideas right now for CodeProject. I will spend more time to get my project working. As for video editing and uploading. It is going well. While I work on code, I will run the video conversion in the background. I could upload 12 to 15 videos a week. The process is streamlined. First comes conversion, then editing and conversion again. Finally uploading. I don't want to monetize the videos, they are saved as memories.

I bought a new hard drive to save the converted videos. And a new screw driver. I had a 4 headed screw driver, and lots and lots of exchangeable bits. So I decided to utilize these by getting a better screw driver that can mount these bits. The one thing I needed is a magnetized bit holder. And I actually found one that is about $11. It was very awesome. One last thing, my other furnace is broken. This January I will spend a lot of money. And the stock market is crashing recently. It was very miserable time. I hope everything will be better soon. Yep, all the recent update posts are like summary.


Desktop Upgraded to Linux Mint 20.3 Una

Han Sulu
Linux OS Upgrade
hardware upgrades, Linux, Linux Mint, Linux Mint 20.3 Una, Open Source, OS Upgrade
2022-01-05

Not much going on recently. I feel like I was on vacation. This is why I have not posted anything here. For the two weeks from Christmas and New Year, I played 4 days of games every week. That was fun. A lot of videos were capture and I am still processing them. The whole processing is tedious, but not very bored.

For the new year, I think I will take Angular as a priority and learn as much as I can. I will be ready in case I have to go for interviews. It is not something I enjoy, but have to be ready. Since I have mastered AngularJS, I doubt the whole experience would be much trouble to me.

A big headache for me is that for the new years, what do I have to focus on for the CodeProject tutorials. For the first one and two, I will be just free styling a little before I can get a bearing. I just momentarily lost my focus a little. Maybe a few ones on the Angular?

After a few updates with Linux Kernel, I noticed something strange with the Sound Volume control. It was OK with the PC speakers. But, when I plugged in my Logitec microphone, the volume control was never working correctly. And I finally figured out. I had to open the sound mixer and play with the microphone volume in the advanced settings section a few times and then the sound settings will be all right with the Logitec microphone. Well, as long as there is a way to get around these annoying issues. They are just annoyance, nothing more.

The issue with Linux OS not waking up from sleep. The issue is still exists, The system has been performing superbly, and can go on for weeks, before this issue shows up. I was hoping future updates can fix it for sure. There has not been any updates during the holiday season. Everyone is on vacation I guess. Then after Jan 3rd, a bunch of updates came. Let's hope this issue will not occur for at least a while. Other than this, everything else has been great.


All Quiet During the Holiday Season

Han Sulu
Recent Updates
Fun Stuff, Gaming, Linux, Relaxing, Video Editing
2021-12-21

Finally I have completed the last tutorial this year for CodeProject. It was long and painful. But all the efforts are worthy. It turned out to be great. The tutorial is OK and the sample application is fantastic. I can use it as a skeleton for another project. Not sure how secure the whole thing is, but it work as as I imagined which is awesome.

I recently had some minor oral surgery. It was very painful. It is still painful. All I can eat is soft or liquid based food. I hope it was worthy of the trouble. Second check up is in a week. I also had the booster shot. The drug store guy said the dose is half of the original. But it still hurt. It took me more than a day to recover from the side effect. Now the whole family is vaccinated for both Flu and COVID.

Video gaming is great, I was replaying FFXV on XBox One. I had it for a long time, started at level 11 and never completed. Now I am at level 30. Last night, I even killed a Cactuar. And I doubled the experience at the hotel, bumped the level from 28 all the way to 30. Video capturing, processing and upload online is working as expected. The laptop, aside from the problem of draining battery really quick when doing video editing, works as expected. I thought I would replace the OS with another one in a couple months. But it is being used by me for the whole year, I don't think I will replace it. Even though it has some issues with stability, it works great.


Last Tutorial for CodeProject Completed Today

Han Sulu
Recent Update
Code Project Tutorial, House Project Completed, Recent Update, Recovery, Sick
2021-12-02

It has been a while since the last update. There is not much going on. I have been playing FFXV on XBox One, and had made 15+ hours of recording. The capture device split the recordings by 4GB per file. And there were quite a few files. And last time I checked my sd disk, there were 88GB of files. I am busy processing them and upload them. My goal is to capture the entire game playing, of all the good and bad and upload all of them. It will be a daunting and enduring task. I believe persistence will prevail. Right now, I plan to complete the processing of all existing files. then resume game play capture. I am also thinking of capturing the end of the game play for FFXV on PS4 and make a video for upload. For the holidays, I purchased three more games, now my library has expanded with eight more games.

While I am not playing games, I was working on the last tutorial. I was not familiar with jwt token, and how it was used. So the sample application took a lot of time. And the tutorial will not be as complete. There were some unforeseen technical issues. Resolving them would take a lot more code and explanation, which I think a second tutorial can expand on. In the middle of this year, I thought I would do a tutorial with OpenID. It didn't happen. This JWT token tutorial would be the alternative. The follow ups can expand one or two more tutorials. It would be good for next year.

Besides playing games, and doing tutorial, I have not make any progress with the rewrite of this blog site. Since the old site is working, there is no rush getting the new one to work. I will probably get back to working on this once the tutorial is done. My personal computer is working as expected. I have not restarted since last update. And since then I have done a lot of video processing, which are memory intensive. When I am not using it, I can just lock it, then put it hibernate/sleep mode. Then close the lid. When I need to use it, I can open the lip, and log back in and use it. It is fantastic. I couldn't be more happier with my Linux OS. Some time earlier this year, I had serious thought of replacing this OS with another OS. Now I don't see the need to do that.


Updates Since the Last Post

Han Sulu
Holiday Season
Linux OS, Recent Updates, Tutorial, Video Processing
2021-11-24

They finally fixed it. After at least a week of testing, I was very happy that the problem related to sleep mode or hibernation of my laptop seems fixed. I think what fixed it is Linux Kernel 5.13.0-21 I have recently installed, which might have a better firmware. For the past week or so (maybe longer), I was able to lock screen, then set laptop on Sleep, close the screen. Then a few hours later comes back, open the screen, and unlock the desktop. Even doing this for many times for the whole week, it was still able to awake and function normally. I have not seen slowing down, huge CPU usage spike, or signs of huge memory leaking. Although, lock it then put it to sleep is still too many steps, I am still very happy with it.

AverMedia's video capturing device is working perfectly. I was able to hook up to my Xbox One S and capture several hours of re-play of Final Fantasy XV. It splits the video files into several 3.7 GB chunks, now I have a lot of file to edit and post.

I have posted two more articles to this site. They are the earlier work of this year. I am working on one more tutorial for this year - JWT token for authorization in Sprint Boot Web application. I met with some minor obstacles with initial testing, and was somewhat inspired by the solutions. This will be a fun tutorial, for the end of the year.


They Finally Fixed it

Han Sulu
Linux Mint
Hibernation, Laptop, Linux, Linux Mint, Linux OS, Sleep Mode
2021-11-14

I finally completed FFXV. It has been a long time. I was addicted to Shadow of Mordor when I first bought FFXV for XBox One. At that time, I had a love-hate relationship with Shadow of Mordor. It was a pretty hard game for me. And the adrenaline rush is quite addicting. I eventually got good at it. But at that time, I figured if I can get another game that can kick my addiction from Shadow of Mordor. That was FFXV. I browsed shelf of GameStop trying to find something similar to Shadow of Mordor. FFXV was the one caught my eyes. I bought it for $10 and played 10 hours then stopped. Not until recent few months I picked it up again. I bought the PS4 version ($14.95) after I completed Dragon Quest XI and started playing it.

The game's story plot was incomplete and oversimplified. The game was over emphasize on side quests, hunting monsters and daemons, along with some other fun activities. Half of the game was left unfinished (the ride to the evil empire's capital, should have more locations to explore). The final two bosses were fairly easy to beat. Although I had to spend some hi-potions and elixirs. Overall, it was fun and addicting. This is the third FF game I have played and first to complete the story plot. I also played FFVII and got to the final boss then I gave up. The final fight seemed endless.

I was contemplating of buying the FFVII remake, and a new PS4 Pro for it. But I am undecided. I did sign up for the waiting queue on Play Station Store to get a PS5. I guess I will wait. Meanwhile I will put $200 per pay check to a saving account for that expense. Meanwhile, I started replay FFXV on my XBox One S and recording the game play, and will be post to youtube, just for fun.

I found a tutorial on how to use JWT token as the authentication cookie for the Spring Boot web application. I will be replicating this for my own use and do one last CodeProject tutorial. The way this works is to have the auth token as a bear token, then use the an http interceptor to get this token and verify user's access rights. This idea can expand with possibly multiple tutorials. I am very excited. This will be a great and fun tutorial to do.


FFXV Complete and New Tutorial is Getting Started

Han Sulu
CodeProject Tutorial
CodeProject Tutorial, FFXV, Game Playing, PS4, Tutorial
2021-10-30

I know it's been a while, without much update. Actually, there were a lot of things happened. I bought a video capture hardware so that I can record game playing. And it was great. The hardware has the ability to capture video without a laptop. And it was just awesome. One click and I can record video of any length then stop with the same click. And I also tested recording with laptop using the same hardware, with OBS studio, I was able to record the same. It was very flexible. I am glad I bought this even though it cost a bit more than other video capture devices. With that, I captured 10 or so videos, did the editing and uploaded to youtube. The editing took a little time. There were some problems with OpenShot Video Editor. I found a way aroun the problem and was able to edit all the videos. They were some fun side project. And it gave me ideas of what next blog post would be.

I got a hand saw, some planks, and started the small project fixing the unfinished closet in the basement. The plank was not wide enough. I cut enough pieces and covered the floor. They where exact fit. The problem I was not able to solve effectively is the unevenness of the floor, so it is still a bit uneven. I am getting a bit ambitious. I am thinking of covering wall with large fit wood planks as well. It is another fun project.

I finished another tutorial and uploaded to CodeProject. That was fun. And I did get distracted by FFXV. For the past three days, I played two dungeons. I got pretty un happy about these two. One is that I went through the whole place and couldn't find the exact destination. That one gave me about two new levels. The other one is much worse. For two hours, I was going through the maze trying to find a way into this locked room, and I had to fight very tough monsters. In the end I was not able to get in. It is a side quest which I don't have to finish. So I quit before it wasted all my Elixirs. I used about 50 of them. It was crazy. But the whole quest gave me 300,000 some experience points and five new levels. I was still angry. The whole dungeon crawling is a waste of time and resources. For now, I stopped playing games, until it is the weekend. For now, I will concentrate on work.


Playing Game, Recording Game Plays, and Some Other Side Work

Han Sulu
Recent Updates
Distracted, Doing Side Work, PS4 Gaming, Recent Updates, Video Editing
2021-10-14

It has been a while without updates. I was busy playing FFXV and doing a new tutorial for code project. The game is quite addictive. It was easy to play and easy to level up. So player can get a lot of endorphins, and not much of adrenaline. It is ideal to me. So I play like 3 nights a week. Hence, the no update for 8 or 9 days in a row.

I am happy to report that I have successfully installed MySQL (actually MariaDB) on my EndeavourOS. Again, the process is tedious. Installing the application took no time at all. But starting it up took a lot of time. The problem was that the default Db instance was not part of the application installation. I have to explicitly create the instance via command line. And figuring out what the command line for this took a long while. But once it is done, I was able to start the instance. I have not done the secure installation yet (for tighten the security for the database). But the hardest part is completed. In case any one wondering how the install works, here is the link.

In case you wonder what the new tutorial is. It would be a tutorial on two way communication between an AngularJS directive and its parent controller. This is something I have always wanted to document. It is valuable information to me and I can reference back whenever I needed. It will be ready soon.

One last update. I wanted a video capture box so I can record game playing. Finally got one today. I don't know how easy/hard this would be. It is $135 so it should be all right. Because of lack of hardware, I can't use the laptop to record. This piece of hardware should be able to self record. I will try it out when it arrives. I will give a status update when I get it to work. Stay tuned.


Working on a New Tutorial for Code Project

Han Sulu
Recent Updates
Distracted, EndeavourOS. MariaDB, Page Updates, Recent Updates, Tutorial Submission
2021-10-05

First thing first, I installed slide-able drape for the skylight window for the attic room. It was scary because it was big and looks fairly complicated. And it wasn't fit. I had to use a garden clipper to trim the frame a bit. Turned out, the installation was pretty quick. First I had to remove the old one, which is busted, dirty. And apparently pretty easy to do. Two screw on the side gotta get them out, then there are the 4 clippers on all sides. Screwed them out then the frame for the windows would be clean. Then I had to get the 4 sides of the new drape put together. And push the who frame up. And first screw the two on one side, then the next two on the other side, finally the two in the middle. And it is all done. The scroll of the drape is bit hard in the middle. But it is up there and looks good. I was happy it worked out.

The other thing I did, I thought it would be funny if I change the Linux boot menu to display "Gundam Linux", with an icon that looks like Gundam. Turned out, it was pretty easy to do. I was able to change the config file for the Grub menu using grub-customizer. Then I decided to see if I can change the icon as well. The thing is the OS is called Gundam Linux, But there is the icon of "LM" displaying next to it. It looked like a buzz kill. The first thing I tried was edit the config file to display the Gundam icon. I found out that the config changes would not be permanent. And every time I open the config file and the change would be reverted back. I tried to change the 30_os-prober script. It was fairly complex and not something I can mess with. I reverted the changes. And found a better idea. It would be permanent. I renamed the default icon to a different name. Then I took the Gundam icon and name it as the default icon file name. And it was permanent, always displays. Here is a screenshot I have taken with my cellphone:

Word of Caution: I am sure what I do is not legal (a copy right/trade mark infringement). It was a joke. So please do not name of your OS "Gundam Linux".


Have Been Busy with Some Minor Fun

Han Sulu
Recent Updates
Distracted, Doing Side Work, Grub Menu, Grub Menu Customization, Linux Customization, Recent Updates
2021-09-29

Recently I deleted my Manjaro Linux install and replace it with Endeavour OS, which is another Arch Linux fork. Afterwards, I proceeded installing Java 17 on it. At first, when I ran Java, it gave me error that the exec binary format was invalid. I checked and found out that Install the ARM version instead of the x64-x86 version. That was pretty funny. After correcting that mistake, I tried to set the system wide environment variable JAVA_HOME and PATH to the Java binary exec. I made the mistake of using SET to set the variables. When I rebooted the machine, I can't log in, the login process will cause desktop to crash and return back to the login screen.

So I learned how to boot to console, which happens after choosing the boot option on the Grub menu. Then click CTRL + ALT + F2 before the login screen comes up. Then I can login as root, and update the changes I made in /etc/profile. Then reboot again and I was able to login. Afterwards, I can run Java 17 at the command line. That was a lot of hassle.

After Java, I tried to install fcitx for Chinese input. I used pacman to install it. Then I tried to configure it and the configuration app was not there. I have to use pacman to install it which is:

pacman -S fcitx-configuration

After I checked the configuration and added the PinYin input to fcitx, I tried with CTRL + Space to switch between input languages and nothing showed up. After some more research, I found that there is a fcitx-diagnose application which spits out all the errors about the configuration. Turned out I need to add some more configuration to .xprofile for my user account. After I add those changes. Then I restart the desktop again, then the fcitx input window would appear. This is exactly what I have faced 12 years ago when I was working with older version Linux (don't remember which one, probably RedHat). But this exercise shows it is pretty hard to configure such a bare bone system for user for average user. For me, it is fun. The practical goal is that if this OS works OK with the laptop screen flip, then I will switch from Linux Mint to one of these Arch Linux flavors, and use it as my day to day work laptop.


Install Endeavour OS (for Fun)

Han Sulu
Tech Challenge
Arch Linux, Endeavour OS, Linux, Open Source, OS Installation, Xfce Desktop
2021-09-19

Just want to put out a quick update. While I was doing my Desktop customization, I made a mistake and my shut down/log off options dialog disappeared. Instead, the power off button logs me out without allowing me to select an option on what to do. There is a way to re-enable this. I will write a quick tutorial on it. There is another thing I want to throw in for the same quick tutorial, at this point I can't remember what it is. It is probably how to change your name and icon for your profile. I just remembered (edited on 09/21/2021), I will also include the tip on how to remove the annoying popup asking for the password to the system KeyRing that Chrome always asks. And I will also explain why this happens and why it is OK to disable it.

For my personal project, I have created the site links list for the admin page. And again, the paged items directive is working as expected. Although there is a duplicated code for the page flipping functionality. I need to thing of a way to resolve it so that I can eliminate the code duplication for this once for all. But so far, the effect is fantastic. It is combines re-usability and flexibility into one, which is great.

For fun time, I was play FFXV. The reason I put it off initially is that it is very time consuming, and a lot of the side quests were silly. But now, it feels like something rather enjoyable, and it does not spike up the excitement making me unable to sleep at night. And the achievement of completing the quests feels very good. And the leveling system feels all right, it is rather quick. I am now at Level 42. It is quite amazing how fast a few finished quests can quickly level you up. Making gil (money) is very quick and convenient as well. Hopefully, this will last.


Preparing Another Tutorial on Linux Mint

Han Sulu
Linux Desktop Customization
Desktop Customization, Desktop Environment, Linux, Linux Tips, Tech Learning, Tech Tutorial

Click here for more site updates.


Recent Photos and Pictures

I love taking photos, and creating drawings. In this section, you will find all the photos and pictures I have created recently. Please enjoy.

Click here for more photos and pictures.


All My Recently Published Articles

Here are the articles which I have recently made public. Please enjoy.

Tutorial on AngularJS Secured Session Timeout Management

Abstract

In this tutorial, I will discuss how to handle secured session timeout in an AngularJS application.

Han Sulu     11/18/2021

Communicating between AngularJS Directive and Parent Controller

Abstract

This tutorial will discuss three different ways of communication between parent controller and AngularJS directive. It will discuss the three strategies for communication between parent controller to child directive controllers.

Han Sulu     11/18/2021

Session Management using MySQL and Spring Boot

Abstract

This tutorial is originally published on April 29th 2021. This is another one of those things I didn't quite get it, and I wanted to learn. The online sources are not great, so I had to figure out what better alternative I have. And I was able to figure out. This tutorial will offer readers an alternative way of designing secure applications with DB as session storage.

Han Sulu     06/23/2021

Design UTF-8 Encoded Web Application With Spring Boot, AngularJS and MySQL

Abstract

This tutorial was published this year on April 14th. It is about how to design the MySQL database to hold UTF-8 encoded data, and how to implement the back end REST API and MVC application code to handle UTF-8 encoded string. It also discuss how this can be tested. This tutorial finish my wish of learning how to design a multi-language supported web application.

Han Sulu     06/23/2021

Create AngularJS Application with ES6 JavaScript and Modules

Abstract

This tutorial will introduce to readers the way of creating a AngularJS application using ES6 JavaScript and Modules.

Han Sulu     04/13/2021

Using ThymeLeaf Page Template Engine with Spring Security

Abstract

A tutorial on how to setup an application Spring Security and Spring MVC, and use ThymeLeaf for secured page rendering.

Han Sulu     02/27/2021

Reusable AngularJS Component: Warning Stripe

Abstract

In this article, I will discuss how to implement a warning bar (div with class alert alert-danger) as a reusable directive. It also show how the directive can have two-way data exchange between the directive and the host component. Hope you will enjoy it.

Han Sulu     08/14/2020

How to Load and Display Hierarchical Structured Comments

Abstract

This tutorial will show you how to load ad display hierarchical structured comments using RESTFul service and Javascript.

Han Sulu     07/21/2020

Click here for more articles.


All My Recent Blog Posts

Here are the blog posts which I have posted recently. Please enjoy.

How to Video Capture Game Playing

Abstract

In this tutorial, I will explain in details on how I have setup my video capturing when I play my PS4 console, as well as the work flow which I used to process the captured video for YouTube upload, so that the videos on YouTube is 1080HD. This is a great tutorial for beginners, don't miss it.

Han Sulu     11/09/2021

Linux Desktop: Session Logout Options Dialog and Disabling Key Ring Password Input Prompt for Chrome

Abstract

In this blog post, I like to discuss the resolutions for two Linux desktop related issues, one for the constant popup for unlocking system key ring when launching Chrome browser. The other is the disappearance of the session log out options.

Han Sulu     09/25/2021

How to Customize Linux Mint 20.2 Uma XFCE Desktop for a Modern Look

Abstract

This is a blog post on how to customize XFCE desktop for Linux Mint 20.2 Uma. I will describe how to customize for transparent panel, customized icon for the start menu, install and configure DockBarX, install and utilize customized icon set and application window themes.

Han Sulu     09/14/2021

Setup Dev Environment for QT5 Development

Abstract

In this quick tutorial, I will discuss the steps I took to set up my environment for application development using QT5 and Eclipse for C/C++. It will be different from other tutorials.

Han Sulu     08/13/2021

Enable CSRF Token in Spring Security for AngularJS Application Use

Abstract

This is a very simple tutorial on how to enable CSRF token as an added security measure for Spring Boot application integrating with AngularJS.

Han Sulu     07/15/2021

Quick Sketch of Hacking Spring Session

Abstract

In this short blog post, I will discuss how to hack the Spring Session code so that I can load the configuration values from the configuration file then pass it to the Session Repository creation. This should surpass the limitation of specify constants via annotation.

Han Sulu     07/09/2021

Broken MySQL Server and What to Do

Abstract

I accidentally broke the MySQL database server on my server box, via OS upgrade. This tutorial goes in details on how to trouble shoot the issue and how to resolve it. Hope this is useful for any reader who faces the same issue. Thanks for reading.

Han Sulu     06/24/2021

My Linux Mint Setup and Configuration

Abstract

Recently I switched my development PC to to Linux Mint from Windows 7. This post is to show you the reader how I made the switch, including the preparation work I have done, the buying laptop process, the process of installing the new OS, and the add-on software I have installed. I also described the simplicity of upgrade the OS to a new version. And the testing I have done to make sure everything works.

Han Sulu     01/24/2021

Click here for more blog posts.