Uly.me

cloud engineer

  • Home
  • About
  • Archives
You are here: Home / 2019 / Archives for February 2019

Archives for February 2019

February 28, 2019

MacOS Custom Launchpad

Are the icons too big in MacOS Launchpad? You can customize them. Here are the commands.

# change the launchpad icon size by changing the columns and rows
defaults write com.apple.dock springboard-columns -int 10
defaults write com.apple.dock springboard-rows -int 10
killall Dock
# reset the launchpd
defaults write com.apple.dock ResetLaunchPad -bool TRUE
killall Dock
# reset to defaults
defaults delete com.apple.dock springboard-columns 
defaults delete com.apple.dock springboard-rows
killall Dock

# change the launchpad icon size by changing the columns and rows defaults write com.apple.dock springboard-columns -int 10 defaults write com.apple.dock springboard-rows -int 10 killall Dock # reset the launchpd defaults write com.apple.dock ResetLaunchPad -bool TRUE killall Dock # reset to defaults defaults delete com.apple.dock springboard-columns defaults delete com.apple.dock springboard-rows killall Dock

Filed Under: Mac Tagged With: custom, icon, lauchpad, size

February 26, 2019

Styling The Bash Prompt

Great article how to style your Bash prompt. Make sure you are using Bash shell, because you could be using another shell. Use this to display your current shell. Just type “bash” to start using Bash shell.

echo $0
bash

echo $0 bash

I use the prompt style below. See the result underneath PS1. You may have to exit and re-enter your Terminal to see results.

PS1="\u@\h:\w: "
ulysses@localhost:/var/www:

PS1="\u@\h:\w: " ulysses@localhost:/var/www:

Filed Under: Linux Tagged With: bash, prompt, style

February 24, 2019

AWS CLI EFS Describe Tags

How to display tags of EFS file system.

aws efs describe-tags --file-system-id fs-xxxxxxxx --query 'Tags[?Key==`tagname`].{Name:Key,Value:Value}'

aws efs describe-tags --file-system-id fs-xxxxxxxx --query 'Tags[?Key==`tagname`].{Name:Key,Value:Value}'

Filed Under: Linux Tagged With: aws, cli, efs, tags

February 24, 2019

AWS CLI EFS Describe File Systems

Show a list of EFS file systems within a region.

aws efs describe-file-systems \
--region us-east-1

aws efs describe-file-systems \ --region us-east-1

Filter by Name and FileSystemId.

 aws efs describe-file-systems \
--query 'FileSystems[*].[Name,FileSystemId]'

aws efs describe-file-systems \ --query 'FileSystems[*].[Name,FileSystemId]'

Filed Under: Linux Tagged With: aws, cli, describe, efs

February 24, 2019

Reiserfsck Rebuild Tree

Rebuild tree with Reiserfsck

reiserfsck --rebuild-tree /dev/sda1

reiserfsck --rebuild-tree /dev/sda1

Filed Under: Linux Tagged With: fsck, rebuild tree, reiserfs

  • 1
  • 2
  • 3
  • …
  • 5
  • Next Page »

Recent Posts

  • AWS CLI Add User
  • FFMPEG Convert TS to MP4
  • Windows Boot Time
  • Mac OS Catalina
  • Set Immutable Attribute
  • AWS CLI Add Network Interface
  • Tcpdump
  • Change MTU Size
  • Tail A File in Windows Server
  • AWS ECR PushPull Policy
  • Passive FTP Firewall

Categories

  • Cloud
  • CSS
  • Git
  • HTML
  • JS
  • Linux
  • Mac
  • Misc
  • PHP
  • SVN
  • Windows
  • WP

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

add apache aws aws cli bash certificate cli codeigniter create cron date delete disk dns docker ec2 efs gcp git google iam install instance laravel lightsail mac os mint mount mysql network php phpmyadmin policy s3 sdk snapshot snapshots ssh ssl time ubuntu user windows wordpress yum
  • Home
  • About
  • Archives

Copyright © 2019