Resize Image with CSS

When you want to make several images listed side-by-side horizontally and re-size those images according to devices accessing.

We develope PHP, html and CSS to customize wordpress based home page.

For CSS, “

.d1 {
display:flex;
width:100%;
}

.d1 img {
width: 33%;
align-self: flex-start;
display:flex;
text-align:center;
}

“d1” is class name at html.

At html, “

<p class=”d1″>
<img src=”image1.jpg”>
<img src=” image2.jpg ” >
<img src=” image3.jpg “>
</p>

“align-self: flex-start;” in CSS will set these images nicely listed at safari browser of iphone. Otherewise, ratio of images was not controlled right.

Home Page attacked

Recently, we are battling with various types of attacks to our website. We will report and leave a log to those who might have similar experiences in the future or at present.

First, a symptom of the attack was overwhelming access flowing to our website. The keywords were various and no related to our business and page of access was unknown to us.

The page was created by someone unknown somehow by surprise. Then, the page was deleted instantly; however, a huge number of keywords kept on coming up at browsing results as well as tons of access to our website page. It looked like a number of keywords was increasing and website performance was slower.

It was a attack called DoS Attack. We needed to have protections to stop them somehow. In the beginning, we did followings:

  • Stay calm and respond quickly
  • Review conditions and Estimate the damages in the system
  • Confirm our skills and power to fight back

It was urgent because of the potential damages, so here what we did:

  • Delete unknown page, files and codes created for harmful purpose
  • Check server to find out any unknown files and codes
  • Check access log file in the system to see who has accessed to our system
  • Create .htaccess file and write them to stop unwelcomed access to our page
  • Create .ftpaccess file and write them to stop unwelcomed access to our system
  • Create robots.txt file to request Search Engine to reduce access to page.

There were many threats and unwelcome accesses and files added and modified by unknown. You should browse about htaccess file and ftaccess file if you are interested and think you are capable of editing it. It is very helpful for defense system created by your own. Or, it is helpful in SEO purpose. Anyway, that is not our main focus here. All the defensive files worked well to stop overflowed unwelcomed access.

However, There was one remaining problem that was not resolved. After searching for bad files and codes in the system, a bad one was found and deleted but kept on created repeatedly somehow. A day after being deleted, it was there again. It was a directory (folder) contains a cashe folder, index.php file.

We tried to change password and shutdown access from outside. But it was not resolved. So, It was assumed there were codes or files remaining inside system with a trigger to recover it when folder not exit.

After investigation of the system, we found a line of code in index.php at home directory. Here is a site describing the attack: https://stackoverflow.com/questions/43211850/my-site-is-infected-with-obfuscated-php-malware-what-is-it-doing-how-do-i-ge

Hope you don’t get an attack that we received. But you may want to check your system and wordpress files.

Helpful websites and tips to protect your site:

  • Scan to check security risk of your wordpress site: https://wpsec.com/
  • Sure to update your wordpress as latest one
  • Select theme wisely. Maybe we should create one by our own
  • Select plugins and get updated. Delete no need plugins.
  • Change passwords and logout system from everywhere
  • Google robots.txt Tester

Latest Update on project

We have not been able to progress the new code learning project of 100 days with SwiftUI. We are on Day 43 Project 9. We will need to catch up on the project.

Today, what needs to be done is to report and comment the updates on existing on-going project on CRM System with wordpress. We are considering to implement a web app with wordpress as server side system. It might not be a good idea to publicize the system planning on-line because of security purpose.

But, if anyone with similar background is interested in developing their own web app with iPhone app, it might give you an inspiration or some kind of tip on planning your own system.

It is always challenging something new to us. Many time, we have to admit the lack of our knowledge and skills. Especially, it gets harder when few help or resource is available around us. So, it is important to keep our mind fresh and positive although it is easier to be said than actually done.

Ultimately, we have to surrender our ability or power, and depend on the power of God, the Almighty. When we give up on trying all by ourselves but ask Him for the answer and direction, it is never wrong or misguided because He knows everything we need. We hope you find the right one you can trust your entire life the most. It is kind of off topic from what we first tried to make this post.

Back to the topic on CRM system, our system is so far functioning with all the needs now by replacing web based system to excel. Current system is more effective in many areas: Security, Searching, Sorting, Updating etc.
CRUD is the technical term. This is an interesting example of CRUD provided by CodeCademy. But our system is more simple to use PHP to move mySQL DB system.

We will need to work on JSON to encrypt and transfer data between server and clients.

In the next post, we hope we can report you all about the progress on our projects.

Day 19 – Challenge day

We introduced about an excellent online learning for learning SwiftUI to develop iOS App, 100 Days of SwiftUI in the last post. We had an interesting learning day 19 challenge, which make you actually create a simple iOS App.

It might appear to us to feel difficult to create iOS app yet, but if you finish learnings from Day 1 to Day 18, you can do it according to Hacking with Swift. With encouraging words from them, so we did.

We are to choose 1 conversion from listed one. Here is the actual homework: Day 19 Topic We chose “Time conversion: users choose seconds, minutes, hours, or days. “

Basically there are three components to create a computation App.

  • A segmented control for seconds, minutes, hours or days, for the input unit.
  • A second segmented control for the output unit
  • Text field to enter number and computed result of conversion

Actually, it took a few days to complete this task of day 19. We will not show actual code here, but instead, we will show how the app looks like.

After try and error several times, simple-paged app was born as above. If you enter number on the top of blank text field, you will see the converted result in the last row according to the selection of time selection: seconds, minutes, hours or days. In the screen, it is said that 7 days gives 10,080 minutes to your life.

No Operation Notice during Obon Summer Holidays

Good day!

We would like to inform you about No Operation Schedule on Reactivation during upcoming Obon Summer Holiday 2020.

Due to the carrier holiday schedule, Reactivation Operation will be CLOSE between August 6th(Thursday) and August 16(Sunday).

For those who has internet deactivated, please make a payment by August 5th in order to reactivate the internet connection before the no operation period above starts.

For other operations: Sales/CS will be open as slower operation. Please leave a message at messenger or viber. So we will reply to you within 1 business day.

Subscription Status Check Site >>> Search Smartpit Link

Online Order Site >>> Web Order Link

Best Regards,

Good Branch

100 days of SwiftUI

After a few months of struggling with learning Swift, XCode, we encountered this online teaching, Hacking with Swift
https://www.hackingwithswift.com/

There are many free teachings done by them in Youtube. Those are quite helpful to have me basics about skills. But if you access their website, we can get more contents about real good stuff with examples called 100 Days of Swift and 100 Days of SwiftUI.
According to website,“100 Days of Swift and 100 Days of SwiftUI, in both article and video form, is available free to everyone.”

Another good program from them is their iPhone App called, Unwrap, which teaches Swift programming with videos, articles and questions. You may try it. It is Free!
https://www.hackingwithswift.com/unwrap

As we learn with “100 days of SwiftUI”, we will post about topics we learn in it from next post.

StartUp with iOS App

Here is the list of what we have done to learn how to make iOS App

  1. Search online about it <- Search engine: Google, IE, Edge, Safari. We got the info we need to learn Swift and Xcode to create iOS App.
  2. Search Youtube about it <- It is a new search tool to research a new thing. Many teaches about iOS App development and learning.
  3. Buy Mac Computer <- After research, we’ve got to know we are required to have a mac computer to develop iOS App.
  4. Buy a few books about it <- We got kindle version books (online books) about programming and how-to.
  5. Try with Playground <- This is a software that can be downloaded FREE with Mac. Playground is an excellent tool to learn basics about Swift.
  6. Start with Xcode <- This is also a free software downloadable in Mac. It is quite hard to start with Xcode. There are many reference regarding Xcode in Apple website, online and offline. However, it is quite challenging to handle with this without concrete understanding.
    About Xcode: https://developer.apple.com/jp/xcode/
  7. Online Learning <- We tried to search for online school for Swift and Swift UI, but it took a long time to find good resources and teachings about it since Swift UI especially is new and few contents available around compared to other existing programming language such as C, Java, Perl, PHP and so on. It was quite expensive also for us to enter online school. Another thing for online school was that they have their own calculum that you need to follow with. And it took a time to complete. So, it did not fit us. But now we found a nice program that help us go forward with SwiftUI learning. For next post, we will tell you a specific program we started to get perfect Swift programming skills.

A New Start

We will try to update our development log in our system and knowledge frequently, so we can improve our service to our customers and share our stories with you who might be interested in topics.

Please understand it is not formal writings or official statements of our company, but rather that, it is casual blogs and learnings to share with our customers who are eager to learn new technology and new things in our everyday life.

Bible says, “In the beginning God created the heaven and the earth.” Thanks to God who created everything and gave us a chance to enjoy our life till the end. It is a precious gift of freedom for us to explore a new life which no one ever have experienced before. We choose righteousness and holiness although we cannot ever be perfect but in the precious name of Jesus, we are admitted to be righteous.

What will be mainly covered here? For now, it is Internet Technology, mainly Programming. First of all, we believe that we should make the system including website and other services by our own. So, in the future, it becomes our property. Although it takes a long time and a quite effort to learn new things, it is worthwhile of doing this to take a small step everyday to make a small thing better, and later on, it becomes a big wave to win over hard challenges.

Where do we stand? We are quite blessed to have wisdom and knowledge to develop our website and web app already. Our system is developed with several programming languages: PHP, mySQL, HTML and CSS. Web system of WordPress is used.

What will we do now? We are intending to develop mobile apps to support our customers and provider new services in the future. So, first we try iOS app to start. Well, but we have no background to start with. So, we started to search in the internet what we should do to learn how to make an iOS app.

For next post, we will tell what the process we chose to make mobile app.

An Important Notice for All WiFi/Sim Users!!!

Starting from August 2020, mobile carrier will limit data usage to 100GB for all the plans including 100GB/150GB/300GB plan. The reason is that carrier has difficulty maintaining large data service due to the COVID virus that causes many people become remote workers and students who need more data usage.

We are sorry for the unexpected and unavoidable situation that will bring inconvenience to users.

Currently, it is uncertain when normal data usage service will be returned, but speed will be back in the beginning of August for those who use GB WiFi/Sim and experience restricted speed situation in this month.

We try our best to provide better service to you all. We hope Corona situation will get better and bring back normal life.

Thank you for understanding.

Best,
Good Branch

営業時間変更について 


営業時間変更について / About Our Operation Hours

弊社、グッドブランチ株式会社では、コロナウイルスの影響の下、当分の間、下記のスケジュールにて営業させていただきます。

Good Branch Inc. will change the operation days and hours as below for a while due to the Covad-19 influence.

平日、12時-17時 / 土日、休業

Open from 12pm to 5pm during weekday and closed on Saturday & Sunday

何卒、ご理解ご協力お願い申し上げます。

Thank you for your understanding and cooperations.

グッドブランチ株式会社

Good Branch Inc.