技術情報
- 2022年09月27日
- 技術情報
General ways to free up disk space in Ubuntu
Today, I would like to share about some general ways to free up disk space in Ubuntu. Let’s take a look.
1. Remove packages that are no longer required by the following command.
sudo apt-get autoremove
2. Uninstall unnecessary softwares from software centre.
3. Clean outdated packages by running the following command.
sudo apt-get autoclean
4. Remove the entire apt cache by this command.
sudo apt-get clean
5. Clean thumbnail cache
rm -rf ~/.cache/thumbnails/*
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年09月27日 10:00:00
- 2022年09月26日
- 技術情報
Adobe is buying figma
Adobe has announced that it will acquire collaborative design platform Figma for nearly $20 billion.
Dylan Field and Evan Wallace started working on Figma in 2012. Today, the app is popular with designers and developers and can be considered a competitor to Adobe XD which is a similar design tool for web and mobile apps.
Adobe believes that the combination of Adobe and Figma will push to a new era of co-creation.
The transaction is expected to close in 2023. Dylan Field will then continue to lead the Figma team, reporting to David Wadwani, President of Digital Media Business at Adobe.
You can see more detail here at Adobe news website.
yuuma at 2022年09月26日 10:00:00
- 2022年09月16日
- 技術情報
Flutter でText-to-speech を行う方法
最近Flutterで仕事をすることになり
勉強したこと、調査されたことを共有したいと思います。
Flutterでテキストを音声に変換したりプログラムです。
さまざまな言語、音量、ピッチ、スピードなどを設定することができます。
今の例では、言語を英語に設定していますが、もし日本語にしたい場合は、以下のように設定することができます。
flutterTts.setLanguage("ja-JP")
利用するためには、まず pubspec.yaml ファイルにflutter_tts、このパッケージを追加する必要があります。
後、AndroidManifest.xmlファイルのqueries要素にTextToSpeech.Engine.INTENT_ACTION_TTS_SERVICEを追加する必要があります。
<queries>
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
</queries>
<application
以下のパスを目的のファイルでインポートします。
import 'package:flutter_tts/flutter_tts.dart';
利用するには
FlutterTts ftts = FlutterTts();
再生するテキストを追加した後、テキストを音声に変換することができます。
var result = await ftts.speak("Hello there!");
言語、音声の大きさ、話すスピード、ツールのピッチなどを設定するには、以下の方法で出来ます。
await ftts.setLanguage("en-US");
await ftts.setSpeechRate(1.0);
await ftts.setVolume(0.5);
await ftts.setPitch(1);
以上だけです。
テストプログラムではボタンをタップした後、上記のプログラムを行うようにしています。
ElevatedButton(
onPressed:() async {
//
...
//
},
child: Text("Text to Speech"))
ということで、今回はこれで終わります。
金曜担当 – Ami
asahi at 2022年09月16日 10:00:00
- 2022年09月13日
- 技術情報
Symfony Process Component for working OS level processes in PHP
Today, I would like to share about a symfony component library to use OS level commands in PHP. This library will be useful in some cases that will need to work with OS level processes. Please check this library in the following link for more details.
https://symfony.com/doc/current/components/process.html
Hope you enjoy that library. This is all for now today.
By Asahi
waithaw at 2022年09月13日 10:00:00
5 PHP Application Monitoring Tools
Today, I would like to share about 5 PHP application monitoring tools. Let’s take a look.
Sentry.io
Sentry.io was originally for python frameworks. Sentry enables end-to-end observability and collects complete stack traces and offers support for PHP, Laravel and Symfony.
PHP Server Monitor
PHP server monitor is an open-source tool to monitor the performance of PHP servers and websites. It allows for easy cronjob monitoring, email, SMS and Pushover notifications, logs collection and more.
Logtail
Logtail is as structured log management platform based on ClickHouse. It can collect and monitor data in real-time from any PHP application.
New Relic
New Relic monitor and helps with identifying and troubleshooting performance issues. It tracks key transactions, monitors critical metrics, and visualizes everything in dashboards. New Relic’s PHP monitoring promises improved performance, query optimization, and instant observability.
Atatus
Atatus is a tool supporting PHP performance monitoring and error handling. Using the Atatus, we can improve business metrics and optimize the performance of the application. It discovers the longest transactions, the slowest database queries, the slowest network calls and exceptions.
This is all for now. Hope you enjoy that.
By Asahi
waithaw at 2022年09月06日 10:00:00