Skip to content

Instantly share code, notes, and snippets.


Kevin Christensen nivekmai

  • WhatsApp
  • Mountain View
View GitHub Profile
nivekmai / SimpleDividerItemDecoration
Last active May 5, 2020 — forked from Leaking/SimpleDividerItemDecoration
A simple RecyclerView ItemDecoration drawing a horizon line and you can set the height and the color.It looks like the listview divider.
View SimpleDividerItemDecoration
package com.quinn.xmpp.ui.widget;
import android.content.Context;
import android.view.View;
import com.quinn.xmpp.R;
nivekmai / home.conf
Created Oct 15, 2016
Home Assistant NGINX config (raspberry pi 3, letsencrypt)
View home.conf
server {
listen 80;
root /var/www/home;
location / {
return 301 https://$host$request_uri;
location ~ /.well-known {
try_files $uri $uri/ @home_assistant;
View zd_fetch.php
function fetch_html ($url){
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_USERPWD, ZDUSER."/token:".ZDAPIKEY);
curl_setopt($ch, CURLOPT_USERAGENT, "Lynx/2.8.8dev.3 libwww-FM/2.14 SSL-MM/1.4.1");
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
$webpage = curl_exec($ch);
return $webpage;

I'm having trouble downloading WhatsApp from Google Play.

As a chat program, WhatsApp has a mature content rating. If you have configured your content filtering, you will need to set it to at least High maturity.

If you are seeing errors after downloading the app (403, 427, 495, 919, 927 etc.) please check the Google Play Help Center for troubleshooting steps.

If you see a "Not available in your country" error or if the Google Play Help Center troubleshooting tips did not help, you will have to download WhatsApp from our website. You will have to turn on Unknown sources inside Security in your phone settings. We recommend that you turn this back off once you have downloaded WhatsApp from our website.

WhatsApp Support


#Why don't I get notifications?

To ensure the prompt delivery of WhatsApp message notifications, please check that you have a good internet connection and your phone is configured properly.

Possible reasons for not receiving notifications:

  • Muted groups do not display notifications.
  • You have disabled all notifications in the WhatsApp settings.
  • You have unchecked Show notifications in System settings > Apps > WhatsApp
View arparse boolean flag
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-t', '--test', dest='test', action='store_true')
args = parser.parse_args()
print args.test
$python -t