Skip to content

Instantly share code, notes, and snippets.

View izznfkhrlislm's full-sized avatar
🏠

Izzan Fakhril Islam izznfkhrlislm

🏠
View GitHub Profile
@rahulrathore44
rahulrathore44 / CsvConfiguration.java
Last active August 23, 2023 13:07
Cucumber Data Tables - Excel Data to Data Table
package io.testing.tables.csvtable;
import java.util.Objects;
public class CsvConfiguration {
private final String fileName;
public String getFileName() {
return fileName;
@albertusdev
albertusdev / base_network_service.dart
Last active May 25, 2020 14:04
Base code for CRUD usecases in Flutter
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:meta/meta.dart';
import 'errors.dart';
import 'models/base_model.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/foundation.dart';
@diegopacheco
diegopacheco / latest-protobuf-ubuntu-18-04.md
Created June 7, 2018 20:13
How to Install Latest Protobuf on Ubuntu 18.04
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig
@esteedqueen
esteedqueen / fix_rbenv.md
Last active June 3, 2024 08:02
How to fix rbenv: version `x.x.x` is not installed

So, you just cloned an existing project's repo and you run bundle install but you got the error: rbenv: version x.x.x is not installed....

What the issue means? The project uses a specific ruby version that you do not have on your system.

Here's how to fix it:

  • Install the Ruby build for the specified version using:
rbenv install x.x.x
@ibraheem4
ibraheem4 / postgres-brew.md
Last active June 28, 2024 18:57 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@alphamu
alphamu / Android Using Handler With Orientation Change
Created August 15, 2013 06:54
Example on how to create a static handler in an Android Activity so that there are no memory leaks and we can support orientation change and still have messages with a long delay delivered to the activity in the foreground.
package com.alimuzaffar.android.handlertest;
import java.lang.ref.WeakReference;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.Menu;
import android.view.View;