Subscribe: mypapit gnu/linux blog
http://blog.mypapit.net/feed/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
appeared mypapit  appeared  blog  gnu linux  gnu  linux blog  linux  mypapit gnu  mypapit  nginx  telegram cli  telegram  ubuntu 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: mypapit gnu/linux blog

mypapit gnu/linux blog



Free and Open Source blogger with an attitude



Last Build Date: Tue, 11 Oct 2016 03:30:49 +0000

 



Nano command for search and replace

Tue, 11 Oct 2016 03:13:42 +0000

I spend most of my time with headless Ubuntu server or Raspbian (a Debian derivatives distro for Raspberry Pi). So naturally I use ‘nano’ to edit various configurations files and Python Scripts. Here are several ‘nano’ shortcuts for your references Searching CTRL-W : search text string ALT-W : repeat search ALT-B : Backward search Search and Replace CTRL-\  […]

The post Nano command for search and replace appeared first on mypapit gnu/linux blog.




ServiceHandler with Android HttpURLConnection

Wed, 08 Jun 2016 03:47:18 +0000

I’m sharing my gist of ServiceHandler with the new post Android Marshmallow (API 21) HttpURLConnection https://gist.github.com/mypapit/642de0968a01bf13a936b6f62e874a48

The post ServiceHandler with Android HttpURLConnection appeared first on mypapit gnu/linux blog.




This blog now runs on PHP 7!

Tue, 26 Apr 2016 06:50:30 +0000

Hi all, I’m proud to announce to all the after several tinkering, this blog now runs on PHP 7 ! PHP 7 is the latest iteration of the popular general-purpose scripting language that is suited to web development. PHP7 is touted to perform up to TWO TIMES faster than PHP5. Here are the performance benchmark […]

The post This blog now runs on PHP 7! appeared first on mypapit gnu/linux blog.




Easyrec – Integrate Recommender Engine in your website – open source

Wed, 09 Sep 2015 12:22:47 +0000

Easyrec is an open source recommender engine which can be trained and customized to provide personalized recommendations using REStful Web Service. Easyrec exposes its functionality through REST API which provides several interaction types: Actions view buy sendaction Recommedations other users also viewed other users also bought items rated good by other users recommendations for user […]

The post Easyrec – Integrate Recommender Engine in your website – open source appeared first on mypapit gnu/linux blog.




A Bash script for sending telegram messages in Linux

Tue, 08 Sep 2015 05:56:02 +0000

Would it be nice to be able to receive notification from your Linux system in Telegram? I’ve come up with a rudimentary bash script which lets you integrate the telegram-cli into your own script which is useful for sending messages or notification within automated process to your Telegram account. The bash script is very useful […]

The post A Bash script for sending telegram messages in Linux appeared first on mypapit gnu/linux blog.




LILO Linux Bootloader project is ending

Mon, 07 Sep 2015 12:43:51 +0000

LILO – the venerable Linux Bootloader is ending its development. The news has been announced at its project’s page. I’ve used LILO since the very first time I’m acquainted with GNU/Linux operating system, back in 2002. LILO simplicity makes it easy to install and reinstall the bootloader using standard computer BIOS at the time. However, […]

The post LILO Linux Bootloader project is ending appeared first on mypapit gnu/linux blog.




Introduction to Cloud Computing Slides

Mon, 07 Sep 2015 03:05:08 +0000

Here is a slide for Introduction to Cloud Computing which I gave during CCMSE 2015. Citation You may cite the slide using this format: Ismail,M.H. (2015). Introduction to Cloud Computing [PowerPoint slides]. Retrieved from https://blog.mypapit.net/2015/09/introduction-to-cloud-computing-slides.html

The post Introduction to Cloud Computing Slides appeared first on mypapit gnu/linux blog.




Download Wordlist for dictionary attack

Tue, 01 Sep 2015 00:33:23 +0000

Crackstation wordlist is one of the most (if not the most) comprehensive wordlist which can be used for the purpose of dictionary -attack on passwords. The wordlist comes in two flavors: Full wordlist (GZIP-compressed (level 9). 4.2 GiB compressed. 15 GiB uncompressed) Human-password only wordlist (GZIP-compressed. 247 MiB compressed. 684 MiB uncompressed) Personally, I’ve already […]

The post Download Wordlist for dictionary attack appeared first on mypapit gnu/linux blog.




Cracking PDF file with PDFCrack in Linux

Tue, 25 Aug 2015 10:56:36 +0000

I’ve come across an PDF which was sent to my email from an automated banking system. Unfortunately, the PDF file is encrypted and I’ve no way of knowing the password (or actually I’ve forgotten the password). Fortunately, my Ubuntu box comes with application which allows me to crack the PDF file within a reasonable time. […]

The post Cracking PDF file with PDFCrack in Linux appeared first on mypapit gnu/linux blog.




Securing SSH port and limiting IP address connection with Firewall in Ubuntu

Sat, 22 Aug 2015 10:05:59 +0000

UFW: Securing SSH UFW or Uncomplicated Firewall is a firewall package in Ubuntu. UFW can be used to secure SSH ports in Ubuntu server. In order to secure OpenSSH, we must first disable UFW and allow all SSH rule. sudo ufw disable sudo ufw delete allow ssh Then we add IP Address to be allowed […]

The post Securing SSH port and limiting IP address connection with Firewall in Ubuntu appeared first on mypapit gnu/linux blog.




Solving “Connection is encrypted using obsolete cipher suite” warning from Chrome

Fri, 21 Aug 2015 12:48:42 +0000

Here is a how to on how to solve the dreaded warning “Your connection is encrypted using obsolete cipher suit” from Google Chrome. Firstly the warning had nothing to do with using cheap or self-signed TLS/SSL security certificate, but it has to do with cipher suite used on the server part. So if you are […]

The post Solving “Connection is encrypted using obsolete cipher suite” warning from Chrome appeared first on mypapit gnu/linux blog.




My GPG Public Key (mypapit)

Fri, 21 Aug 2015 10:31:30 +0000

Since there are some people out there who asked about my gpg public key, now I decided to published them on my web. Feel free to send me messages or files using my public-key. KeyID: 0AFAD5F8 Mohammad Hafiz bin Ismail (mypapit) -FYI – mypapit@gmail.com You can get my GPG Public key here… -----BEGIN PGP PUBLIC […]

The post My GPG Public Key (mypapit) appeared first on mypapit gnu/linux blog.




Malaysian artist Yuna is featured in Google Material Design Guideline

Thu, 20 Aug 2015 13:45:52 +0000

Local Malaysian Artist, Yuna is currently featured in Google Material Design Guideline. You can view the screenshot in UI Integration Imagery Style Section: Google Material Design GUideline

The post Malaysian artist Yuna is featured in Google Material Design Guideline appeared first on mypapit gnu/linux blog.




How to send fail2ban notification with Telegram (telegram-cli)

Wed, 19 Aug 2015 12:45:31 +0000

This is a a guide to integrate Telegram messaging service Fail2Ban. With this integration, Fail2Ban notification will be sent through Telegram services. Requirements You need to have Fail2ban installed in your systems. Install or compile “telegram-cli”, refer to this guide to compile telegram-cli or install it from *.deb (Ubuntu LTS) AMD64 Setting Up Fail2Ban with […]

The post How to send fail2ban notification with Telegram (telegram-cli) appeared first on mypapit gnu/linux blog.




How to Install telegram-cli in Ubuntu LTS (*.deb)

Tue, 18 Aug 2015 04:14:59 +0000

I’ve compiled an easy to install Ubuntu *.deb package for telegram-cli. PART 1: List of telegram-cli DEB package binaries telegram-cli_1.0.6-1_amd64.deb Install *.deb package by running this command (on Ubuntu 14.04 LTS Trusty) sudo apt-get -y install libjansson4 sudo dpkg -i telegram-cli_1.0.6-1_amd64.deb Running telegram-cli is as easy as typing telegram-cli PART 2: Running telegram-cli For first […]

The post How to Install telegram-cli in Ubuntu LTS (*.deb) appeared first on mypapit gnu/linux blog.




Thoughts about Android Marshmallow 6.0 Permission model

Tue, 18 Aug 2015 02:34:39 +0000

I hope it is the rumored granular permission mode. But if it resembles anything in this SMH article, then it sounds like JavaME permission model all over again :p Marshmallow also streamlines the “permissions” model for users to install and upgrade apps. Users running certain apps will not need to grant any permissions when they […]

The post Thoughts about Android Marshmallow 6.0 Permission model appeared first on mypapit gnu/linux blog.




How to build and use telegram-cli client for Linux

Mon, 17 Aug 2015 06:04:30 +0000

You can actually send Telegram message from command-line interface / bash in Linux using an unofficial “telegram-cli“ client by Vitali Valtman (vysheng) Obtaining and Compiling telegram-cli But first, before sending telegram messages, you need to build the client. You may start by installing its dependencies sudo git apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev […]

The post How to build and use telegram-cli client for Linux appeared first on mypapit gnu/linux blog.




Cooling ADSL Wireless Router with Fan and some creativity

Sat, 15 Aug 2015 04:46:03 +0000

Here is some solution for overheating Wireless Router. Note that I do not own any of these photos. Source: http://www.boransat.net/board/index.php?topic=28537.0

The post Cooling ADSL Wireless Router with Fan and some creativity appeared first on mypapit gnu/linux blog.




Convert old PC into Router with pfSense

Fri, 14 Aug 2015 06:21:15 +0000

You can convert an old pc into router with pfSense.

The post Convert old PC into Router with pfSense appeared first on mypapit gnu/linux blog.




How to quickly become firewall expert with UFW !

Thu, 13 Aug 2015 02:19:01 +0000

Uncomplicated Firewall (UFW) is a helper tool which allows you to quickly setup iptables firewall in any Ubuntu server. It is installed by default and it allows you to secure your server at no time! Basic UFW Basic UFW: Check Status You can check UFW by running this command. The verbose argument prints additional information […]

The post How to quickly become firewall expert with UFW ! appeared first on mypapit gnu/linux blog.




Hack: How to Steal SSH passwords and username with strace

Wed, 12 Aug 2015 05:18:23 +0000

For those into stealing SSH passwords and username: http://pentestmonkey.net/blog/sshd-snooping

The post Hack: How to Steal SSH passwords and username with strace appeared first on mypapit gnu/linux blog.




How to set Android *.apk mime-type for Nginx web server

Wed, 12 Aug 2015 03:35:22 +0000

Here’s a simple guide on how to add the correct mime-type for Android APK file for Nginx webserver. sudo nano /etc/nginx/mime.types In “mime.types” file, add this line within the “types” block types { ... ... application/vnd.android.package-archive apk; ... ... } Restart nginx server sudo service nginx restart Done!

The post How to set Android *.apk mime-type for Nginx web server appeared first on mypapit gnu/linux blog.




Generating TLS/SSL Self Signed Certificate for Nginx in Ubuntu LTS

Mon, 10 Aug 2015 07:39:22 +0000

This post concerns on generating self-signed TLS/SSL certificate for Nginx in Ubuntu LTS and assumes that you’ve configured nginx server with a default site. Step 1: Generate OpenSSL certificate sudo mkdir /etc/nginx/ssl sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt You are about to be asked to enter information that […]

The post Generating TLS/SSL Self Signed Certificate for Nginx in Ubuntu LTS appeared first on mypapit gnu/linux blog.




Howto install OwnCloud with NGINX in Ubuntu LTS

Mon, 10 Aug 2015 03:10:20 +0000

OwnCloud is a PHP-based Cloud-storage web application for remote storage with file synchronization capabilities. Step 1 You need to install several packages in order to configure OwnCloud with nginx in your server sudo apt-get -y install nginx-full php5-fpm php5-sqlite Step 2: Download Owncloud Download Owncloud, replace $OWNCLOUD_VER with the latest Owncloud version. export OWNCLOUD_VER="8.1.0" cd […]

The post Howto install OwnCloud with NGINX in Ubuntu LTS appeared first on mypapit gnu/linux blog.




How to Change OpenSSH port or listen to multiple SSH ports

Thu, 06 Aug 2015 04:35:05 +0000

OpenSSH usually listens on TCP port 22. However, there are some people who wish to change OpenSSH port to avoid brute-force bot attacks or to avoid from being blocked by restrictive firewall. To change OpenSSH port, one only need to edit “/etc/ssh/sshd_config” file and change the port at “Port 22” to something else, like “Port […]

The post How to Change OpenSSH port or listen to multiple SSH ports appeared first on mypapit gnu/linux blog.




How to Hide OpenSSH Ubuntu version from Nmap and other scanners

Wed, 05 Aug 2015 10:47:06 +0000

In Ubuntu or Debian, a default OpenSSH server will display OpenSSH version alongside with Ubuntu/Debian distribution banner: $ telnet repeater.my 172.16.91.20 22 Trying 172.16.91.20... Connected to 172.16.91.20. Escape character is '^]'. SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 You can hide the identifying part of Ubuntu-2ubuntu2 from the server banner by editing /etc/ssh/sshd_config file, and adding “DebianBanner no” either at […]

The post How to Hide OpenSSH Ubuntu version from Nmap and other scanners appeared first on mypapit gnu/linux blog.




Install NGINX with PageSpeed using *.deb for Ubuntu LTS (AMD64)

Mon, 03 Aug 2015 17:56:49 +0000

Hello there, I’ve made an easily installable *.deb NGINX package with PageSpeed. The package is made for Ubuntu LTS on AMD64 machine. Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed nginx-full_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Full package nginx-extras_1.8.0-1+trusty1-mypapitubuntu4_amd64.deb Extra package Ubuntu 14.04 LTS – nginx 1.8.0 with PageSpeed: Other Package nginx-common_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx_1.8.0-1+trusty1-mypapitubuntu4_all.deb nginx-doc_1.8.0-1+trusty1-mypapitubuntu4_all.deb Installing nginx-extras or nginx-full is as […]

The post Install NGINX with PageSpeed using *.deb for Ubuntu LTS (AMD64) appeared first on mypapit gnu/linux blog.




An easy way to Install OpenVPN in CentOS – snippet

Mon, 03 Aug 2015 04:16:20 +0000

Source: https://zulfah.my/files/openvpnsetup/vpn_install.txt Got this while surfing the internet. A no brainer way to install and setup OpenVPN in CentOS. The only thing left is to open port 1194/udp 1337/udp from firewall / router yum update -y && yum -y install nano unzip wget gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel cd /home wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm && […]

The post An easy way to Install OpenVPN in CentOS – snippet appeared first on mypapit gnu/linux blog.




Python code: List most popular URL from Apache/NGINX ‘access.log’ file

Fri, 31 Jul 2015 12:17:56 +0000

Found a great Python code snippet for listing the most popular URL from Apache / NGINX ‘access.log’ file. Very practical! import collections logfile = open("access.log", "r") clean_log=[] for line in logfile: try: # copy the URLS to an empty list. # We get the part between GET and HTTP clean_log.append(line[line.index("GET")+4:line.index("HTTP")]) except: pass counter = collections.Counter(clean_log) […]

The post Python code: List most popular URL from Apache/NGINX ‘access.log’ file appeared first on mypapit gnu/linux blog.




Using a new Google API or Service? It might not last long…

Wed, 29 Jul 2015 05:19:41 +0000

I read an interesting analysis on the lifespan of some of the Google service and API that has been cancelled: http://www.theguardian.com/technology/2013/mar/22/google-keep-services-closed Based on the analysis at the time of the writing, Google service has a mean lifespan of 1,459 days. An interesting point to ponder, especially if your applications/services depends on one or more Google […]

The post Using a new Google API or Service? It might not last long… appeared first on mypapit gnu/linux blog.