Skip to content

Instantly share code, notes, and snippets.

View maqadeersaeed's full-sized avatar

Muhammad Qadeer Saeed maqadeersaeed

View GitHub Profile
@maqadeersaeed
maqadeersaeed / flutter-proxy-setting.md
Last active May 13, 2025 10:12
Flutter Setup + Proxy Settings (Windows)

Flutter Setup + Proxy Settings (Windows)

Flutter Setup

  • Download Flutter
    • Download Flutter
    • Extract Downloaded Flutter SDK in a filder e.g. my case it is D:\installs\flutter_windows_3.27.3-stable\flutter
    • Update "Path" environment variable to the flutter SDK bin folder D:\installs\flutter_windows_3.27.3-stable\flutter\bin
    • Open new command prompt and run
      • flutter doctor
      • It will run the command possible with error of missing android tool chain etc, To create Android apps with Flutter, We need following android components be installed.
  • Android SDK Platform, API 35.0.2
@maqadeersaeed
maqadeersaeed / liferay-lanauge-selector
Last active December 9, 2024 08:58
Liferay Language Selector | How to Create Language Selector Widget Template and Embed In Theme
Liferay Language Selector Widget Tepmlate
<#if entries?has_content>
<#list entries as entry>
<#if !entry.isDisabled()>
<#assign isSelected = entry.selected />
<#if !isSelected>
<@liferay_aui["a"]
cssClass="btn btn-light"
href=entry.getURL()
@maqadeersaeed
maqadeersaeed / Error Installing PostgreSQL Unable to install PostGreSQL in Windows 10
Created October 30, 2024 05:23
It was problem running post-install step postgresql. Due to User Privileges Issue, Sysm was unable to create data folder and initilize database.
Steps
1. Ensure Permissions:
Right-click the PostgreSQL installer and select Run as Administrator to ensure it has full privileges.
2. Clean Existing Data Directory:
Delete the data directory created during installation (C:\installs\PostgreSQL\17\data), as it may contain incomplete initialization files from the failed attempt.
3. Create a New Data Directory with Initdb Command - Open Command Prompt as Administrator and run:
C:\installs\PostgreSQL\17\bin\initdb.exe -D C:\installs\PostgreSQL\17\data
@maqadeersaeed
maqadeersaeed / Python Proxy Settings
Created June 12, 2023 06:37
Python Proxy Settings
Open pip.ini file from:
%APPDATA%\pip\pip.ini
Set
---------------------
[global]
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
proxy = http://<<username>>:<<password>>@<<hostname>>:<<port>>
@maqadeersaeed
maqadeersaeed / markdown-reference.md
Last active December 28, 2021 18:37
This is reference for How to Format Markdown Files (*.md) Like ReadMe.md Files in Projects.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraph