Skip to content

Instantly share code, notes, and snippets.

View alfianyusufabdullah's full-sized avatar
📚
Sometimes playing with Code & Fish

Alfian Yusuf Abdullah alfianyusufabdullah

📚
Sometimes playing with Code & Fish
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
:root {
--textColor: black;
name: Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
Deploy-Production:
import NextAuth from 'next-auth'
import Providers from 'next-auth/providers'

export default NextAuth({
  providers: [
    Providers.Strava({
      clientId: process.env.STRAVA_CLIENT_ID,
      clientSecret: process.env.STRAVA_CLIENT_SECRET,
      authorize: async (credentials) => {
rejection_submissions_count: "8755"
rejection_submissions_waiting_time: "12339530"
submissions_count: 19689
submissions_waiting_time: "28154025"
total_less_than_24_submission: "2390"
total_more_than_72_submission: "15253"
weekend_submission_count: "5022"
weekend_submission_waiting_time: "8242654"
{
"name": "<strong>Alfian</strong>",
"alamat": "bandung",
"umur" : "25"
}
{
"name": "Alfian",
"alamat": "bandung",
"umur" : "25"
}
#!/usr/bin/env bash
# https://medium.com/@nocnoc/combined-code-coverage-for-flutter-and-dart-237b9563ecf8
# remember some failed commands and report on exit
error=false
show_help() {
printf "usage: $0 [--help]
Tool for running all unit and widget tests with code coverage and automatically generated if lcov is installed.
RestaurantFavoritePageProvider({String id, bool isDetailPage}) {
_databaseHelper = DatabaseHelper();
loadFavoriteRestaurant();
if (isDetailPage) {
checkIfRestaurantIsFavorite(id);
}
}
interface Database {
fun read(): String
fun create(): String
}
class MySQL: Database {
override fun read() = "MYSQL read database"
override fun create() = "MYSQL create database"
}