Skip to content

Instantly share code, notes, and snippets.

View fer-ri's full-sized avatar

Ferri Sutanto fer-ri

  • Purwokerto, Indonesia
View GitHub Profile
fer-ri /
Created October 22, 2023 08:32 — forked from dungsaga/
Voice removal AKA karaoke creator
fer-ri / docker-compose.yml
Created March 8, 2023 05:54 — forked from elvinlari/docker-compose.yml
Docker Compose yaml file
version: '3'
context: ./docker
dockerfile: nginx.dockerfile
fer-ri / bmi.dart
Created September 25, 2020 03:55 — forked from roipeker/bmi.dart
BMI Calculator clone with GetX (+ Theme modes)
import 'dart:async';
import 'dart:math' as math;
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_icons/flutter_icons.dart';
import 'package:get/get.dart';
fer-ri /
Created August 3, 2020 09:41 — forked from CodingDoug/
Patterns for security with Firebase Authentication: offload work to Cloud Functions

This is the runnable sample code from the blog post [Patterns for security with Firebase Authentication: offload work to Cloud Functions][1]. It discusses offloading work from a client app to Cloud Functions using an authentication trigger.

  1. Create a new Firebase project
  2. Enable email/password authentication
  3. Provision Cloud Firestore and apply the rules given in this gist
  4. Use the Firebase CLI to create a workspace for Functions using TypeScript
  5. Deploy the given HTML and JavaScript to Firebase Hosting (the CLI emulator will also work).
  6. Deploy the function code to Cloud Functions using the Firebase CLI
fer-ri / fade_on_scroll.dart
Created July 29, 2020 02:57 — forked from smkhalsa/fade_on_scroll.dart
A Widget that automatically fades its child based on scroll position
import 'package:flutter/material.dart';
class FadeOnScroll extends StatefulWidget {
final ScrollController scrollController;
final double zeroOpacityOffset;
final double fullOpacityOffset;
final Widget child;
{Key key,
fer-ri / main.dart
Created June 28, 2020 09:36 — forked from PetreaLoredana/main.dart
This code generates a screen with a custom bidirectional and infinite scrollable PageView in Flutter. Replace your own assets names. More details can be found on Medium.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() => runApp(CustomPageViewApp());
class CustomPageViewApp extends StatelessWidget {
Widget build(BuildContext context) {
fer-ri / main.dart
Created May 14, 2020 13:21 — forked from MarcinusX/main.dart
Ripple effect transition
import 'package:flutter/material.dart';
import 'package:rect_getter/rect_getter.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
title: 'Fab overlay transition',
fer-ri / google-drive.js
Created October 5, 2018 01:41 — forked from luyx2412/google-drive.js
React native login google, and google drive. Save storage and get again data when uninstall app.
* Google Drive
* created by
import React, { Component } from 'react';
import {
fer-ri / Errors.js
Created March 19, 2018 03:31 — forked from jeffochoa/Errors.js
Vue Form and Error validator (Laracasts)
class Errors {
* Create a new Errors instance.
constructor() {
this.errors = {};
fer-ri / .gitlab-ci.yml
Created March 9, 2018 15:04 — forked from kariae/.gitlab-ci.yml
GitLab CI/CD configuration for Symfony
- test
- install
- build