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
function TabForm(props: ITabFormProps) { | |
const { | |
tab: defaultTab, | |
id, | |
handleMoveTask, | |
itemName, | |
minimumTabs, | |
index, | |
onChangeTitle, | |
onDiscard, |
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
<div id='calendar'></div> |
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
Homebrew build logs for [email protected] on macOS 10.15.6 | |
Build date: 2020-09-24 14:05:49 |
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
const Noti = forwardRef(({ title, content, onClose }, ref) => { | |
const show = () => { | |
console.log(title, content) | |
} | |
useImperativeHandle(ref, () => { | |
return { | |
trigerNoti: () => { | |
show() | |
} | |
} |
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
class Noti extends React.Component { | |
show() { | |
console.log("show"); | |
} | |
render() { | |
return "eee"; | |
} | |
} |
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
// Modules to control application life and create native browser window | |
const {app, BrowserWindow} = require('electron') | |
const path = require('path') | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the JavaScript object is garbage collected. | |
let mainWindow | |
function createWindow () { | |
// Create the browser window. |
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 React, { useState } from 'react'; | |
import { StyleSheet, Text, View, TextInput, Button, Alert } from 'react-native'; | |
export default function App() { | |
const [ text, setText ] = useState("This is our message on Screen"); | |
const [ todo, setTodo ] = useState(""); | |
addTodo = () => { | |
setTodo(text); | |
Alert.alert('Alert Box', "Oops you Touch Me!"); | |
} |
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
addi $s0 , $s1, 10 // f = g + 10 < บวกค่า 10 ไปตรงๆ | |
---- ลบกับค่าคงที่ ---- | |
addi $s0, $s1, -10 // f = g - 10 |
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
add $t0,$s0,$s1 //temp = b + c | |
add $t1,$t0,$s2 //temp = temp + d | |
sub $s4,$t1,$s3 //a = temp - e |
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
add $s0 , $s1 , $s2 | |
//เอา $s1 + $s2 ไปเก็บใน $s0 | |
sub $s3, $s4 , $s5 | |
//เอา $s4 - $s5 ไปเก็บใน $s3 |
NewerOlder