After I have installed a mikrotik router at my home, and login to my router, the router log is messed up with failed login atempts from several ip address from the world. So, I have used the following script to ban the automated login attempts. ssh blocker / ip firewall filteradd chain=input protocol=tcp dst-port=22 src-address-list=black_list action=drop \comment=”drop ssh brute forcers”…
Leave a CommentMd. Khairul Hasan Posts
As the battery type is lead-acid battery, the technology is older and a lot of information are available in the internet about the battery. The battery charging curve is like as following: There are three stages for battery charging, the stages can be determined by measuring battery charging current and charging voltage. I will use a couple of MOSFET connected…
Leave a CommentI was sent to my home at 20th march, 2020 by my office due to the COVID-19 lock down. At my hometown, there were not all of the resources available like Dhaka city. Due to the fractional payment of the salaries and upcoming uncertainty, I was forced to do freelancing in the online freelancing platforms. There was too much load…
Leave a CommentI have updated the script a little more to remove the red text and show them a silver color that perceives like a disabled state. Also the job posts that have less than 5 bids are blinking. The tampermonkey script is like as fllowing:
Leave a CommentWe often want to download/preview to make it sure what we have uploaded. A small thumbnail preview sometimes not enough. So, here is a small javascript. That will open the image in new tab. Full and final code can be found in my github repository : https://github.com/khairulhasanmd/dropzone-test
1 CommentThe following image says it all : The images in the thumbnail are not in their perfect size. To solve this, we have to add some CSS. A css tag like following in the <head> section, after the dropzone.css will do the trick. After adding the css tag, it wll become like following:
Leave a CommentWe always want to see what we have done in the past. An user will want to see the uploaded files later. When we reload our dropzone upload page, We can’t see the files we have uploaded before. So this time I will show you ways to see the previous uploaded files. Extra jsvascript function to handle the dropzone initialization…
Leave a CommentHumans make mistakes, It’s their default behavior. It is possible that while uploading files people will upload unnecessary images and later they will want to delete those. In our previous version of dropzone test project, We only uploaded files. We were unable to delete those files. Lets implement this feature. So, an extra javascript added to the <script> tag to…
Leave a CommentDropzone.js is a JavaScript library which provides drag and drops file upload with preview. It works with or without jQuery within the project and also it doesn’t require any other libraries. It doesn’t upload the file to your server. For uploading files, you can use PHP. You not only upload the file by drag n’ drop you can also use…
Leave a CommentI am a part-time freelancer for a while now. In the meantime I have grown experience that the behavior/need/payment most of the clients from certain countries are not good. Of course there are exceptions, but we know that exceptions are not common examples. To keep a clear and analytical eye always in the job posting board is a very hard…
Leave a Comment