Skip to content

Instantly share code, notes, and snippets.

View farolanf's full-sized avatar

Farolan Faisal farolanf

View GitHub Profile
@farolanf
farolanf / howto.md
Last active March 9, 2023 14:40
VSCode flutter on remote machine

launch.json

 "configurations": [
   {
     ...
     "request": "launch",
     "type": "dart",
     "args": ["--host-vmservice-port", "65001", "--dds-port", "65002"]
@farolanf
farolanf / inline-styles.mjs
Last active May 17, 2023 01:04 — forked from Igloczek/inline-styles.mjs
Astro JS - Inline CSS
import path from 'node:path'
import fs from 'node:fs/promises'
import { globby } from 'globby'
const files = await globby('./dist/**/index.html')
await Promise.all(
files.map(async (htmlPath) => {
const pageStyles = []
const stylesPaths = []
@farolanf
farolanf / rearct-native-app-in-wsl2.md
Created December 15, 2020 13:29 — forked from bergmannjg/rearct-native-app-in-wsl2.md
Building a react native app in WSL2