Skip to content

Instantly share code, notes, and snippets.

View fahimshahrierrasel's full-sized avatar
💭
I may be slow to respond.

Fahim Shahrier Rasel fahimshahrierrasel

💭
I may be slow to respond.
View GitHub Profile
@fahimshahrierrasel
fahimshahrierrasel / dir-600m_acl_status_change_selenium.py
Last active January 3, 2021 13:47
Dlink DIR-600M ACL Enable and Disable Selenium Automation
#!/usr/bin/python
import sys, logging
from pyvirtualdisplay import Display
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
def main(password, acl_status):
@fahimshahrierrasel
fahimshahrierrasel / Laravel PHP7.2 LEMP AWS.md
Last active July 26, 2019 13:51 — forked from santoshachari/Laravel PHP7 LEMP AWS.md
Laravel 5.x on Ubuntu 16.x, PHP 7.x, Nginx 1.x

#Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7.2 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
@fahimshahrierrasel
fahimshahrierrasel / troubleshooting.md
Created October 19, 2018 07:05 — forked from adamwathan/troubleshooting.md
Troubleshooting Valet on macOS Sierra

Troubleshooting Valet on Sierra

Common Problems

Problem: I just see "It works!"

Apache is running on port 80 and interfering with Valet.

  1. Stop Apache: sudo /usr/sbin/apachectl stop
  2. Restart Valet: valet restart
@fahimshahrierrasel
fahimshahrierrasel / AndroidTranslucentStatusBar.md
Last active June 18, 2019 10:04
[Android Translucent Status Bar] Make android status bar transparent #android

Using Style in Theme

<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>

On activity layout add

android:fitsSystemWindows="true"

Using only Java