Skip to content

Instantly share code, notes, and snippets.

View tinwritescode's full-sized avatar
🏝️
Working remotely

Tin Nguyen tinwritescode

🏝️
Working remotely
View GitHub Profile
Quy định cho đăng ký Player
1. Độc thân
Hãy đảm bảo bạn còn độc thân hoặc được đối tượng là vợ/chồng của bạn cho phép. Real Love từ chối trách nhiệm với những gì xảy ra ngoài ý muốn.
2. Gặp gỡ Offline
Hãy tìm kiếm một địa điểm mà đảm bảo sự an toàn cho bạn hoặc đăng ký tài khoản VIP để được quyền lợi bảo vệ từ đội ngũ bảo vệ REAL LOVE.
Real Love từ chối trách nhiệm với những rủi ro nằm ngoài hệ thống REAL LOVE.
3. Không có ngôn từ gây thù ghét hoặc bắt nạt
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import { TouchableOpacity } from "react-native";
import * as DocumentPicker from "expo-document-picker";
import RNFetchBlob from 'rn-fetch-blob'
export default function App() {
const onPress = async () => {
let result = await DocumentPicker.getDocumentAsync({
//@version=5
strategy("My Strategy", overlay=true)
source = close
var float[] arr = array.from(1.0, -2.0, 3.0, -4.0, 3.0)
// get new price equal to the old price
var float newPrice = source
// for each next 5 candles, get the new price equal old price plus each element of the array
declare
I_EMPNO EMP_19127582.EMPNO %TYPE := 7654;
O_ENAME EMP_19127582.ENAME %TYPE;
O_ANUAL_SAL NUMBER;
begin
SP_CAU1_THUTHAPNV_19127582(
I_EMPNO => I_EMPNO,
O_ENAME => O_ENAME,
O_ANUAL_SAL => O_ANUAL_SAL
);
create procedure sp_Cau1_ThuThapNV_19127582(
i_EMPNO in EMP_19127582.EMPNO%TYPE,
o_ENAME out EMP_19127582.ENAME%TYPE,
o_ANUAL_SAL out number
) as
begin
select ename, (sal * 12) + NVL(comm, 0) into o_ENAME, o_ANUAL_SAL
from EMP_19127582 where empno = i_EMPNO;
end;
/
create procedure sp_cautrucbangemp_19127582 is
-- data types
cursor c_emp is
select column_name, data_type from ALL_TAB_COLS where table_name = 'EMP_19127582';
type ROW_TYPE is record(column_name ALL_TAB_COLS.column_name%type, data_type ALL_TAB_COLS.data_type%type);
-- declare variables
result ROW_TYPE;
begin
INSERT INTO EMP_19127582 VALUES (7839, 'KING', 'PRESIDENT', NULL, to_date('17-11-1981', 'dd-mm-yyyy'), 5000, NULL, 10);
INSERT INTO EMP_19127582 VALUES (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP_19127582 VALUES (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP_19127582 VALUES (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP_19127582 VALUES (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP_19127582 VALUES (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP_19127582 VALUES (7844, 'TURNER', 'SALESMAN', 7698, to_date('8-9-1981', 'dd-mm-yyyy'), 1500, 0, 30);
INSERT INTO EMP_19127582 VALUES (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP_19127582 VALUES (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP_1912758
@tinwritescode
tinwritescode / chat.sql
Created December 15, 2021 15:15
chat.sql
CREATE TABLE users (id integer primary key autoincrement, username string unique, password string, email string unique)
CREATE TABLE messages (id integer primary key autoincrement, message string, time timestamp default current_timestamp not null, sender integer references users(id), receiver integer references users(id))
# DO NOT DELETE THIS LINE*** version=1 ***
#
# Đây là file chứa danh sách các từ gõ tắt của bộ gõ Bamboo.
# Mỗi dòng trong danh sách này gồm 2 phần được ngăn cách bởi dấu ':'
# - Phần đầu là chữ tắt mà bạn muốn gõ nhanh
# - Phần sau là đoạn văn đầy đủ mà bạn muốn thay thế
#
# Bên dưới là một số từ gõ tắt được liệt kê sẵn, bỏ dấu # đầu dòng để có hiệu lực
#vn:Việt Nam