Kayıtlar

Developers needs more lightweight option like Fleet

 Intellij infrastructure platforms, such as Android Studio and Pycharm, use more ram than necessary, which complicates the development environment. This is why vscode has become popular among developers. However, older developers continue to use vim because it is a simpler platform that requires less ram. If you're a professional developer, chances are you've heard of IntelliJ IDEA. It's a popular Integrated Development Environment (IDE) used by many developers, especially those working on Java-based projects. However, one downside of IntelliJ IDEA is that it can use more RAM than necessary, which can complicate the development environment. This is why Visual Studio Code (VS Code) has become popular in recent years - it's much lighter and doesn't require as much resources. However, some older developers still prefer to use Vim as their primary IDE. It will be due to this that in a similar way, Intellij introduced the Fleet application. Really nice design.

Faster framework for mobile apps

 Flutter is a kind of new, open-source, mobile software development kit created by Google. It allows developers to create high-quality native apps for both iOS and Android with a single codebase. Flutter is fast because it uses the Dart programming language which has been designed specifically for high-performance applications. Additionally, Flutter's hot reload feature allows you to quickly and easily test your changes without having to restart the app or recompile the code. Overall, Flutter provides an excellent way for programmers to create beautiful and fast mobile apps with less effort than traditional methods. I highly recommend giving it a try! If you're looking for a faster software programming language for mobile apps, Flutter is a great option. This open source platform was created by Google and offers cross-platform support for both iOS and Android devices. In addition, Flutter provides developers with a wide range of tools and plugins to help them create high-qualit...

Google Apps Script Custom Catch Function

 function catch(arguments,exception){     console.log(arguments.callee.name+":", "Error report",       "\r\nMessage: " + exception.message       + "\r\nFile: " + exception.fileName       + "\r\nLine: " + exception.lineNumber); }

Changing months language in PHP

In the php we are able to automatically print months with strftime function. In these cases, it is necessary to edit the locale to be able to print the months in Turkish or any language. This is not just for months, but for a lot of functions. It will be sufficient to put the following code at the beginning of your project to translate the predetermined functions. setlocale (LC_ALL, 'tr_TR.UTF-8'); You may encounter this with a lot of ready-to-go scriptions. You change 'tr_TR' section on the above line. This one-line solution will bring you to the conclusion.

Use href in HTML instead of link_to [Rails]

If you want to use href in HTML instead of link to. It's equivalent link_to in Rails. And if you want to use method you must use data-method in a tag. Reference:  http://blog.umutbey.com/en/equivalent-link_to-in-html

Object appear problem in active admin form [Ruby on Rails]

If you use active admin and if you use migration with references, in admin panel you can see object number on edit or new form. Let's say we have a company and a user table, and we have a reference to user_id in company. I assume that "belongs_to" and "has_many" added. You write in terminal "rails generate migration AddUserReferecesToCompanies user:references" and then enter commandline "rails db:migrate". Now you add this line in app/admin/companies.rb (because we are the model we initially assumed. Also you must be generated activeadmin resource like "rails g active_admin:resource company".)

Take first or last characters (Substring) with Kotlin

Sometimes you might want to get the last characters of the string or first characters. This is very easy with kotlin.