Skip to content

Instantly share code, notes, and snippets.

View iqfareez's full-sized avatar
🎯
Focusing

Fareez Iqmal iqfareez

🎯
Focusing
View GitHub Profile
@iqfareez
iqfareez / onboarding_screen.dart
Created July 23, 2020 19:12
No more renderflex error??
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:onboarding_ui/utilities/styles.dart';
class OnboardingScreen extends StatefulWidget {
@override
_OnboardingScreenState createState() => _OnboardingScreenState();
}
class _OnboardingScreenState extends State<OnboardingScreen> {
#include <iostream>
using namespace std;
#define PI 3.142
class circle{
private:
double radius;
public:
#include <iostream>
using namespace std;
#define PI 3.142
class circle{
private:
double radius;
public:
@iqfareez
iqfareez / heart.c
Created August 13, 2020 03:38
Print heart / love in C ♥
#include<stdio.h>
#include<windows.h>
int main()
{
int i,j;
for (i=1; i<6; i++)
{
for (j=1; j<6; j++)
{
printf("\3 "); //change number \3 to other number for different symbols
@iqfareez
iqfareez / main.dart
Created August 29, 2020 08:29
Default main.dart Flutter
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@iqfareez
iqfareez / pubspec.yaml
Created August 29, 2020 08:29
Default pubspec.yaml Flutter
name: flutter_feedback_ui_by_neecoder_x #Your project name
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
@iqfareez
iqfareez / README.md
Last active March 3, 2024 01:24
All Malaysia waktu solat location code (JAKIM code)
@iqfareez
iqfareez / ping.py
Last active January 29, 2021 09:22
Windows ping to Google using Python
import os
def main():
while True:
# Input can be Y/N or small letter y/n or word like yes/no
response = input('Do ping? (y/n)\n>>> ')
response = response[0] # Get the first char
response = response.lower() # Convert to lower case
@iqfareez
iqfareez / matricNumberGender.cpp
Last active December 27, 2020 13:35
Code to determine student gender based on matric number (IIUM)
//odd even matric number
#include <iostream>
using namespace std;
int main()
{
int matricNum;
cout << "Enter your matric num: ";
cin >> matricNum;
@iqfareez
iqfareez / icNumberGender.cpp
Created December 27, 2020 13:47
C++ script to determine gender based on IC Number (Malaysia)
//odd even ic number (Malaysia)
#include <iostream>
using namespace std;
int main()
{
int icNumber;
cout << "Enter your matric num: ";
cin >> icNumber;