- Instale a API do Github, você pode saber mais detalhes em Github CLI
- Faça o download do arquivo acima
initProject.sh
. Sugestão, salve na pasta do seu usuário. - Faça as modificações, para que se adeque ao seu modo de uso, defina as pastas.
- Note que é possível criar, tanto no seu perfil, quanto em uma organização, desde que tenha permissão para isso.
- Se você usa
ZSH
, adicione a linhasource ~/initProject.sh
e reinicei seu terminal, para que as configuração sejam carregas. - Após configurar, basta executar
initProject
e responder a pergunta e seu projeto será criado.
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
// Essa função getSearchParams() é usada para verificar os parâmentros na URL, ela é usada em outras funções. | |
getSearchParams(page = null) { | |
const currentUrl = new URL(window.location.href); | |
const params = {}; | |
const urlParams = new URLSearchParams(window.location.search); | |
if (this.form.tab_sales_rank_date) { | |
const {transformInitDate} = transformDate(this.form.tab_sales_rank_date) | |
if (this.form.tab_sales_rank_date) { | |
params.date = transformInitDate |
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
{ | |
"private": true, | |
"type": "module", | |
"scripts": { | |
"dev": "vite", | |
"build": "vite build" | |
}, | |
"devDependencies": { | |
"@tailwindcss/forms": "^0.5.3", | |
"@tailwindcss/typography": "^0.5.9", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:gravity="fill_vertical" android:drawable="@color/splashscreen_background"/> | |
<item | |
android:drawable="@drawable/logo_icon" | |
android:width="163dp" | |
android:height="140dp" | |
android:gravity="center"/> | |
<item | |
android:width="322dp" |
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
// | |
// PerfectWidget.swift | |
// PerfectWidget | |
// | |
// Created by Evandro Ribeiro on 04/01/23. | |
// | |
import WidgetKit | |
import SwiftUI |
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, View, Alert } from 'react-native' | |
import { Header } from '../components/Header' | |
import { Task, TasksList } from '../components/TasksList' | |
import { TodoInput } from '../components/TodoInput' | |
export interface INewTitle { | |
taskId: number | |
newTitle: string |
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, useEffect } from "react"; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
ScrollView, | |
View, | |
Text, | |
FlatList, | |
StatusBar, | |
} from "react-native"; |
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 styled, { css } from 'styled-components'; | |
interface ContainerProps { | |
isFocused: boolean; | |
isFilled: boolean; | |
isErrored: boolean; | |
isFullWidth?: boolean; | |
} | |
export const Container = styled.div<ContainerProps>` |
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
{ | |
"notifications": [ | |
{ | |
"id": 1, | |
"message": "Message", | |
"date": "2020-02-03T14:09:52.587Z" | |
}, | |
{ | |
"id": 2, | |
"message": "Message 2", |
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, useEffect, useRef } from "react"; | |
import { | |
View, | |
Image, | |
StyleSheet, | |
TextInput, | |
Text, | |
StatusBar, | |
TouchableOpacity, | |
AsyncStorage, |
NewerOlder