Skip to content

Instantly share code, notes, and snippets.

View alfaben12's full-sized avatar
🇮🇩
Working from anywhere

Thariq Alfa alfaben12

🇮🇩
Working from anywhere
View GitHub Profile
@alfaben12
alfaben12 / main.dart
Created September 10, 2020 04:18 — forked from kumar-aakash86/main.dart
Single Finger Widget Resize
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
@alfaben12
alfaben12 / backends.js
Created November 4, 2019 10:06 — forked from kevinswiber/backends.js
Express Gateway Example with Multiple Services
const express = require('express');
const forum = express();
forum
.get('/healthz', (req, res, next) => {
res.send({ name: 'forum', status: 'healthy' });
next();
})
.get('/d/:id', (req, res, next) => {