Open in app

Sign In

Write

Sign In

Amin Shah Gilani
Amin Shah Gilani

265 Followers

Home

About

May 9, 2019

How to file a Right to Information Request in Punjab, Pakistan

I decided to file a Right to Information request to the Punjab Police, this is what happened. This is on-going and the post will continuously be updated as new events occur. Timeline: April 1, 2019: I decide to file my request and start drafting a series of questions April 18–25…

Right To Information

7 min read

How to file a Right to Information Request in Punjab, Pakistan
How to file a Right to Information Request in Punjab, Pakistan
Right To Information

7 min read


Oct 30, 2018

I bought a USB flash drive off of Ali Express, and it was fine. Here’s how you can check yours.

There are plenty of stories about fraudulent USB flash drives floating around. This isn’t one of those, I bought a 128 GB USB 3.0 Type C & A SanDisk Flash Drive, and it works great. If you want to buy the drive, click here. …

USB Type C

1 min read

I bought a USB flash drive off of Ali Express, and it was fine. Here’s how you can check yours.
I bought a USB flash drive off of Ali Express, and it was fine. Here’s how you can check yours.
USB Type C

1 min read


Oct 26, 2018

How to Get Your Police Character Certificate in Lahore, Pakistan

After an intense day of inquiring, I submitted my application. This is the procedure to get a Police Character Certificate in Lahore. EDIT JUNE 2020: The process has substantially changed, someone else wrote a new article here. EDIT AUG 2019: This procedure is now outdated. The forms have been combined…

Travel

7 min read

How to Get Your Police Character Certificate in Lahore, Pakistan
How to Get Your Police Character Certificate in Lahore, Pakistan
Travel

7 min read


Oct 17, 2018

LHC Set To Hear Citizen’s Appeal To Constitute Federal Information Commission On Thursday

Lahore High Court appealed to constitute Federal Information Commission and ensure petitioner application is dealt with according to law. FOR IMMEDIATE RELEASE: Wednesday, Oct 17, 2018 Contact: Amin Shah Gilani press@gilani.me Update Oct 17, 2018: The Hon. Justice Shahid Karim has postponed the hearing for December 3, 2018. Lahore, Pakistan…

FOIA

3 min read

LHC Set To Hear Citizen’s Appeal To Constitute Federal Information Commission On Thursday
LHC Set To Hear Citizen’s Appeal To Constitute Federal Information Commission On Thursday
FOIA

3 min read


Aug 7, 2018

The Ruby Case Statement Cheatsheet

The Ruby case statement is simple enough to master: case a when 'A', 'B' puts 'A or B' when 'C' puts 'A or B' else puts 'Not A, B, or C' end When using regex (via documentation): case "12345" when /^1/ puts "the string starts with one" else puts "I…

Ruby

1 min read

Ruby

1 min read


Apr 12, 2018

A Guide to Security Best Practices for Remote Teams

Whenever I tell my friends that I work remotely for a client I’ve never met, they ask me: is it secure for you to work remotely? My answer is a resounding “Yes… but, it depends on how well you create your remote worker security policy.” I live in Pakistan where…

Security

20 min read

A Guide to Security Best Practices for Remote Teams
A Guide to Security Best Practices for Remote Teams
Security

20 min read


Apr 12, 2018

Unlimited Scale and Free Web Hosting with GitHub Pages and Cloudflare

I have a secret that saves my clients a ton of money, keeps their website secure, and has built-in backups. The secret: I make their website static. Then, I store and host it with GitHub, and use Cloudflare to serve it over HTTPS, and make it fast. …

Github

11 min read

Unlimited Scale and Free Web Hosting with GitHub Pages and Cloudflare
Unlimited Scale and Free Web Hosting with GitHub Pages and Cloudflare
Github

11 min read


Sep 19, 2017

Two Welcome Side Effects of Webpack in Rails | EuRuKo 2017 — Budapest

I began working with the back-end with Node, back in the Node v0.10.x days when the React vs. Angular debate was very new and very, very hot. I was getting very tired of copying boilerplate code when someone introduced me to Ruby on Rails 4, and the idea of convention…

JavaScript

4 min read

JavaScript

4 min read


Published in HackerNoon.com

·Jul 14, 2017

Custom slugs for Rails URLs done right

I’ve seen a lot of examples of this online, and it took a while for me to get it right, so I decided to document it. The two cases I’ve used this for: Vanity URLs, e.g. trying to open a user’s profile at /u/amingilani Obfuscated URLs, e.g. trying to make…

Ruby On Rails

2 min read

Ruby On Rails

2 min read


May 24, 2017

Passwords saved in Chrome are shown in your Google Account in Plaintext

Don’t use Chrome’s built in Password manager, it syncs to your Google Account where passwords are viewable in plaintext. Have you ever saved a password in Chrome, even accidentally? Go to passwords.google.com Ever given your Google password because you couldn’t access your email? They can wire your savings to themselves. …

Security

1 min read

Passwords saved in Chrome are shown in your Google Account in Plaintext
Passwords saved in Chrome are shown in your Google Account in Plaintext
Security

1 min read

Amin Shah Gilani

Amin Shah Gilani

265 Followers

Founder. Developer. Spaces over tabs. Atom over your favorite X.

Following
  • The Startup Grind Team

    The Startup Grind Team

  • Kurzgesagt

    Kurzgesagt

  • Faisal Khan

    Faisal Khan

  • Waleed Ashraf

    Waleed Ashraf

  • saqib nadeem

    saqib nadeem

See all (147)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech