- Setup the StencilJS development environment by cloning
https://github.com/ionic-team/stencil-component-starter.git
- The starter comes with a sample web component called
my-component
. I have used this as a sample and tried to see if I can integrate this with my existing ReactJS app https://github.com/ERS-HCL/react-snack-app . - The main goal was to see
- Evaluate the requirements to integrate with an existing React JS app.
- See if it works on all browsers after this integration
- Step 1 - Build Web Component
- Build the stencil component starter project (after the initial setup steps)
This file contains 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
#lang typed/racket | |
(: fib (-> Number Number)) | |
(define (fib n) | |
(fib-iter 0 1 n)) | |
(: fib-iter (-> Number Number Number Number)) | |
(define (fib-iter a b n) | |
(if (= n 0) a | |
(fib-iter b (+ a b) (- n 1)))) |
This file contains 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
https://codeberg.org/amano.kenji/j3blocks | |
https://codeberg.org/amano.kenji/j3blocks-extra | |
https://git.envs.net/iacore/janet-sibilant-web | |
https://git.envs.net/iacore/janet-signal | |
https://git.sr.ht/~alect/fantasy-console-carts | |
https://git.sr.ht/~alect/jaydate | |
https://git.sr.ht/~alect/junk-drawer | |
https://git.sr.ht/~alect/secret-santa-jam-2022 | |
https://git.sr.ht/~bakpakin/bee-server | |
https://git.sr.ht/~bakpakin/jvk |
This file contains 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 REPL-based, annotated Seesaw tutorial | |
; Please visit https://github.com/daveray/seesaw for more info | |
; | |
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers | |
; Seesaw's basic features and philosophy, but only scratches the surface | |
; of what's available. It only assumes knowledge of Clojure. No Swing or | |
; Java experience is needed. | |
; | |
; This material was first presented in a talk at @CraftsmanGuild in | |
; Ann Arbor, MI. |
This file contains 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
#!/usr/bin/env python | |
import Tkinter | |
FONT = ('courier new',24,'bold') | |
def main(): | |
mainWindow = Tkinter.Tk() | |
mainWindow.title("Color Preview") | |
mainFrame = Tkinter.Frame(mainWindow) |
This file contains 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
from tkinter import Tk, Entry, StringVar, Button | |
class Expression: | |
expression = "" | |
@classmethod | |
def set(cls, expression): | |
cls.expression = expression | |
return cls.expression |
This file contains 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
import tkinter | |
from tkinter import messagebox | |
class App(): | |
def __init__(self): | |
self.root = tkinter.Tk() | |
self.root.title("ATHA RENT CAR") | |
self.root.geometry("300x200") | |
self.listnama = [] |
This file contains 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
# BASIC TKINTER CHEATSHEET | |
# Build basic GUIs with Python | |
from tkinter import * | |
from tkinter import scrolledtext | |
from tkinter import messagebox | |
from tkinter.ttk import Progressbar | |
from tkinter import filedialog | |
from tkinter import Menu |
This file contains 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
// This sample will guide you through elements of the F# language. | |
// | |
// ******************************************************************************************************* | |
// To execute the code in F# Interactive, highlight a section of code and press Alt-Enter in Windows or | |
// Ctrl-Enter Mac, or right-click and select "Send Selection to F# Interactive". | |
// You can open the F# Interactive Window from the "View" menu. | |
// ******************************************************************************************************* | |
// For more about F#, see: |
NewerOlder