Skip to content

Instantly share code, notes, and snippets.


Fahad Munir fmunirWorld

Block or report user

Report or block fmunirWorld

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fmunirWorld / MessAttendance.js
Last active Apr 9, 2019
UOG Boys Hostel - Mess Attendance Email Template
View MessAttendance.js
function customCalendar(year, month) {
let d = new Date(year, month);
let firstDay = d.getDay();
let date = 1, dateIter = 1;
var table = "<table>";
table += "<tr><th colspan=14>" + d.toLocaleString('en-us', { month: 'long' }) + " " + d.getFullYear() + "</th></tr>";
table += "<tr>";
fmunirWorld / DocTrackingDB.sql
Created Apr 18, 2019
Setting database queries for Document Tracking System
View DocTrackingDB.sql
CREATE TABLE receiving(
receiving_date DATE NOT NULL,
diary_no INT NOT NULL,
no_of_letter VARCHAR(40) NOT NULL,
creation_date DATE NOT NULL,
file_no VARCHAR(40),
-- original_address VARCHAR(40),
from_dpt VARCHAR(40) NOT NULL,
to_dpt VARCHAR(40) NOT NULL,
subject VARCHAR(255) NOT NULL,
fmunirWorld /
Last active Jun 1, 2019
Android: Restrict Google Sign In to certain emails with domain
private void handleSignInResult(GoogleSignInResult result) {
Log.d(TAG, "handleSignInResult:" + result.isSuccess());
if (result.isSuccess()) {
// Signed in successfully.
GoogleSignInAccount acct = result.getSignInAccount();
String email = acct.getEmail();
String[] split = s.split("@");
String domain = split[1]; //This Will Give You The Domain After '@'
fmunirWorld / c_cpp_properties.json
Last active Oct 20, 2019
Using Mingw-w64 in VS Code
View c_cpp_properties.json
"configurations": [
"name": "Win32",
"includePath": [
"${workspaceFolder}/**", "${vcpkgRoot}/x86-windows/include"
"defines": [
You can’t perform that action at this time.