Skip to content

Instantly share code, notes, and snippets.

View f4ww4z's full-sized avatar
🙂
Istiqomah

Maharaj Fawwaz Almuqaddim Yusran f4ww4z

🙂
Istiqomah
View GitHub Profile

Privacy Policy

Fawwaz Yusran built the Kamus Bijak Perakaunan app as a Free app. This SERVICE is provided by Fawwaz Yusran at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Kamus Bijak Perakaunan unless otherwise defined in this Privacy Policy.

@f4ww4z
f4ww4z / shorcuts.md
Created April 4, 2020 04:47
conda shortcuts

Conda Shortcuts

save dependencies for VCS

conda env export --no-builds | grep -v "prefix" > environment.yml

list all the conda environment available

conda info --envs
@f4ww4z
f4ww4z / Golang-3 task description.md
Last active April 23, 2021 02:35
Golang-3 task files for GCI 2019 with OpenMRS

GoLang-3: Clean Architecture

NOTE: You should have completed GoLang-2 task. Using the same repo, create a new branch and follow these steps:

Task

  1. Read up on Clean Architecture using Golang, and see its example repository.
  2. Create models directory, and create the model structs Patient, Location and Hospital inside this package.
  3. Create a folder called patient , location and hospital in the root directory. These will be the base endpoints. Then create repository, usecase and delivery folder inside each endpoint folder.
  4. Inside each endpoint folder, create usecase.go and repository.go files. These will be the interfaces you will use.
@f4ww4z
f4ww4z / TaskDescription.md
Last active January 15, 2020 11:08
GoLang-2 task files for GCI 2019 with OpenMRS

GoLang-2: Connect to Database

NOTE: You should have completed GoLang-1.

Setup

  1. Create an account on ElephantSQL (use your GitHub or gmail account).
  2. Create a new PostgresSQL instance, and name appropriately. Screenshot
  3. Go to the newly created instance. Take note of the URL.
  4. Download and install PostgreSQL.
@f4ww4z
f4ww4z / normalization_exercise.md
Last active November 26, 2019 03:34
For Database K3 CSF3205

Normalization Exercise

Name: Maharaj Faawwaz A Yusran

Matrix No: S52500

Before:

OrderNumber CustomerNumber CustomerName CustomerAddress City Country OrderDate ProductNo Description Quantity UnitPrice
@f4ww4z
f4ww4z / normalization_quiz.md
Last active November 19, 2019 05:38
For Database Quiz

Normalization Quiz (19/11/2019)

Name: Maharaj Faawwaz A Yusran

Matrix No: S52500

Question 1

Functional dependencies I see:

@f4ww4z
f4ww4z / data_preprocessing_template.py
Created June 22, 2019 10:16
A template to process data for machine learning models
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
# Importing the dataset
data = pd.read_csv('Data.csv')
# Separate independent and dependent variables
X = data.iloc[:, :-1].values
import React, { Component } from 'react';
import { Router, browserHistory, Route, Link } from 'react-router';
import logo from './logo.svg';
import './App.css';
const Page = ({ title }) => (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>{title}</h2>
@f4ww4z
f4ww4z / build.gradle
Last active February 19, 2019 15:57 — forked from rafaeltoledo/build.gradle
# Our merge report task
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
reports {
xml.enabled = true
html.enabled = true
}
def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'createDebugCoverageReport']) {
reports {
xml.enabled = true
html.enabled = true
}
def fileFilter = [ '**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*' ]
def debugTree = fileTree(dir: "$project.buildDir/tmp/kotlin-classes/debug", excludes: fileFilter)
def mainSrc = "$project.projectDir/src/main/kotlin"