List rpm order by size
rpm -qa --queryformat '%10{size} - %-25{name} \t %{version} \t %{os} \n' | sort -rh | head -25 | awk '{print $1/1024/1024, $2, $3, $4}'
List rpm order by size
rpm -qa --queryformat '%10{size} - %-25{name} \t %{version} \t %{os} \n' | sort -rh | head -25 | awk '{print $1/1024/1024, $2, $3, $4}'
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_syntax' => ['syntax' => 'short'], | |
'no_unused_imports' => true, | |
'blank_line_after_namespace' => true, | |
'blank_line_after_opening_tag' => true, |
Sourcetree is a simple and powerfull Git GUI.
After working on a feature with separate branch, we may want to integrating the feature to the master branch using rebase instead of merge, so the overall history will look much cleaner and neater at the end.
Step 1: Checking out to feature_a branch, right click the master branch and rebase interactively
Quick guide to configure traefik to access docker container instance running on a virtual machine guest.
Running traefik and docker app containers in a Ubuntu virtual machine guest with IP 192.168.56.101
, and be able to access the app containers without any DNS configuration. Traefik should be proxying to the correct container.
Browser on Host --> Nginx on Host --> Traefix on VM --> Container App on VM
This is a quick start guide to run a S3 compatible open source object storage server using MinIO.
The docker image used in this guide:
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
IIS configuration sections. | |
For schema documentation, see | |
%IIS_BIN%\config\schema\IIS_schema.xml. | |
Please make a backup of this file before making any changes to it. |
package msgr | |
import ( | |
"log" | |
) | |
type Task interface { | |
execute() (string, error) | |
} |
# Compression | |
# Enable Gzip compressed. | |
gzip on; | |
# Enable compression both for HTTP/1.0 and HTTP/1.1. | |
gzip_http_version 1.1; | |
# Compression level (1-9). 5 is a perfect compromise between size and cpu usage, offering about 75% reduction for most ascii | |
# files (almost identical to level 9). |
phpstorm64.exe.vmoptions | |
----------------------------------------------------- | |
-Dsun.java2d.opengl=true | |
-Dswing.aatext=true | |
-Dawt.useSystemAAFontSettings=lcd | |
right click phpstorm64.exe | |
----------------------------------------------------- | |
Change high DPI settings | |
High DPI scaling override by System (Enhanced) |