Skip to content

Instantly share code, notes, and snippets.

View tamzi's full-sized avatar
🧘‍♂️
🦅

./root tamzi

🧘‍♂️
🦅
View GitHub Profile

g.co, Google's official URL shortcut (update: or Google Workspace's domain verification, see bottom), is compromised. People are actively having their Google accounts stolen.

Someone just tried the most sophisticated phishing attack I've ever seen. I almost fell for it. My mind is a little blown.

  1. Someone named "Chloe" called me from 650-203-0000 with Caller ID saying "Google". She sounded like a real engineer, the connection was super clear, and she had an American accent. Screenshot.

  2. They said that they were from Google Workspace and someone had recently gained access to my account, which they had blocked. They asked me if I had recently logged in from Frankfurt, Germany and I said no.

  3. I asked if they can confirm this is Google calling by emailing me from a Google email and they said sure and sent me this email and told me to look for a case number in it, which I saw in

@tamzi
tamzi / dummy.json
Created January 30, 2020 11:36
dummy data
{"id":"0025",
// Incremental entry
"type":"SessionsInfo",
//Type of table
"attributes":
{"id":010103,
//Id
"SessionImage":"https://raw.githubusercontent.com/droidconke/AppImages/sessions/SessionImage/workshop.png",
//Session Image
@tamzi
tamzi / kotlinKenyaMeetUps.md
Created December 13, 2017 16:59
set-Up before the event day.

Hi,

  1. Download and install intellij from here: JetBrains Official download We will use this to learn the vanilla language of the program.

  2. You may download Android studio. From version 3.0 the Kotlin pluggin is bundled together with Android studio. We recommend that you install it. If you have no clue on how to replace, worry thee not, download the latest Android studio stable version (3.0.1) and come with it. we will show you a quick Android Studio tip on how to migrate and not lose time. if you wish to learn how to build a simple app in Kotlin.

@tamzi
tamzi / Malli
Created December 4, 2017 08:23
Build a website about kenya.
a. It should have the following things:
1. style.css file
2. 4 Images
3. 5 Divs
4. Each divs hould have sentences
5. Have google fonts.
b. Change the background colour to green.
1.For the both of you:
a. Build a website about KFC.
Only google the images.
Use 4 images.
The website should have
a. 3 webpages that are linked.
1. Index page
2. Menu page
3. About page
@tamzi
tamzi / google-dorks
Created November 23, 2017 15:56 — forked from clarketm/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@tamzi
tamzi / search.md
Created October 17, 2017 19:55
Implementing search in android from a list view

While implement search functionality in your Android application it is important to note that the search framework does not provide APIs to search your data. To perform a search, you need to use APIs appropriate for your data. For example, if your data is stored in an SQLite database, you should use the android.database.sqlite APIs to perform searches. In this tutorial, we will learn how to add the search functionality to our existing Android ListView.

Step 1: Create Android project

Launch Eclipse IDE and create a new Android application project called AndroidListViewWithSearch with package name com.example

Step 2: Create Helper class for SQLite database

In this example, we will be storing our listview data inside a table of the SQLite database. We would be using a virtual table for faster and efficient access of data.

@tamzi
tamzi / pagination.md
Created November 20, 2015 06:06 — forked from brajeshwar/pagination.md
Pagination Best Practices

Pagination Best Practices

Article by Faruk Ateş

One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.

Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the obvious example, but it's good to realize that paginat