Screenshot with Beautiful Shadow

Pernah lihat hasil screenshot dari Macbook, indah pokoknya. Nah bagi pengguna linux, ikuti tips berikut untuk menghasilkan screenshot yang indah ber-shadow ala mac, sbb:

  • buat sebuah file bernama add-shadow-picture

$ touch add-shadow-picture

  • copy script berikut dan paste di file tadi

#!/bin/bash
convert "$1" \( +clone -background grey25 -shadow 40x20+3+15 \) +swap -background transparent -layers
merge +repage "$1-shadow.png"

  • ubah mode file tersebut

$ chmod +x add-shadow-picture

  • gunakan perintah berikut untuk menghasilkan gambar ber-shadow

./add-shadow-picture /path/to/picture-file

Before:

After:

Indah toh 😉

Advertisements
Tagged with:
Posted in LinuxWorld

Your Connection Is Not Secure, What ?

Your connection is not secure

The website tried to negotiate an inadequate level of security.

http://www.google.com uses security technology that is outdated and vulnerable to attack. An attacker could easily reveal information which you thought to be safe. The website administrator will need to fix the server first before you can visit the site.

Error code: NS_ERROR_NET_INADEQUATE_SECURITY

Pesan diatas yang muncul pasca Update Firefox Quantum 57.0.4. Googling punya googling solusinya ternyata simple:

  • Buka config firefox dengan menuliskan `about:config` di urlbar firefox
  • Masukkan kata kunci `​http2`. Klik 2 kali untuk merubah dari true menjadi false
  • Selesai, selamat browsing 😉

 

Tagged with:
Posted in LinuxWorld