A gtk+adwaita markdown editor in ~600 lines that uses a webview with marked.js and katex for rendering markdown. This is made as a self contained uv script to be very portable
- Gimel Studio https://github.com/GimelStudio/GimelStudio
- chaiNNer https://github.com/chaiNNer-org/chaiNNer
- GIE https://github.com/alexge50/gie
Browser based
- NIMP https://github.com/dan335/nimp https://nimp.app/
- Flow engine image https://github.com/NORYOM/Flow-Engine-Image https://rawcdn.githack.com/NORYOM/Flow-Engine-Image/68d75b69f16b8fabc20fc0c4603c9f9476e5e5de/canvas.html http://manmanerwan.cn/
- Pixel Flow https://github.com/madbrain/pixel-flow
- batchnode https://batchnode.com/ https://batchnode.com/app.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require('express'); | |
| const htm = require('htm'); | |
| const vhtml = require('vhtml'); | |
| // create an html`` tag function for vhtml: | |
| const html = htm.bind(vhtml); | |
| const App = (props) => html` | |
| <div class="app"> | |
| <h1>This is an app</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const rules = [ | |
| { type: 'space', regex: /^\s/ }, | |
| { type: 'lParen', regex: /^\(/ }, | |
| { type: 'rParen', regex: /^\)/ }, | |
| { type: 'number', regex: /^[0-9\.]+/ }, | |
| { type: 'string', regex: /^".*?"/ }, | |
| { type: 'variable', regex: /^[^\s\(\)]+/ } // take from the beginning 1+ characters until you hit a ' ', '(', or ')' // TODO - support escaped double quote | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const puppeteer = require('puppeteer'); | |
| (async () => { | |
| const browser = await puppeteer.launch(); | |
| const page = await browser.newPage(); | |
| // Adjustments particular to this page to ensure we hit desktop breakpoint. | |
| page.setViewport({width: 1000, height: 600, deviceScaleFactor: 1}); | |
| await page.goto('https://www.chromestatus.com/samples', {waitUntil: 'networkidle'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MIT License | |
| Copyright (c) 2017 Antonio De Lucreziis | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
Kotlin is great for creating small command-line utilities, which can be packaged and distributed as normal JAR files. This short tutorial will show you how to:
- Set up a Gradle project that supports Kotlin
- Add a starting function
- Configure your build to call this function when you execute your JAR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The question was asked why I (as a programmer who prefers dynamic languages) don't consider static types "worth it". Here | |
| is a short list of what I would need from a type system for it to be truely useful to me: | |
| 1) Full type inference. I would really prefer to be able to write: | |
| (defn concat-names [person] | |
| (assoc person :full-name (str (:first-name person) | |
| (:second-name person)))) | |
| And have the compiler know that whatever type required and produced from this function was acceptible as long as the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| A small library that adds a template engine and a one way binding mechanism. All in 200 lines of code. | |
| */ |
NewerOlder

