repo
stringlengths
8
123
branch
stringclasses
178 values
readme
stringlengths
1
441k
description
stringlengths
1
350
topics
stringlengths
10
237
createdAt
stringlengths
20
20
lastCommitDate
stringlengths
20
20
lastReleaseDate
stringlengths
20
20
contributors
int64
0
10k
pulls
int64
0
3.84k
commits
int64
1
58.7k
issues
int64
0
826
forks
int64
0
13.1k
stars
int64
2
49.2k
diskUsage
float64
license
stringclasses
24 values
language
stringclasses
80 values
onanuviie/Wordle-Clone
master
# Wordle-Clone ## Table of contents - [Overview](#overview) - [Screenshot](#screenshot) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) ## Overview ### Screenshot ![](wordle.png) ### Links - See what the game looks like and play it [here](https://onanuviie.github.io/Wordle-Clone/) ## My process ### Built with - Semantic HTML5 markup - CSS custom properties - Flexbox - setTimeout() - setAttribute() - getAttribute() - css Animations - Array Methods
Wordle Game Clone
css-animations,css-flexbox,css-flexbox-layout,css3,html5,javascript,javascript-game,clone,wordle,wordle-clone
2023-03-03T12:48:02Z
2023-03-05T08:24:03Z
null
1
0
14
0
0
3
null
null
JavaScript
mdmahfuzrp/ai-universe-hub-api
main
<div> 👨‍💻Here is some information, who made this site <div>Md Mahfuz RP</div> <div>Computer Science Technology Student</div> <div>Infra Polytechnic Institute, Barishal</div> </div> <div> <div>✍️Here is some information about coding language</div> <div>Html, Css, Tailwind CSS, Pure JavaScript, API, DaisyUI</div> </div> <div>💎AI UNIVERSE HUB - ASSIGNMENT 6 <div>🖥️Live Site : https://ai-universe-hub-a6.netlify.app/</div> <div>💻Source Code : https://github.com/programming-hero-web-course2/b7a6-ai-universe-assignment-mdmahfuzrp</div> </div> <div> 👉My Social Media <a href="https://github.com/mdmahfuzrp" target="_blank">Github</a> <a href="https://www.linkedin.com/in/mdmahfuzrp/" target="_blank">Linkedin</a> <a href="https://www.facebook.com/mdmahfuzrp1/" target="_blank">Facebook</a> <a href="https://www.instagram.com/mdmahfuzrp/" target="_blank">Instagram</a> </div>
Ai Universe Hub - All data from APi
api,javascript,mahfuzrp,mdmahfuzrp
2023-03-05T16:27:08Z
2023-03-05T16:28:22Z
null
1
0
1
0
0
3
null
null
JavaScript
amirhoseinarjmand/Ecommerce-react
master
قابلیت های سایت: سبدخرید - تم دارک و لایت - کاملا ریسپانسیو - فیلتر کردن محصولات ----------------------------------------------- created by React.js - Bootstrap - Css - HTML ----------------------------------------------- ![Screenshot (122)](https://user-images.githubusercontent.com/103599760/222654886-f6dadc62-81a7-4b08-865d-555e06b5ee2c.png) ![Screenshot (125)](https://user-images.githubusercontent.com/103599760/222654953-c6d52c8e-a703-4cdd-a169-672e9b3cb8d4.png) ![Screenshot (123)](https://user-images.githubusercontent.com/103599760/222654981-48cc0c13-3ed2-443c-89f8-be2296230169.png) ![Screenshot (124)](https://user-images.githubusercontent.com/103599760/222655019-d2263161-9483-4dcc-bc51-46edb5dc6181.png) ![Screenshot (128)](https://user-images.githubusercontent.com/103599760/222655241-11bbfd45-d9f1-4d99-8ec4-21dd82238e8d.png) ![Screenshot (126)](https://user-images.githubusercontent.com/103599760/222655301-a51aee9e-ca36-4185-af11-d6658e2c1e53.png) ![Screenshot (127)](https://user-images.githubusercontent.com/103599760/222655364-2d0a0023-1c0b-48e9-b091-2fb601c5ec2c.png)
Made with React.js
react,bootstrap,css,html,javascript,react-router-dom
2023-03-03T06:38:05Z
2023-03-03T07:19:50Z
null
1
0
31
0
0
3
null
null
JavaScript
ViktorSvertoka/goit-js-hw-05
main
# Критерії прийому - Створено репозиторій `goit-js-hw-05` - При здачі домашньої роботи є посилання на вихідні файли в репозиторії - Кожне завдання виконано в окремому файлі з ім'ям `task-номер_завдання.js`. Використовуй `<script type="module">` щоб закрити код завдання в окремій області видимості і уникнути конфліктів імен ідентифікаторів. - Імена змінних зрозумілі, описові - Код відформатований за допомогою Prettier # Завдання 1 Напиши функцію-конструктор `Account`, яка створює об'єкт з властивостями `login` і `email`. В `prototype` функції-конструктора добав метод `getInfo()`, який виводить в консоль значення полів `login` і `email` об'єкта який його викликав. ```js console.log(Account.prototype.getInfo); // function const mango = new Account({ login: "Mangozedog", email: "mango@dog.woof", }); mango.getInfo(); // Login: Mangozedog, Email: mango@dog.woof const poly = new Account({ login: "Poly", email: "poly@mail.com", }); poly.getInfo(); // Login: Poly, Email: poly@mail.com ``` # Завдання 2 Напиши клас `User` для створення користувача з наступними властивостями: - `name` - рядок - `age` - число - `followers` - число Добав метод `getInfo()`, який, виводить рядок: `User ${ім'я} is ${вік} years old and has ${кількість фоловерів} followers` ```js const mango = new User({ name: "Mango", age: 2, followers: 20, }); mango.getInfo(); // User Mango is 2 years old and has 20 followers const poly = new User({ name: "Poly", age: 3, followers: 17, }); poly.getInfo(); // User Poly is 3 years old and has 17 followers ``` # Завдання 3 Напиши клас `Storage`, який буде створювати об'єкти для управління складом товарів. При виклику буде отримувати один аргумент - початковий масив товарів, і записувати його у властивість `items`. Додай методи класу: - `getItems()` - повертає масив поточних товарів - `addItem(item)` - отримує новий товар і додає його до поточних - `removeItem(item)` - отримує товар і, якщо він є, видаляє його з поточних ```js const storage = new Storage([ "Нанітоіди", "Пролонгер", "Залізні жупи", "Антигравітатор", ]); const items = storage.getItems(); console.table(items); // [ "Нанітоіди", "Пролонгер", "Залізні жупи", "Антигравітатор" ] storage.addItem("Дроїд"); console.table(storage.items); // [ "Нанітоіди", "Пролонгер", "Залізні жупи", "Антигравітатор", "Дроїд" ] storage.removeItem("Пролонгер"); console.table(storage.items); // [ "Нанітоіди", "Залізні жупи", "Антигравітатор", "Дроїд" ] ``` # Завдання 4 Напиши клас `StringBuilder`. На вхід він отримує один параметр - рядок, який записує у властивість `_value`. Додай класу наступний функціонал: - Геттер `value` - повертає поточне значення поля `_value` - Метод `append(str)` - отримує параметр str (рядок) і додає його в кінець `_value` - Метод `prepend(str)` - отримує параметр str (рядок) і додає його на початок `_value` - Метод `pad(str)` - отримує параметр str (рядок) і додає його на початок і в кінець `_value` ```js const builder = new StringBuilder("."); builder.append("^"); console.log(builder.value); // '.^' builder.prepend("^"); console.log(builder.value); // '^.^' builder.pad("="); console.log(builder.value); // '=^.^=' ``` # Завдання 5 Напиши клас `Car` із зазначеними властивостями і методами. ```js class Car { /* * Додай статичний метод `getSpecs(car)`, * який приймає об'єкт-машину як параметр і виводить * в консоль значення властивостей maxSpeed, speed, isOn, distance и price. */ /* * Конструктор отримує об'єкт налаштувань. * * Додай властивості майбутнього екземпляра класу: * speed - поточна швидкість, початкова 0 * price - ціна автомобіля * maxSpeed - максимальна швидкість * isOn - заведений автомобіль, значення true або false. Спочатку false * distance - загальний кілометраж, спочатку 0 */ constructor() {} /* * Додай геттер і сеттер для властивості price, * який буде працювати з властивістю ціни автомобіля. */ /* * Додай код для того, щоб завести автомобіль * Записує у властивість isOn значення true */ turnOn() {} /* * Додай код для того, щоб заглушити автомобіль * Записує у властивість isOn значення false, * і скидає поточну швидкість в 0 */ turnOff() {} /* * Додає до властивості speed отримане значення, * за умови, що результуюча швидкість * не більше, ніж значення властивості maxSpeed */ accelerate(value) {} /* * Забирає від властивості speed отримане значення, * за умови, що результуюча швидкість не менше нуля */ decelerate(value) {} /* * Додає в поле distance кілометраж (hours * speed), * але тільки в тому випадку, якщо машина заведена! */ drive(hours) {} } const mustang = new Car({ maxSpeed: 200, price: 2000 }); mustang.turnOn(); mustang.accelerate(50); mustang.drive(2); Car.getSpecs(mustang); // maxSpeed: 200, speed: 50, isOn: true, distance: 100, price: 2000 mustang.decelerate(20); mustang.drive(1); mustang.turnOff(); Car.getSpecs(mustang); // maxSpeed: 200, speed: 0, isOn: false, distance: 130, price: 2000 console.log(mustang.price); // 2000 mustang.price = 4000; console.log(mustang.price); // 4000 ```
Home task for JavaScript course📒
css,gitignore,goit,goit-js-hw-05,html,javascript,learning,practice,prettier,ukraine
2023-03-01T15:04:12Z
2023-03-02T22:10:27Z
null
1
23
47
0
0
3
null
null
HTML
luciliogomez/pokedex
main
# pokedex https://pokedex-three-olive.vercel.app/ ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).
A VueJs app to explore pokemon characters
javascript,vuejs
2023-03-05T10:59:51Z
2023-03-26T05:52:34Z
null
1
0
5
0
0
3
null
null
Vue
ramonpaolo/bump-version
main
# Bump Version This GitHub Actions, get the value of tag, and pass to the application, replacing the static version in `package.json`, automatically, without create a new commit and manually change the version. This action, **works only** with push event of type **tags** Example: ```yml on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' ``` If you use this action with a worflow that run without this trigger, this step will break. ## Supported Languages At the moment, just support `package.json` that need exist in root folder ## Examples ```yml name: Deploy Package to NPM on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' jobs: publish_npm: name: Publishing to NPM runs-on: ubuntu-latest permissions: actions: write contents: write steps: - uses: actions/checkout@v3 - name: Setup NodeJs uses: actions/setup-node@v3 with: node-version: x.y # Version that you want use here registry-url: https://registry.npmjs.org/ - name: Install Packages run: yarn - name: Bump Version of package.json uses: ramonpaolo/bump-version@v2.3.1 with: tag: ${{ github.ref_name }} # Accessing the context and get the reference_name, that in this case, is the tag that you created(ex: v1.0.0) commit: true branch_to_push: 'main' - name: Publish package to NPM run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # NPM Token necessary to deploy packages on pipelines CI/CD ``` ## Input parameters | Name | Description | Required | Default | | :-- | :-- | :-- | :-- | | tag | The tag created(v.\*.\*.\*) | `true` | "v1.0.0" | | commit | Commit the bump | `false` | `false` | | branch_to_push | Which branch to push | `false` | "main" | ## Output parameters | Name | Description | | :-- | :-- | | parsed-tag | v1.0.0(input) = 1.0.0(output) |
Github Action to get the version on the tag and parser it to `version` on package.json
actions,github-actions,javascript,nodejs,good-first-issue,opensource
2023-02-26T01:02:03Z
2023-08-26T11:15:34Z
2023-08-26T11:15:34Z
1
0
24
0
0
3
null
MIT
JavaScript
abhishiv/rocky7
master
# rocky7 Fine grained reactive UI Library. [![Version](https://img.shields.io/npm/v/rocky7.svg?color=success&style=flat-square)](https://www.npmjs.com/package/rocky7) [![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT) [![Build Status](https://github.com/abhishiv/rocky7/actions/workflows/ci.yml/badge.svg)](https://github.com/abhishiv/rocky7/actions/workflows/ci.yml) ![Badge size](https://deno.bundlejs.com/?q=rocky7&config={%22analysis%22:undefined}&badge=) **npm**: `npm i rocky7` **cdn**: https://cdn.jsdelivr.net/npm/rocky7/+esm --- #### Features - **Small.** Fully featured at `~7kB` gzip. - **Truly reactive and fine grained.** Unlike react and other VDOM libraries which use diffing to compute changes, it use fine grained updates to target only the DOM which needs to update. - **No Magic** Explicit subscriptions obviate the need of [`sample`](https://github.com/luwes/sinuous/blob/8d1aa0cdb8a25e6bfcdf34f022523564a9adb533/src/observable.js#L34-L49)/[`untrack`](https://github.com/vobyjs/voby#untrack) methods found in other fine grained reactive libraries like solid/sinuous. _Importantly, many feel that this also makes your code easy to reason about._ - **Signals and Stores.** Signals for primitives and Stores for deeply nested objects/arrays. - **First class HMR** Preserves Signals/Stores across HMR loads for a truly stable HMR experience. - **DevEx.** no compile step needed if you want: choose your view syntax: `h` for plain javascript or `<JSX/>` for babel/typescript. - **Rich and Complete.** From support for `SVG` to popular patterns like `dangerouslySetInnerHTML`, `ref` to `<Fragment>` and `<Portal />` rocky has you covered. #### Ecosystem <table> <tr> <td> <a href="https://github.com/abhishiv/rocky7-router">rocky7-router</a> </td> <td> Router with a familiar react-router like API </td> </tr> <tr> <td> <a href="https://github.com/abhishiv/rocky7-yjs">rocky7-yjs</a> </td> <td> Bidirectional sync between Rocky7 stores and Yjs documents </td> </tr> </table> #### Sponsors <table> <tr> <td><img align="middle" width="48" src="https://www.grati.co/assets/logo-2c341a38.png"></td> <td>You might want to try out <a href="https://www.grati.co">grati.co</a>, a no-code programming environment with emacs like extensibility.</td> </tr> </table> #### Example [Counter - Codesandbox](https://codesandbox.io/s/counter-demo-rocky7-t7ift3?file=/src/index.tsx) ```tsx /** @jsx h **/ import { component, h, render } from "rocky7"; type Props = { name: string }; const Page = component<Props>("HomePage", (props, { signal, wire }) => { const $count = signal("count", 0); const $doubleCount = wire(($) => $count($) * 2); // explicit subscription return ( <div id="home"> <p>Hey, {props.name}</p> <button onClick={() => { $count($count() + 1); }} > Increment to {wire($count)} </button> <p>Double count = {$doubleCount}</p> </div> ); }); render(<Page name="John Doe" />, document.body); ``` ## Motivation This library is at its core inspired by [haptic](https://github.com/heyheyhello/haptic) that in particular it also favours manual subscription model instead of automatic subscriptions model. This oblivates the need of [`sample`](https://github.com/luwes/sinuous/blob/8d1aa0cdb8a25e6bfcdf34f022523564a9adb533/src/observable.js#L34-L49)/[`untrack`](https://github.com/vobyjs/voby#untrack) found in almost all other reactive libraries. Also it borrows the nomenclature of aptly named Signal and Wire from haptic. It's also influenced by Sinuous, Solid, & S.js ## API ### Core <details> <summary><strong>signal</strong>: create a signal</summary> ```tsx export const HomePage = component<{ name: string }>( "HomePage", (props, { signal, wire }) => { const $count = signal("count", 0); //.. rest of component } ); ``` </details> <details> <summary><strong>wire</strong>: create a wire</summary> ```tsx <div id="home"> <button onclick={() => { $count($count() + 1); }} > Increment to {wire(($) => $($count))} </button> </div> ``` </details> <details> <summary><strong>store</strong>: create a store to hold object/arrays</summary> ```tsx export const Todos = component("Todos", (props, { signal, wire, store }) => { const $todos = store("todos", { items: [{ task: "Do Something" }, { task: "Do Something else" }], }); return ( <ul> <Each cursor={$todos.items} renderItem={(item) => { return <li>{item.task}</li>; }} ></Each> </ul> ); }); ``` </details> <details> <summary><strong>defineContext</strong>: define context value</summary> ```tsx export const RouterContext = defineContext<RouterObject>("RouterObject"); ``` </details> <details> <summary><strong>setContext</strong>: set context value</summary> ```tsx const BrowserRouter = component("Router", (props, { setContext, signal }) => { setContext( RouterContext, signal("router", createRouter(window.history, window.location)) ); return props.children; }); ``` </details> <details> <summary><strong>getContext</strong>: get context value</summary> ```tsx const Link = component("Link", (props: any, { signal, wire, getContext }) => { const router = getContext(RouterContext); //... rest of component }); ``` </details> <details> <summary><strong>onMount</strong>: triggered on mount</summary> ```tsx export const Prosemirror = component("Prosemirror", (props, { onMount }) => { onMount(() => { console.log("component mounted"); }); // ... }); ``` </details> <details> <summary><strong>onUnmount</strong>: triggered on unmount</summary> ```tsx export const Prosemirror = component("Prosemirror", (props, { onUnmount }) => { onUnmount(() => { console.log("component unmounted"); }); // ... }); ``` </details> ### Helper Components <details> <summary><strong>When</strong>: reactive if</summary> ```tsx <When condition={($) => $count($) > 5} views={{ true: () => { return <div key="true">"TRUE"</div>; }, false: () => { return <div key="false">"FALSE"</div>; }, }} ></When> ``` </details> <details> <summary><strong>Each</strong>: reactive map</summary> ```tsx <Each cursor={$todos.items} renderItem={(item) => { return <li>{wire(item.task)}</li>; }} ></Each> ``` </details> <details> <summary><strong>Portal</strong>: mount outside of render tree</summary> ```tsx export const PortalExample = component("PortalExample", (props, utils) => { const $active = utils.signal("active", false); return ( <div> <button onClick={(e) => { $active(!$active()); }} > toggle modal </button> <When condition={($) => $active($)} views={{ true: () => { return ( <Portal mount={document.body}> <div style="position: fixed; max-width: 400px; max-height: 50vh; background: white; padding: 7px; width: 100%; border: 1px solid #000;top: 0;"> <h1>Portal</h1> </div> </Portal> ); }, false: () => { return ""; }, }} ></When> </div> ); }); ``` </details> ## Reciepes <details> <summary><strong>HMR</strong></summary> ```tsx /** @jsx h **/ import { h, render } from "rocky7"; import { Layout } from "./index"; const renderApp = ({ Layout }: { Layout: typeof Layout }) => render(<Layout />, document.getElementById("app")!); window.addEventListener("load", () => renderApp({ Layout })); if (import.meta.hot) { import.meta.hot.accept("./index", (newModule) => { if (newModule) renderApp(newModule as unknown as { Layout: typeof Layout }); }); } ``` </details> <details> <summary><strong>Refs</strong></summary> ```tsx /** @jsx h **/ export const Prosemirror = component("Prosemirror", (props, { onUnmount }) => { let container: Element | undefined = undefined; let prosemirror: EditorView | undefined = undefined; onUnmount(() => { if (prosemirror) { prosemirror.destroy(); } }); return ( <div style=" height: 100%; position: absolute; width: 100%;" ref={(el) => { container = el; if (container) { prosemirror = setupProsemirror(container); } }} ></div> ); }); ``` </details> <details> <summary><strong>dangerouslySetInnerHTML</strong></summary> ```tsx /** @jsx h **/ <div dangerouslySetInnerHTML={{ __html: `<!-- any HTML you want -->` }} /> ``` </details> ## Concepts ### Signals These are reactive read/write variables who notify subscribers when they've been written to. They act as dispatchers in the reactive system. ```tsx const $count = signal("count", 0); $count(); // Passive read (read-pass) $count(1); // Write ``` The subscribers to signals are wires, which will be introduced later. They subscribe by read-subscribing the signal. ### Stores Stores are for storing nested arrays/objects and also act as dispatchers in the reactive system. And like signals, stores can also be read subsribed by wires. Outside of wires, they can be read via `reify` function. Writes can be done via `produce` function immer style. ```tsx const val = { name: "Jane", friends: [{ id: "1", name: "John" }] }; const $profile = store("profile", val); // Passive read (read-pass) const friends = reify($profile.friends); console.log(friends.length); // Write produce($profile.friends, (friends) => { friends.push({ id: "2", name: "John Doe 2" }); }); ``` ### Wires These are task runners who subscribe to signals/stores and react to writes. They hold a function (the task) and manage its subscriptions, nested wires, run count, and other metadata. The wire provides a `$` token to the function call that, at your discretion as the developer, can use to read-subscribe to signals. ```tsx wire(($) => { // Explicitly subscribe to count signal using the subtoken "$" const count = $(count); // also possible to subscribe to a stores using "$" subtoken const friendsCount = $($profile.friends); return count + friendsCount; }); ```
Fine grained reactive UI library with no-magic(explicit subscriptions, named signals/components) and first class support for HMR.
fine-grained,framework-ui,reactiveui,ui-library,jsx,reactive,javascript
2023-03-05T16:41:50Z
2023-08-06T22:31:13Z
null
1
0
5
0
0
3
null
null
TypeScript
kunal-2002/hostel-management-system
master
# Hostel Management System A Hostel Management System used to manage students in hostels. It was made by using HTML, CSS, Javascript, PHP and MySQL. It was specially made for CRSSIET, Jhajjar students. ## Features - Registration for male and female - Admin Dashboard - Student Dashboard - Selection of block - View roommates - Apply Leave - Admin can approve and reject leave request - Admin can search student block details ## Deployment To deploy this project follow these steps: ```bash 1. Install Xampp 2. Place this folder in htdocs 3. Run Apache Server and MYSQL Database 4. Create Tables required. 5. Run the project by typing url(http://localhost/<YOUR FILE PATH>) ``` ## Authors - [@kunal-2002](https://github.com/kunal-2002) - [@Adarsh121003](https://github.com/Adarsh121003) ## 🚀 About Me Hi👋, I'm Kunal Kathpal. Student at Ch. Ranbir Singh State Institute Of Engineering and Technology, Jhajjar. ## 🛠 Skills HTML, CSS, JavaScript, React, PHP, MySQL, NodeJS, ExpressJS, MongoDB ## Support For support, email kkunal2103@outlook.com.
Hostel Management System is used to manage students in hostels. This was especially made for CRSSIET, Jhajjar students.
css,git,html,javascript,mysql,php,phpmyadmin,wamp,xampp
2023-03-05T16:49:00Z
2023-05-18T05:33:00Z
null
2
0
37
0
0
3
null
null
CSS
viktoriussuwandi/URL-Shortener-Microservice
main
# URL Shortener Microservice #### Documentation can be found on : [https://github.com/viktoriussuwandi/URL-Shortener-Microservice](https://github.com/viktoriussuwandi/URL-Shortener-Microservice) This is the result to complete the Exercise URL Shortener Microservice project. Instructions for building this project can be found at [https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/url-shortener-microservice](https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/url-shortener-microservice) ### Some of additional features : * Avoid duplicate original Url * Avoid duplicate short Url * Using local file to save user input ### Test Scenario : - You should provide your own project, not the example URL. - You can POST a URL to `/api/shorturl` and get a JSON response with `original_url` and short_url properties. Here's an example: `{ original_url : 'https://freeCodeCamp.org', short_url : 1}` - When you visit `/api/shorturl/<short_url>`, you will be redirected to the original URL. - If you pass an invalid URL that doesn't follow the valid `http://www.example.com` format, the JSON response will contain `{ error: 'invalid url' }` ### Test Result ![complete](complete.jpg)
Create URL Shortener Microservice using node JS
freecodecamp-challenge,freecodecamp-project,http,javascript,json,microservices,nodejs,replit,solution-challenge
2023-02-25T06:46:36Z
2023-12-27T11:55:40Z
null
1
0
26
0
1
3
null
null
JavaScript
prachit082/2D-Racing-Game
main
# ||2D-Dash|| **2D DASH is an Action Game created from Scratch using only Html & JavaScript** If you like this, then feel free to give it a star.⭐ ## Preview [**CLICK HERE TO PLAY & ENJOY THE GAME**](https://dash2d.pages.dev/) ### **CONTROLS** : -> *Press "**C**" on your keyboard to start* -> *Arrow Key "**^**" to accelerate* -> *Arrow Key "**<**" and "**>**" for Left & Right direction respectively* -> *Press "**M**" to mute the sound of the game* ### **FEATURES** : ---> *Video-Game like **nostalgic interface** & impressive speed* ---> *Added **bumpers** on path to the finish line* ---> *Added **difficulty scenario** in which user needs to come out of lane (**outside racing zone**) at a time to go ahead* ---> *Added Timer* ---> *Keeps records in Ascending to Descending order for the most **Less Time** required to complete the race*
Action Game in HTML
html,javascript
2023-03-05T13:40:59Z
2024-05-14T16:16:27Z
null
1
0
20
0
0
3
null
MIT
HTML
pujiragil/nuegas
master
null
Nuegas is ?
frontend,javascript,react,reactrouter,swiper,tailwindcss,typescript,vite,zustand
2023-02-25T02:36:42Z
2023-04-07T15:23:54Z
null
1
0
232
0
0
3
null
null
TypeScript
sergeysmolkinhtml/social-networking-site
main
**Introduction** _Site_ offers both basic and advanced social networking features. Users can create profiles, chat, share content, and connect with each other. Also includes tools for job seekers and employers reachable with just a one click in case you want to run your own business.
Social Finding a Job Site/Team Searching
laravel,vue,javascript,websocket,php,tailwindcss
2023-03-10T12:29:33Z
2023-04-16T18:05:12Z
null
1
0
117
8
0
3
null
null
PHP
sourav-biggboss/linkedin-increase-connection
main
# Get Linkedin connections for free You can get many connections on linkedIn. with this simple steps   ## How to get a Linkedin connection for free ? ### Follow this step and you can get as many connection you want for free :-- ##### Notice this only works for computers - Step 1: First copy the script, given in top of this page named script.js (you have to click on this script.js then a script will open) - Step 2: Just open linkedin (https://linkedin.com/) and login your account - Step 3: get go to connection section of linkedin - Step 4: then, press ctr + shift + i - Step 5: after that a dialogue box will appear, In the top dialogue box to can see console, just click on it - Step 6: then paste the script which you have copied #### Help us by having this reposisterty star click on sourav-biggboss > then find linkedin-increase-connection > left side click on star that's all #### Trust & Security This method will not harm your account. It is trusted, free to use and we don't take date from you. #### Disclaimer Please use this method for education and for fun we don't. we don't encourage the illegale activated Thank You Author: Sourav Maity
Get Linkedin connections for free
connection,free,javascript,linkedin,openscource
2023-03-02T09:08:10Z
2023-03-04T09:18:22Z
null
1
0
11
0
0
3
null
null
HTML
onanuviie/Dictionary-with-JS
master
# Dictionary with JS A dictionary made with Javascript and an API ### Screenshot ![](dictionary.png) ### Links - You can use the dictionary [here](https://onanuviie.github.io/Dictionary-with-JS/) - See free API used [here](https://dictionaryapi.dev/) ## My process ### Built with - Semantic HTML5 markup - CSS custom properties - Flexbox - A dictionary API - setAttribute() ### What I learnt This was my first time working with APIs and it was really fun. I learnt how to fetch data and properly copy paths to use in my projects
A dictionary
css3,dictionary,html,html5,javascript
2023-03-08T08:09:42Z
2023-03-08T08:53:25Z
null
1
0
4
0
0
3
null
null
CSS
hamza-ouaddi/To-Do-List
main
# To-Do-List This is a small "To Do List" project which is a website that has 2 sections "To buy list" and "To work list". To buy list shows the current date and you can add the things that you want to buy. To work list is for the tasks that you have in your day. I used EJS in this project to generate HTML markup without using many HTML pages, it's like a template that you can use it and replace the content using JavaScript. In addition, I used Node.js with express.js for the back-end, it was almost challenging and fun at the same time. There will be more features in this project in the future during the learning path. https://user-images.githubusercontent.com/80076862/224079643-9d579471-3d58-4284-93b8-e72061ada726.mp4 ## New Update [04/08/2023] I updated the project by adding a database to it using MongoDB with Mongoose. The website is built by EJS, Javascript, and Node.js with Express.js. Now the users are able to delete the items from the list, as well as create new lists with different titles. Moreover, if the users typed the same title of a previous list, they can reach the previous list with its items. The new website: [To Do List](https://to-do-list-4fft.onrender.com/) https://user-images.githubusercontent.com/80076862/230724913-b14981af-6bec-4785-a113-95064ccb8bf8.mp4
A To Do List Website, built using HTML, CSS, JavaScript, Nodejs, Express.js, Mongodb.
expressjs,javascript,mongodb,mongoose,nodejs
2023-03-03T15:02:56Z
2023-04-08T15:21:11Z
null
1
0
10
0
0
3
null
null
JavaScript
danielhaim1/TitleCaser
main
TitleCaser ========== [![npm version](https://img.shields.io/npm/v/@danielhaim/titlecaser)](https://www.npmjs.com/package/@danielhaim/titlecaser) [![Downloads](https://img.shields.io/npm/dt/@danielhaim/titlecaser.svg)](https://www.npmjs.com/package/@danielhaim/titlecaser) ![GitHub](https://img.shields.io/github/license/danielhaim1/titlecaser) Transform any text to proper title case format using popular style guides such as APA, AP, Chicago, NYT, Wikipedia, and British. Customize options to achieve greater flexibility and consistency. <a target="_blank" href="https://danielhaim1.github.io/TitleCaser/"><img src="https://raw.githubusercontent.com/danielhaim1/TitleCaser/main/docs/assets/demo.png" width="100%" height="auto" alt="TitleCaser Demo"></a> - [TitleCaser](#titlecaser) * [Demo](https://danielhaim1.github.io/TitleCaser/) * [CodePen Demo 1](https://codepen.io/danielhaim/pen/oNQgjBv) * [CodePen Demo 2](https://codepen.io/danielhaim/pen/oNPGzKw) * [Table of Contents](#table-of-contents) * [Introduction](#introduction) * [Key Features:](#key-features) * [Installation](#installation) * [Usage](#usage) * [Usage in the Browser](#usage-in-the-browser) * [Options](#options) * [Methods](#methods) * [Examples](#examples) + [Basic Usage](#basic-usage) + [Customizing Word Replacements Method](#customizing-word-replacements-method) + [Customizing TitleCaser](#customizing-titlecaser) + [TitleCaser with Default Word Replacement](#titlecaser-with-default-word-replacement) + [TitleCaser with Possessive Noun and a Colon](#titlecaser-with-possessive-noun-and-a-colon) * [Build Process](#build-process) * [Test](#test) * [Resources](#resources) * [Report Bugs](#report-bugs) Overview -------- The comprehensive Language Conventions and Style Library is specifically designed to assist web content developers in adhering to the latest style guides and English language conventions. This all-inclusive library has various features, including support for numerous style guides such as AP, APA, Chicago, NY Times, Wikipedia, and British styles and customizable preferences to tailor to individual needs. TitleCaser is a component of this library, and LCSL is set to be open-sourced by the end of 2023 To streamline workflow, modules are available in both browser and node environment versions and include a command-line interface for building, testing, and minimizing the module. Additionally, it features a filter ability that allows users to ignore certain phrases containing short words, preventing the module from mistakenly flagging instances where short words are used as part of a larger term or phrase. The module has been designed to handle various capitalization scenarios, including hyphenated words, prefixes, suffixes, reserved words, Roman numerals, proper nouns that contain lowercase letters, and words that require capitalization in specific contexts. This ensures that your content meets the appropriate style and formatting guidelines, regardless of the context. It also offers word replacement capabilities, as well as ignored phrases to create consistency in cases where certain terms may be capitalized differently depending on the context. Whether you're developing web content for a major news organization or simply looking to improve your writing skills, this module is an essential tool that can help ensure your work is accurate, consistent, and conforms to the latest style guidelines. ### Key Features: ### - Support for popular style guides and customizable preferences - Advanced capitalization handling for suffixes, prefixes, hyphenated words, and reserved words - Support for proper capitalization of Roman numerals and exclusion of specific words and phrases from title capitalization - Word replacement capabilities for consistency in capitalization Command-line interface for building, testing, and minimizing the module - Pre-defined word lists for articles, conjunctions, prepositions, and non-capitalized words in titles - Exclusion of common phrases from title capitalization Get Started ----------- You can install this module via npm: ```bash npm i @danielhaim/titlecaser ``` ### Usage ### The package can be imported and used in both Node.js and browser environments using the following syntax: ```js import "./path/to/@danielhaim/titlecaser"; const options = { style: 'chicago' }; const titleCaser = new TitleCaser(options); const input = 'the book of life'; const output = titleCaser.toTitleCase(input); console.log(output); // 'The Book of Life' ``` ### Usage in the Browser ### The function can also be used in a browser environment by including the `TitleCaser.amd.js` script in your HTML file: Here's an example of how to use the modulate function: ```html <script src="./path/to/TitleCaser.amd.js"></script> ``` After that, the `toTitleCase()` function can be accessed in your JavaScript code like this: ```js const options = { style: 'apa' }; const input = 'the future of devops: the next era'; const output = input.toTitleCase(options); console.log(output); // The Future of DevOps: The Next Era ``` ### Example 2 ### ```html <h2>nodejs development on aws: an in-depth tutorial on server-side javascript deployment</h2> <h2>the iphone's impact on modern communication: a sociolinguistic analysis</h2> <h2>back-end and front-end</h2> ``` ```js function applyTitleCaseToH2Elements(options = { style: "apa" }) { try { const h2Elements = document.querySelectorAll("h2"); h2Elements.forEach((h2) => { const innerHTML = h2.innerHTML; const modifiedContent = innerHTML.toTitleCase(options); h2.innerHTML = modifiedContent; }); } catch (error) { console.error( "An error occurred while applying title case transformation:", error ); } } applyTitleCaseToH2Elements(); ``` Options ------- The `{options}` parameter is an object that contains the settings for the conversion process. - `style`: determines the specific title case style to be applied. Permissible values include: `['ap', 'apa', 'british', 'chicago', 'nyt', 'wikipedia']` - `articlesList` refers to the words that should be treated as articles in title case. - `shortConjunctionsList` pertains to the words that should be treated as short conjunctions in title case. - `shortPrepositionsList` relates to the words that should be treated as short prepositions in title case. - `neverCapitalizedList` contains the words that should never be capitalized in title case. - `wordReplacementsList` is a map of terms that will be replaced during the title case conversion process. - `smartQuotes` boolean value that determines whether quotes should be replaced with smart quotes. Methods ------- - `setReplaceTerms(terms)`: Updates the `wordReplacementsList` with new term-replacement pairs. It accepts an array of objects, each containing a single key-value pair representing the term and its replacement. - `removeReplaceTerm(term)`: Removes a replaced term from the `wordReplacementsList` array in the option object of the `TitleCaser` instance. Throws an error if the term is not found in the array, otherwise removes it from the array and updates the option object. - `addReplaceTerm(term, replacement)`: Adds a single term-replacement pair to the `wordReplacementsList`. If the term already exists, it updates the replacement value. - `addExactPhraseReplacements(newPhrases)` - This method allows adding an array of exact phrase replacements to the `TitleCaser` class. Each item in the array should be an object with a single key-value pair, where the key is the phrase to be replaced and the value is the desired replacement. - `setStyle(style: string)`: Sets the style option in the object of the TitleCaser instance. The method takes a string argument style that specifies the style to use for the title casing. If the argument is not a string, the method throws a TypeError. Otherwise, it updates the style option in the object. - `smartQuotes(smartQuotes: boolean)`: Specifies whether to replace straight quotes with smart quotes during title casing. Provide a boolean argument smartQuotes to enable or disable this feature. Examples -------- The example below demonstrates how to use the TitleCaser class to convert a string to title case with custom options. ### Customizing Word Replacements Method ### In the example below, we create a new instance of the `TitleCaser` class with the `APA` style option. We then set multiple replacement terms using two separate calls to the `setReplaceTerms()` method. Descriptive variable names are used for the input string and expected output. We call `toTitleCase()` to convert the input string to a title case. ```js import "./path/to/@danielhaim/titlecaser"; const titleCaser = new TitleCaser({ style: 'apa' }); // Set multiple replacement terms using two separate calls to setReplaceTerms() titleCaser.setReplaceTerms({ 'hello world': 'Hello World', 'replace me': 'Replace Me' }); titleCaser.setReplaceTerms({ 'apa': 'APA' }); // Use descriptive variable names for the input and expected output const inputString = "hello world, replace me!"; const expectedOutput = "Hello World, Replace Me!"; // Call toTitleCase() to convert the input string to title case const outputString = titleCaser.toTitleCase(inputString); ``` ### Customizing TitleCaser ### The example below demonstrates how to use the TitleCaser class to convert a string to a title case with specific settings. ```js import "./path/to/@danielhaim/titlecaser"; // Set the options object const options = { style: "nyt", wordReplacementsList: { "nodejs": "Node.js", "javascript": "JavaScript", "mongodb": "MongoDB" } }; // Instantiate a new TitleCaser object with the options const titleCaser = new TitleCaser(options); // Set the input string to be tested const input = "the basics of nodejs development with mongodb"; // Set the expected output const expectedOutput = "The Basics of Node.js Development with MongoDB"; // Call the toTitleCase method and store the result in actualOutput const actualOutput = titleCaser.toTitleCase(input); ``` ### TitleCaser with Default Word Replacement ### The example below demonstrates how to use the TitleCaser class to convert a string to a title case with AP style formatting, including hyphenated words and word/brand replacement. ```js import "./path/to/@danielhaim/titlecaser"; // Instantiate a new TitleCaser object with AP style formatting const titleCaser = new TitleCaser({ style: 'ap' }); // Set the input string to be tested const input = 'nodejs development on aws: an in-depth tutorial on server-side javascript deployment'; // Set the expected output const expectedOutput = 'Node.js Development on AWS: An In-depth Tutorial on Server-side JavaScript Deployment'; // Call the toTitleCase method and store the result in actualOutput const actualOutput = titleCaser.toTitleCase(input); ``` ### TitleCaser with Possessive Noun and a Colon ### The example below demonstrates how to use the TitleCaser class to convert a string to title case with AP style formatting, including a possessive noun and a colon. ```js import "./path/to/@danielhaim/titlecaser"; // Instantiate a new TitleCaser object with AP style formatting const titleCaser = new TitleCaser({ style: "ap" }); // Set the input string to be tested const input = "the iphone's impact on modern communication: a sociolinguistic analysis"; // Set the expected output const expectedOutput = "The iPhone's Impact on Modern Communication: A Sociolinguistic Analysis"; // Call the toTitleCase method and store the result in actualOutput const actualOutput = titleCaser.toTitleCase(input); ``` ### TitleCaser with Smart Quotes ### The example below demonstrates how to use the TitleCaser with smart quotes. ```js import "./path/to/@danielhaim/titlecaser"; // Instantiate a new TitleCaser object with AP style formatting and smart quotes enabled const titleCaser = new TitleCaser({ style: 'ap', smartQuotes: true }); // Set the input string to be tested const input = '"Never underestimate the power O\' persistence,"'; // Set the expected output const expectedOutput = '“Never Underestimate the Power O’ Persistence,”'; // Call the toTitleCase method and store the result in actualOutput const actualOutput = titleCaser.toTitleCase(input); ``` Build Process ------------- ```bash npm run build-package npm run build-docs npm run copy-package-to-docs npm run test ``` Test ---- ```bash npm run test ``` ```bash Testing Acronym/Pronoun of Alpha2/3 Country Codes ✓ Capitalizes country code "US" correctly in a geopolitical context (4 ms) ✓ Does not capitalize "us" when used as a pronoun (2 ms) ✓ Capitalizes country code "UK" with preceding indicator and trailing comma (2 ms) ✓ Handles multiple instances of country codes and pronouns (2 ms) ✓ Does not capitalize "us" when used in common phrases (2 ms) ✓ Capitalizes "USA" in a formal context (1 ms) ✓ Capitalizes "US" before a government-related word (1 ms) ✓ Does not capitalize "us" before a government-related word (1 ms) ✓ Capitalizes "UK" with preceding indicator before a government-related word (2 ms) ✓ Handles multiple instances of country codes and pronouns before government-related words (1 ms) ✓ Capitalizes "US" before a military-related word (1 ms) ✓ Does not capitalize "us" before a military-related word (1 ms) ✓ Capitalizes "UK" with preceding indicator before a territory-related word (2 ms) ✓ Handles multiple instances of country codes and pronouns before talks-related words (3 ms) ✓ Does not capitalize "us" before a talks-related word (1 ms) ✓ Capitalizes "USA" in a formal context before a bill-related word (1 ms) ✓ Handles multiple instances of country codes and pronouns before a bill-related word (2 ms) Test Basic Options ✓ Default title case conversion ✓ Customized title case conversion (1 ms) ✓ AP-style title case conversion with replacements (3 ms) ✓ Testing Word Replacement (Kellogs -> Kellogg\'s) ✓ AP-style title case conversion with replacements (1 ms) ✓ Capitalize suffix word in sentence (1 ms) Test Methods ✓ removeReplaceTerm (1 ms) ✓ setReplaceTerms (1 ms) Test Variation Stability ✓ Capitalization and word replacements ✓ AP-style title case with possessive and colon (1 ms) ✓ AP-style title case with lowercase back/front-end terms ✓ Chicago style title case with comparison and colon (1 ms) ✓ APA style title case with colon (2 ms) ✓ Wikipedia style title case with acronym and hyphen (1 ms) ✓ Hyphenated, colon, and short word replacements (2 ms) ✓ I Love Connecting with My Online Friends, but Sometimes I Prefer to Hang Out with My Friends IRL (2 ms) ✓ Test Smart Quotes (1 ms) ✓ Wikipedia style capitalization test with special term and colon (1 ms) ✓ APA style title case with colon and apostrophe (2 ms) ✓ Chicago style title case with custom term replacements ✓ AP-style capitalization test with special terms and colon (1 ms) ✓ NYT-style capitalization test with special terms and colon (1 ms) ✓ APA style capitalization test with short conjunction terms and colon (2 ms) ✓ Correct phrase casing list testing (1 ms) Test Reserved Words ✓ Title case transformation for a single reserved word ✓ Title case transformation for a sentence with a reserved word and colon (1 ms) ✓ Title case transformation for a reserved word with a possessive form (1 ms) ✓ Title case transformation for specific brand names ✓ Title case transformation for a sentence with HTML line break (nl2br) using <br> tag (1 ms) ✓ Title case transformation for a sentence with untrimmed white spaces ✓ Title case transformation for a sentence with HTML line break (nl2br) using <br> tag (1 ms) ✓ Title case transformation for a sentence with HTML line break (nl2br) without space after colon using <br> tag (1 ms) ✓ Ampersand in a sentence should return & and not &Amp; (1 ms) ✓ Untrimmed white spaces ``` Resources --------- Useful materials for improving your knowledge of writing and language style guides. These resources include various books and manuals, such as the Publication Manual of the American Psychological Association, the Chicago Manual of Style, and the AP Stylebook, which are widely recognized as authoritative sources on grammar, punctuation, and capitalization rules. - [AP Stylebook, 56th Edition](https://store.stylebooks.com/ap-stylebook-56th-edition-print.html) - [Publication Manual of the American Psychological Association, Seventh Edition (2020)](https://apastyle.apa.org/products/publication-manual-7th-edition) - [Chicago Manual of Style: Capitalization](https://chat.openai.com/chat/643828ec-d4b5-4f21-b035-62946dd2cec3#:~:text=Chicago%20Manual%20of%20Style%3A%20Capitalization) - [The Bluebook: A Uniform System of Citation. 21st ed. Cambridge: Harvard Law Review Association, 2020](https://open.mitchellhamline.edu/cgi/viewcontent.cgi?article=2782&context=wmlr) - [The Chicago Manual of Style, 17th Edition](https://press.uchicago.edu/ucp/books/book/chicago/C/bo25956703.html) - [The New York Times Manual of Style and Usage](https://www.worldcat.org/title/946964415) - [Wikipedia: Letter case](https://chat.openai.com/chat/643828ec-d4b5-4f21-b035-62946dd2cec3#:~:text=Wikipedia%3A%20Letter%20case) - [Wikipedia:Manual of Style/Titles of works](https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Titles_of_works#Capital_letters) Report Bugs ----------- If you encounter any bugs or issues while using the library or the demo page, please report them by opening a new issue in the repository's issue tracker. When reporting a bug, please provide as much detail as possible, including the steps to reproduce the issue and any error messages that you see. I appreciate any contribution to improving this library.
Transform any text to proper title case format using popular style guides such as APA, AP, Chicago, NYT, Wikipedia, and British. Customize options to achieve greater flexibility and consistency.
apa,conversion,string,titlecase,apa-style,chicago-manual-of-style,formatting,text,capitalization,editing
2023-03-05T16:22:30Z
2024-03-13T10:32:56Z
null
1
3
295
0
0
3
null
MIT
JavaScript
onanuviie/Js-calculator-with-color-theme
master
# Calculator app ## Table of contents - [Overview](#overview) - [Screenshot](#screenshot) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) - [What I learned](#what-i-learned) ## Overview ### Screenshot ![](themes.png) ### Links - See what the calculator looks like and use it [here](https://onanuviie.github.io/Js-calculator-with-color-theme/) ## My process ### Built with - Semantic HTML5 markup - CSS custom properties - Flexbox - setInterval() - Array Methods ### What I learned This was my first time creating a toggle/ switch button that gives a website/ app diffent themes. I learnt that it can be easily implemented by adding and removing certain classes
A calculator with 3 beautiful themes to choose from
css,css-flexbox,css3,htm,html-css-javascript,html5,javascript,javascript-vanilla
2023-03-02T10:19:39Z
2023-03-03T08:44:48Z
null
1
0
11
0
0
3
null
null
CSS
aylmerbolzan/1-Hackaton-Reprograme-se
master
null
Projeto desenvolvido em 3 dias para o 1º Hackaton do Reprograme-se, oferecido pelo Instituto Federal do Espirito Santo e pela Associação Capixaba de Tecnologia.
html,javascript,bootstrap,css
2023-03-03T02:58:22Z
2023-03-18T08:49:34Z
null
2
0
26
0
0
3
null
null
HTML
XiaoMouz/Meeting-Plan-Server
master
null
咕咕咕计划:线下银趴计划服务端
express,javascript,node
2023-02-27T12:05:22Z
2023-07-21T20:06:47Z
null
2
0
45
0
0
3
null
null
JavaScript
yusufalperendumlu/color-palette
main
# Color Palette Bu proje Javascript ve scss kullanılarak geliştirdiğim color-palette uygulamamdır. ## Kurulum İlk olarak aşağıdaki komutu kopyalanız. Ardından terminal ekranını açarak, projenin kurulmasını istediğiniz bir alana gelerek yapıştırıp çalıştırınız. ```javascript git clone https://github.com/yusufalperendumlu/color-palette.git ``` ## Çalıştırma - https://color-palette-rho.vercel.app Linkini kullanarak projemi daha detaylı inceleyebilirsiniz. ## Genel Bakış ![Screenshot_17](https://user-images.githubusercontent.com/101521433/228617264-1c5d421a-faac-4ff7-95bf-49bd690d31a6.png) ![Screenshot_29](https://user-images.githubusercontent.com/101521433/228619653-99369c0a-2747-4cca-88b1-9da4a4026fb5.png) ![Screenshot_12](https://user-images.githubusercontent.com/101521433/228617395-add82d39-bb2d-4f2b-9483-fa286bd19128.png) ## Daha fazlası Daha fazlası ve aklınıza takılan herhangi bir soru için için bana kişisel hesaplarım üzerinden ulaşabilir, "Pull Request" isteklerinde bulunabilirsiniz.
You can use the desired colors by capturing and copying them with your own mouse movements.
javascript,scss,toastr-js
2023-03-08T01:43:07Z
2023-03-30T21:30:13Z
null
2
15
41
1
0
3
null
null
CSS
aidenkoog/awesome-hello-world
master
## Notice - This repository will no longer be maintained as of February 10th. ### Awesome hello world collection - Project that outputs a "Hello World AidenKooG"string using all currently available languages. - Show **"Hello World! AidenKooG!"** message. ### Development - 2023/10 ~ till die #### Release Note - 2023/02/27: Uploaded hello world projects. - Android, AngularJs, Bash-Shell-Script, C, C++, C#, Flutter, Go, Groovy, HTML-CSS-VanilaJs, iOS, Java, Java-Awt, Java-Swing, Python, React-Native, React, VueJs, SpringBoot, JSP - 2023/02/27: (2nd) Added code that can show "hello world" message to iOS app project. - 2023/02/27: (3rd) Added javascript, typescript, kotlin and spring boot hello world projects. - 2023/02/28: Uploaded JSP hello world project. - 2023/03/01: Added PHP's hello world code. - 2023/03/03: Added QT's hello world code. - 2023/03/06: Added node.js + express's hello world code. - 2023/03/07: Added pure HTML's Hello world code. #### Link: If you are interested in information about me or other activities, please access the link below. | **Page** | **LINK** | | --------------- | ---------------------------------------------------- | | **Github page** | [https://aidenkoog.github.io/] | | **LinkedIn** | [https://www.linkedin.com/in/dongwan-koo-2041bb13b/] |
(2023) it's a project which outputs hello world strings using as many languages as possible
bash,c,cpp,csharp,dart,go,groovy,javascript,python,typescript
2023-02-27T02:16:00Z
2024-02-10T04:14:20Z
null
1
0
23
0
0
3
null
null
C++
sorzkode/nestEgg
main
[[MIT Licence](https://en.wikipedia.org/wiki/MIT_License)] ![alt text](https://raw.githubusercontent.com/sorzkode/nestEgg/master/nestEgg.png) # nestEgg Calculator JavaScript based web form that can be used to calculate the future value of your retirement account AKA your nest egg. ## Example ![alt text](https://raw.githubusercontent.com/sorzkode/nestEgg/master/example.jpg) ## Overview The nestEgg Calculator is a simple and easy-to-use calculator that allows users to estimate the future value of their retirement fund. The calculator takes into account various user inputs, such as current age, planned retirement age, current annual salary, expected annual salary increase, retirement contributions, employer match, expected rate of return, expected inflation rate, and current savings. ## Features Calculates the future value of the user's retirement fund based on various inputs Provides a breakdown of the user's retirement contributions and employer match Allows users to save their inputs for future reference ## Installation To use the nestEgg Calculator, simply download the files and open the `index.html` file in your web browser. ## Inputs The NestEgg Calculator requires the following inputs: Current Age: The user's current age. Planned Retirement Age: The age at which the user plans to retire. Current Annual Salary: The user's current annual salary. Expected Annual Salary Increase: The expected annual increase in the user's salary. Retirement Contributions: The percentage of the user's salary that they contribute to their retirement fund. Employer Match: The percentage of the user's salary that their employer contributes to their retirement fund. Expected Rate of Return: The expected annual rate of return on the user's retirement fund. Expected Inflation Rate: The expected annual inflation rate. Current Savings: The user's current retirement savings. ## Usage Enter the required inputs in the designated fields. Click the "Calculate" button to see the estimated future value of your retirement fund. Review the breakdown of your retirement contributions and employer match. Save your inputs for future reference by clicking the "Save" button.
Javascript based Retirement Calculator
bootstrap,calculator-javascript,css,form-validation,future-value,html,javascript,nestegg,retirement-calculator,sorzkode
2023-03-03T19:43:20Z
2023-12-24T15:30:23Z
null
1
0
3
0
0
3
null
MIT
JavaScript
LearnAWS-io/Open-Quotes
main
# Open-Quotes Quotes powered by Astro, DynamoDB & GitHub issues ### Add your quote by [opening an issue](https://github.com/LearnAWS-io/Open-Quotes/issues/new?assignees=&labels=new-quote&template=quote-template.yml&title=%5BQuote%5D%3A+) <img src="https://user-images.githubusercontent.com/23727670/223242555-b2f98473-0ecb-4f63-b41f-70913a2bbb2e.png#gh-dark-mode-only" width="594px" height="600px"/> <img src="https://user-images.githubusercontent.com/23727670/223243007-d1347ef7-ccaf-4128-90ac-e72705343a51.png#gh-light-mode-only" width="594px" height="600px"/> ### Browse the quotes on [Quotes.learnaws.io](https://quotes.learnaws.io) Your quote will get updated in almost realtime, to bypass the cache you can add `?refresh=<random-numbers>` > Eg: `https://quotes.learnaws.io?refresh=6969` <img src="https://user-images.githubusercontent.com/23727670/223243002-7e1d7de8-fe3d-491c-80fa-10070d0bcce8.png#gh-dark-mode-only" height="500px"/> <img src="https://user-images.githubusercontent.com/23727670/223243005-ef5a55e9-e575-404e-9436-e0d99fc5f3fc.png#gh-light-mode-only" height="500px"/> ### Where is backend and frontend? Grab the latest backend and frontend code for Open quotes from [Open-Quotes-Website](https://github.com/LearnAWS-io/Open-Quotes-Website/) Repo ### Credits: Special thanks to [Ashish](https://github.com/ashishpandey001) for helping me with DynamoDB design. ## How it works? In this GitHub action, the main goal is to parse and save new quotes added as issues to a DynamoDB table, then update the issue accordingly. Let's break down the code and the process step-by-step. 1. The main function run is defined in index.ts. It starts by extracting the issue from the payload and processing the label names. 2. The code checks if the issue has the "new-quote" label. If not, it will log "Nothing to be done" and return. 3. If the "new-quote" label is present, the code fetches the necessary parameters such as the issue number, owner, and repository. 4. The function then attempts to parse the quote from the issue body and title using the parseMd function. If successful, it calls addQuote to save the quote and the user's name to the database. 5. After adding the quote to the database, the action updates the issue with the following: - Adds the "accepted" label. - Removes the "new-quote" label. - Posts a comment to acknowledge the user's contribution and provide a link to the quote. - Closes the issue. 6. If any errors occur while processing the quote, the "invalid" label will be added to the issue, and a comment describing the error will be posted. 7. The add-quote-to-db.yaml file specifies when the GitHub action will be triggered. In this case, it will be triggered on issues when they are opened or edited. 8. The jobs section in add-quote-to-db.yaml outlines the steps the action will perform, including: - Checking out the repository. - Running the Issue to Quote action with the required environment variables and inputs. 9. The action.yml file provides a description of the action, its inputs, and how it will be executed (using Node.js 16 and running lib/index.mjs). In summary, this GitHub action listens for new or edited issues with the "new-quote" label, parses the quote from the issue, saves it to a DynamoDB table, and updates the issue accordingly.
Quotes powered by Astro, DynamoDB & GitHub issues
actions,aws-dynamodb,dynamodb,github-actions,issue-tracker,javascript
2023-03-01T17:44:20Z
2023-04-11T13:58:51Z
null
1
0
68
0
0
3
null
null
JavaScript
UmangDalvadi/Front-end-MiniProjects
master
# Front-end-Projects ## 1. Calculator To run tests, run the following link in browser ```bash https://umangdalvadi.github.io/Front-end-MiniProjects/calculator/ ``` or Click [Here](https://umangdalvadi.github.io/Front-end-MiniProjects/calculator/) to visit <hr> ## 2. Light/Dark mode toggle To run tests, run the following link in browser ```bash https://umangdalvadi.github.io/Front-end-MiniProjects/toggle/ ``` or Click [Here](https://umangdalvadi.github.io/Front-end-MiniProjects/toggle/) to visit <hr> ## 3. EYE Tracker To run tests, run the following link in browser ```bash https://umangdalvadi.github.io/Front-end-MiniProjects/EYEtracker/ ``` or Click [Here](https://umangdalvadi.github.io/Front-end-MiniProjects/EYEtracker/) to visit
null
css3,html5,javascript,reactjs,front-end-development,web-application
2023-03-10T20:21:51Z
2023-04-14T18:01:03Z
null
1
0
41
0
0
3
null
null
HTML
Ananyasingh2002/ananyasingh.co.in
main
# ananyasingh.co.in 👉🏼 [Click here to visit my Website!](https://ananyasingh.co.in/)
Welcome to my curated portfolio, meticulously crafted to highlight my accomplishments, skills, and projects. Let's connect and explore ways to collaborate on impactful ventures. Your next partner for innovation awaits! 🌐🤝 #Portfolio #Connections #Innovation
css,html,javascript,reactjs,scss,smtp,webdevelopment
2023-02-28T09:38:18Z
2024-05-08T05:54:13Z
null
2
0
74
1
1
3
null
null
CSS
Eggy115/Web
main
# Web This repository contains example webpages built with HTML, CSS, and JavaScript. ## Usage To use these pages, html, css, and javascript examples simply download or clone the repository to your local machine. ## Contributing Contributions to this repository are welcome and encouraged. If you have any suggestions or improvements, feel free to submit a pull request. Please make sure to include a clear description of your changes and any relevant information. ## License This repository is licensed under the GPL v3 License. See the `LICENSE` file for details.
HTML, CSS, JavaScript
css,html,web,css3,html-5,html-css,html-css-javascript,html5,javascript,js
2023-03-05T17:44:58Z
2023-04-20T19:22:43Z
null
1
0
46
0
3
3
null
GPL-3.0
HTML
Atril33/Todo_List_ES6
main
<a name="readme-top"></a> <!-- HOW TO USE: This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project and remove sections that don't apply. REQUIRED SECTIONS: - Table of Contents - About the Project - Built With - Live Demo - Getting Started - Authors - Future Features- - Mobile version design - Desktop version design - Dynamic HTML for featured-speakers OPTIONAL SECTIONS: - FAQ After you're finished please remove all the comments and instructions! --> <div align="center"> <!-- You are encouraged to replace this logo with your own! Otherwise you can also remove it. --> <br/> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [🔭 Future Features](#future-features) - [👥 Authors](#authors) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Todo List] <a name="about-project"></a> > This is Todo List Project. We used _HTML, CSS & JAVASCRIPT_ to create this Todo List Project. <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> > - [Live Demo Link](https://atril33.github.io/Todo_List_ES6/dist/) **[Todo List]** ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> > Describe the tech stack and include only the relevant sections that apply to your project. <details> <summary>Clien</summary> <ul> <li><a href="https://www.w3schools.com/html/">HTML</a></li> <li><a href="https://www.w3schools.com/css/">CSS</a></li> <li><a href="https://www.w3schools.com/css/">Javascript</a></li> </ul> </details> <details> <summary>Server</summary> <ul> <li>N/A</li> </ul> </details> <details> <summary>Database</summary> <ul> <li>N/A</li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> > Describe between 1-3 key features of the application. - **[Html structure with Button, Inputs, etc]** - **[Styling css with colors, borders, paddings, margins & sizes, etc]** _ **[javascript functions, localStroage, objects, arrays, variables, etc]** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> > Add interaction such as check for the duplicate entry before adding in to-do in the app <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> > Describe how a new developer could make use of your project. To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: to Clone the repo. <!-- Example command: _git clone https://github.com/Atril33/Todo_List_ES6.git_ ```sh gem install rails ``` --> ### Setup Clone this repository to your desired folder: _ Opend CMD, Terminal or GitBash in your pc and type this _git clone command _https://github.com/Atril33/Todo_List_ES6.git_ <!-- Example commands: ```sh cd my-folder https://github.com/Atril33/Todo_List_ES6.git ``` ---> ### Install Install this project with: _ You need to run this command _npm i_ Then run this comman _npm run dev_ <!-- Example command: ```sh cd my-project _git clone https://github.com/Atril33/Todo_List_ES6.git_ ``` ---> ### Usage To run the project, execute the following command: _ You can use it by download in your computer. This is this link for this project _https://github.com/Atril33/Todo_List_ES6.git_ <!-- Example command: ```sh rails server ### Deployment You can deploy this project using: Not Yet <!-- Example: ```sh ``` --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors">Syed</a> # <a name="authors">Syed Atril</a> 👤 **Syed Atril** > This Project is created by Syed Atril ## 🛠 Built With <a name="built-with"></a> - HTML - CSS - JAVASCRIPT - GitHub: [@githubhandle](https://github.com/Atril33) - Twitter: [@twitterhandle](https://twitter.com/AtrilSyed) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/syed-atril-831696248/) - Facebook [Facebook](https://web.facebook.com/profile.php?id=100073724910623) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > Write a message to encourage readers to support your project If you like this project... <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [[MIT](https://choosealicense.com/licenses/mit/)](./LICENSE) licensed. > This project has [MIT license](https://choosealicense.com/licenses/mit/) <p align="right">(<a href="#readme-top">back to top</a>)</p>
In this project, I created a TODO list using HTML, CSS, and advanced syntax in JavaScript (ES6). To enhance the development environment, I utilized webpack with advanced features.
css,es6-javascript,html,javascript,modules,webpack
2023-02-28T17:38:04Z
2023-05-28T06:58:23Z
null
2
5
25
3
0
3
null
MIT
JavaScript
aidenkoog/ble-manager-module
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## Beautiful BLE Manager module #### Continue to study and ponder to improve the code structure. This is a wrapper module that provides the desired function through the use case and repository pattern divided by function without directly using react-native-ble-manager in the UI layer. - Language: Typescript - Structure Summary - ✨ assets - ✨ Fonts - ✨ Images - ✨ Strings - ✨ data - ✨ adapters - ✨ repositories - ✨ sources - ✨ domain - ✨ entities - ✨ usecases - ✨ presentation - ✨ components - ✨ containers - ✨ stylesheets - ✨ test - ✨ data - ✨ hidden_menu - ✨ home - ✨ splash - ✨ utils - ✨ alert - ✨ ble - ✨ common - ✨ logger - ✨ navigation - ✨ permission - ✨ storage - ✨ theme - ✨ time - ✨ toast #### Release Note - 2023/03/03: Initialized react-native-ble-manager-wrapper project source code. - 2023/03/04: Added utility sources (BLE, Alert, Common, Logger, Permission, Storage, Theme and Toast) - Not completed yet, Under construction. - 2023/03/07: Deleted previous project source code. - 2023/03/07: Created react-native typescript project again. - 2023/03/07: Added source directory's hierarchy. - 2023/03/07: Updated full source code written by typescript. Enable ble module + usecase + repository + test hidden menu ui. - 2023/03/08: Fixed string resources directory has wrong path. - 2023/03/08: Added comment to TimeUtil #### How To Setup Environment It's mandantory to set up the development environment and build the app by following the instructions below: - Visit https://reactnative.dev/docs/environment-setup - Install Node, Brew, Yarn, Npm etc packages - npx react-native init PROJECT_NAME --template react-native-template-typescript - npx react-native init PROJECT_NAME <-- Language: Javascript. - Set-up Android SDK path - pod install - Open iOS app project with Xcode IDE - Set-up Bundle Identifier & Team account - Build Clean + Re-build - Set-up iOS device name in package.json - rm -rf /Users/admin/Library/Developer/Xcode/DerivedData - rm -rf Podfile.lock - pod cache clean -all - pod deintegrate - pod install - Clean & Re-build ios project - Set-up Team account about Cocoapods AccessibilityReources - When this error occurs, (Failed to build iOS project. We ran "xcodebuild" command.. ?) - Execute command, rm -rf /Users/admin/Library/Developer/Xcode/DerivedData - Execute Xcode - Check if DerivedData directory is made again. - Execute command, npm run ios again. - When this error happens in Xcode, (error build: Command PhaseScriptExecution failed with a nonzero exit code) - sudo ln -s "$(which node)" /usr/local/bin/node - CMD + K: Clean Build - CMD + Shift + B : Build - npm run ios - Change package.json's ios setting: // "ios": "react-native run-ios", ==> "ios": "react-native run-ios --device='AidenKooG'", - Please check if mobile phone's developer mode is turned on. - If encountering this error, cannot find ruby 2.7.6.. when you create new project ? - rbenv install 2.7.6 - npx react-native init PROJECT_NAME --template react-native-template-typescript #### BLE Configuration Define the BLE uuid and other values you want in the BleConfig.js file below. ```sh export const SERVICE_UUID = '' export const RX_CHARACTERISTIC_UUID = '' export const TX_CHARACTERISTIC_UUID = '' export const FLOW_CONTROL_CHARACTERISTIC_UUID = '' export const BATTERY_SERVICE_UUID = '' export const BATTERY_CHARACTERISTIC_UUID = '' // Please turn on BLE_TEST_MODE as true and describe your device name or mac address to make your device discovered. export const BLE_TEST_MODE = false export const BLE_TEST_DEVICE_NAME = "" export const BLE_TEST_DEVICE_MAC_ADDRESS = "" export const BLE_PROTOCOL_VERSION_INDEX = 0 export const BLE_PAIRING_VERSION = 0 export const BLE_PAIRING_RESULT_INDEX = 0 export const BLE_PAIRING_RESULT_SUCCESS = 0 export const BLE_NOTIFICATION_SUFFIX = 0 export const BLE_STATUS_INFO_SUFFIX = 0 ``` Write permissions related to bluetooth. ```sh // Android <uses-permission android:name="android.permission.BLUETOOTH"/> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-feature android:name="android.hardware.bluetooth_le" android:required="false" /> // iOS - ios/PROJECT_NAME/Info.plist <key>NSBluetoothAlwaysUsageDescription</key> <string>Allow CareScend to access device&apos;s bluetooth</string> <key>NSBluetoothPeripheralUsageDescription</key> <string>Allow CareScend to access device&apos;s bluetooth</string> ``` #### Source Code From UI To Core Module. UI JSX Element. ```sh return ( <BluetoothComponent bleConnectionState={bleConnectionState} bleConnectionCompleteState={bleConnectionCompleteState} /> ) ``` UseCase. ```sh executeStartScanUseCase().catch((e) => { outputErrorLog(LOG_TAG, e + " occurred by executeStartScanUseCase") }) ``` Repository. ```sh const { connectDevice, disableNotification, disconnectDevice, enableNotification, initializeBleModule, getUuidList, sendBleCustomData, startScan, stopScan, getBleDeviceInfo } = BleRepository() executeStartScanUseCase = (serviceUuid = SERVICE_UUID, duration = SCAN_DURATION) => { return new Promise((fulfill, reject) => { startScan(serviceUuid, duration).then(() => { fulfill() }).catch((e) => { reject(e) }) }) } this.enableBluetooth().then(() => { bleManager.scan(serviceUuids, duration, false).then(() => { fulfill() }).catch((e) => { reject(e) }) }).catch((e) => { reject(e) }) ``` State Management. ```sh const setBleScanningStateAtom = useSetRecoilState(bleScanningStateAtom) const bleScanningState = useRecoilValue(bleScanningStateAtom) ``` #### Link If you are interested in information about me or other activities, please access the link below. | Plugin | LINK | | ----------- | ------------------------------ | | Github page | [https://aidenkoog.github.io/] |
source code to use BLE module features with repositories and use case functions
ble,bluetooth,javascript,react,react-native,css,html,repository,usecase,react-native-ble-manager
2023-03-02T12:49:44Z
2024-02-10T04:09:28Z
null
1
0
16
0
0
3
null
null
TypeScript
ICEI-PUC-Minas-PMV-ADS/Financas-na-mao
main
# Finanças na Mão <img src="https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGtmcmVzZjY4anMzMTR5bXR6aWdmeTN4Ymo2dmdwaXc4aXJpMHNvZiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/KB2J33Oj7iTkeze1oi/giphy.gif" width="200"> `Análise e Desenvolvimento de Sistemas` `Projeto: Desenvolvimento de uma Aplicação Interativa` `Eixo 2` Uma solução para o controle das finanças pessoais. Monitore de perto seus gastos e revise suas despesas regularmente. Registre todos os seus proventos e despesas, categorizando-as adequadamente. Identifique áreas onde você pode reduzir gastos desnecessários e faça ajustes no seu estilo de vida, se necessário. Acompanhe seu orçamento de forma eficiente. ## Integrantes * Gabriel Goncalves Morais * Iane Victoria dos Santos Oliveira * Marcos Henrique Aguiar França * Milleny Ellen Jodas Ferreira * Paula Elizabeth Bessa Lucio Martins ## Orientador * Bernardo Jeunon de Alencar ## Instruções de utilização * `Acesse` http://financasnamao-001-site1.ftempurl.com/ * `Crie uma conta` com um `Email` ou `Senha` válidos. * Ou use o Email: teste@gmail.com senha: Teste123!. * 🚨ATENÇÃO: atende-se as validações de cadastro e login! # Documentação <ol> <li><a href="docs/01-Documentação de Contexto.md"> Documentação de Contexto</a></li> <li><a href="docs/02-Especificação do Projeto.md"> Especificação do Projeto</a></li> <li><a href="docs/03-Metodologia.md"> Metodologia</a></li> <li><a href="docs/04-Projeto de Interface.md"> Projeto de Interface</a></li> <li><a href="docs/05-Arquitetura da Solução.md"> Arquitetura da Solução</a></li> <li><a href="docs/06-Template Padrão da Aplicação.md"> Template Padrão da Aplicação</a></li> <li><a href="docs/07-Programação de Funcionalidades.md"> Programação de Funcionalidades</a></li> <li><a href="docs/08-Plano de Testes de Software.md"> Plano de Testes de Software</a></li> <li><a href="docs/09-Registro de Testes de Software.md"> Registro de Testes de Software</a></li> <li><a href="docs/10-Plano de Testes de Usabilidade.md"> Plano de Testes de Usabilidade</a></li> <li><a href="docs/11-Registro de Testes de Usabilidade.md"> Registro de Testes de Usabilidade</a></li> <li><a href="docs/12-Apresentação do Projeto.md"> Apresentação do Projeto</a></li> <li><a href="docs/13-Referências.md"> Referências</a></li> </ol> # Código <li><a href="src/README.md"> Código Fonte</a></li> # Apresentação Destaque Acadêmico - "Finanças na Mão" [Amostra de Projetos 01-2023 - Parte 1](https://www.youtube.com/watch?v=YbDP4y11n4c) # Certificado Destaque Acadêmico - "Finanças na Mão" [Finanças Na Mão-1.pdf](https://github.com/ICEI-PUC-Minas-PMV-ADS/Financas-na-mao/files/14985139/Financas.Na.Mao-1.pdf)
Uma solução para o controle das finanças pessoais. Monitore de perto seus gastos e revise suas despesas regularmente. Registre todos os seus proventos e despesas, categorizando-as adequadamente.
csharp,css3,html5,javascript
2023-03-01T17:03:13Z
2024-04-15T23:46:57Z
null
41
2
108
27
2
3
null
null
C#
R2-PHP-FINAL-G3/RestaurantInvoiceSystem
main
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> <p align="center"> <a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a> </p> ## About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: - [Simple, fast routing engine](https://laravel.com/docs/routing). - [Powerful dependency injection container](https://laravel.com/docs/container). - Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. - Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). - Database agnostic [schema migrations](https://laravel.com/docs/migrations). - [Robust background job processing](https://laravel.com/docs/queues). - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). Laravel is accessible, powerful, and provides tools required for large, robust applications. ## Learning Laravel Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. ## Laravel Sponsors We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). ### Premium Partners - **[Vehikl](https://vehikl.com/)** - **[Tighten Co.](https://tighten.co)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** - **[64 Robots](https://64robots.com)** - **[Cubet Techno Labs](https://cubettech.com)** - **[Cyber-Duck](https://cyber-duck.co.uk)** - **[Many](https://www.many.co.uk)** - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** - **[DevSquad](https://devsquad.com)** - **[Curotec](https://www.curotec.com/services/technologies/laravel/)** - **[OP.GG](https://op.gg)** - **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)** - **[Lendio](https://lendio.com)** ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). ## Code of Conduct In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
Restaurant Invoice System, adding customers , meals and invoices. After adding an invoice it call delivery service api third party to send order to delivery guy. restaurant can see order status if delivered or returned and could cancel the order.
bootstrap5,javascript,laravel,mvc-framework,mysql,php,pusher,socket-programming,websocket
2023-03-07T16:24:57Z
2023-03-23T12:46:05Z
null
2
0
18
0
1
3
null
null
SCSS
PetitPuni/GGWP
master
<img width="180" alt="GGWPLOGO" src="https://user-images.githubusercontent.com/118454225/226581386-e532cdd9-42e0-49a2-90ee-6cc5b7a1c54b.png"> <a href="https://www.ggwellplayed.me/">GGWellPlayed</a> Unleash your competitive spirit with GGWellPlayed - the ultimate gaming platform for challenging your friends on your favorite games. Take your skills to the next level and dominate the competition as you face off against your friends. Join now and discover the thrill of gaming like never before. The interface of GGWellPlayed has been optimized for small screens, making it easy to navigate and use on a smartphone. Some screenshots of the app : | Login Page | League Creation | League Show | Leagues Index | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | <img width="280" alt="Capture d’écran 2023-03-21 à 11 41 24" src="https://user-images.githubusercontent.com/118454225/226586845-1bc48178-79de-4129-a24a-46231c4607d3.png"> | <img width="280" alt="Capture d’écran 2023-03-21 à 11 44 33" src="https://user-images.githubusercontent.com/118454225/226586839-2d034844-9021-482b-bd05-beebbb23b551.png"> | <img width="299" alt="Capture d’écran 2023-03-21 à 11 50 52" src="https://user-images.githubusercontent.com/118454225/226586832-deba0943-982e-4985-8f81-9421f57b8050.png"> | <img width="300" alt="Capture d’écran 2023-03-21 à 12 07 21" src="https://user-images.githubusercontent.com/118454225/226588548-8d33564f-a975-4c06-ac70-ba01fb96df16.png"> | Feel free to contact us should you have any questions 🎮
GGWellPlayed - Unleash your competitive spirit and challenge your friends today.
javascript,rails,ruby,stimulusjs
2023-03-06T14:10:11Z
2023-03-22T09:03:22Z
null
5
121
430
0
0
3
null
null
Ruby
joaofmsilvaa/responsive-cooking-recipes-Website
main
# Responsive-Cooking-Recipes-Website <p>A project of a responsive cooking website that uses HTML,CSS and a bit of JavaScript<br> PROJECT TITLE: Cooking recipes website<br> PROJECT GOAL: Make a full responsive website<br> VERSION OR DATE: 11/03/2023</p> STATUS: Finished &#x2713; Created by: <a href="https://github.com/JOao7640">JOao7640</a> <p>Ps: All the images are from <a href="https://app.logo.com/">logo.com</a> and <a href="https://www.pexels.com/pt-br/">pexels.com</a></p>
A project of a responsive cooking website that uses HTML,CSS and a bit of JavaScript
css,css3,html,javascript
2023-02-28T22:50:21Z
2023-03-11T11:43:15Z
2023-03-11T11:43:15Z
1
0
38
0
0
3
null
null
HTML
osmn-byhn/Todo
master
# TodoApp This template should help get you started developing with Vue 3 in Vite. ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). ## Customize configuration See [Vite Configuration Reference](https://vitejs.dev/config/). ## Project Setup ```sh npm install ``` ### Compile and Hot-Reload for Development ```sh npm run dev ``` ### Compile and Minify for Production ```sh npm run build ``` ### Run Unit Tests with [Vitest](https://vitest.dev/) ```sh npm run test:unit ``` ### Lint with [ESLint](https://eslint.org/) ```sh npm run lint ```
Todo app project running on localStorage
javascript,localstorage,mevn,mevn-project,mevn-stack,node-js,render,scss,todo-app,todo-list
2023-03-06T00:01:00Z
2023-03-15T22:18:37Z
null
1
0
6
0
0
3
null
null
SCSS
K-Daksh/Feeling-Lucky
main
<img align='right' src='dice-roll-dice.gif' width='200'> # Feeling Lucky (The Dice Game) ## <h2>Note</h2> This project is running live on the [Following Link](https://k-daksh.github.io/Feeling-Lucky/) <h3>https://k-daksh.github.io/Feeling-Lucky/</h3> ## Introduction This project was developed while learning Js. It is called **Feeling Lucky** , the main objective of this project was to learn and implement basic DOM with the help of Js. ## Getting Started * You can either copy the content of this file to any file in the folder that's already added to the path * You can create a new project and use this file. Remember to add that folder to the path. * Use the provided .png file for the dice images. ### Prerequisites Softwares and tools you'll need to run this project sucessfully on your machine. ``` Microsoft Visual Studio (Newer version) . ``` ### Executing the project You can execute this project on local host with the help of **Live Server** extension in VsCode. Or you can access the link to live website provided above. ### Knowledge required * Basic DOM knowledge. * Intermediate Js knowledge. * Intermediate HTML and CSS knowledge. ## Updates Planned This project won't be updated anymore. ## Resources you can follow to excell Js My personal favourite : [MDN](https://developer.mozilla.org/en-US/) ## Authors * **Daksh Kitukale** ## Copyright 📣 Feel free to use this code anywhere!!
This project was developed while learning Js. It is called Feeling Lucky , the main objective of this project was to learn and implement basic DOM with the help of Js.
dice,dice-game,frontend,javascript,project
2023-03-04T12:28:56Z
2023-03-06T19:55:14Z
null
1
0
10
0
0
3
null
null
CSS
onanuviie/Candy-Crush
master
# Candy-Crush A JavaScript Game inspired by Candy Crush In this project I made use of: + Array methods + Event listeners such as (dragstart, dragend, dragover, drop, dragleave and dragenter), so this can only be played on desktop + setAttribute() + setInterval() + And many more You can play the game [here](https://onanuviie.github.io/Candy-Crush/)
A game inspired by candy crush
css3,html,html-css-javascript,javascript,javascript-game,javascript-vanilla,js,candy-crush,candy-crush-remake
2023-02-26T17:27:14Z
2023-02-27T12:18:04Z
null
1
0
10
0
0
3
null
null
JavaScript
thalys93/dabruatelie
main
# DabruAteliê ### Repositório do Projeto em React - Estado Atual = Criando a Estrutura do Site 🏗 - Link do projeto no figma : https://www.figma.com/file/D4IZXUmpKIfEMw1uvQG411/Dabru-Ateli%C3%AA?node-id=17%3A4&t=YH4tltonivgyL3jR-1 # Estruturando o Repositório
Repositório do Site Dabru-Ateliê o ECommerce de Fios e Linhas (W.I.P)
css,html,javascript,react,strapi
2023-03-08T22:01:16Z
2023-05-03T18:15:55Z
null
1
1
5
4
0
3
null
GPL-3.0
JavaScript
NuggaN85/Discord-bot-Valorant
main
# Discord-bot-Valorant ``` * Dev: NuggaN85 * Github: NuggaN85 * Twitter: @NuggaN85 * Copyright © 2023 All rights reserved. * MIT Licensed ``` Je suis un bot Discord conçu pour vous fournir des statistiques sur Valorant à l'aide des commandes Slash et de l'API Tracker.gg. Grâce à mon intégration avec cette API, je suis capable de récupérer des informations précises et à jour sur les performances des joueurs dans ce jeu. N'hésitez pas à m'utiliser pour obtenir des données statistiques utiles pour vous améliorer dans Valorant ! Avant de commencer, il est important de s'assurer que les bibliothèques `Discord.js` et `axios` sont installées sur votre système. Ces bibliothèques sont essentielles pour assurer le bon fonctionnement de votre application ou bot Discord. Veillez donc à vérifier leur installation avant de continuer. Si vous rencontrez des difficultés lors de l'installation, n'hésitez pas à consulter la documentation de chaque bibliothèque ou à demander de l'aide à la communauté de développeurs en ligne. ``` npm install discord.js npm install axios ``` >1. https://www.npmjs.com/ Assurez-vous de remplacer `<VOTRE_TRACKERGG_API_KEY>` par votre clé API Tracker.gg et `<VOTRE_TOKEN_DISCORD>` par le jeton de votre bot Discord. Ensuite, vous pouvez exécuter ce code et utiliser la commande slash `/stats <nom_utilisateur>` pour obtenir les statistiques du joueur dans Valorant. ## <strong>❤️</strong> (Contribuer) <strong>❤️</strong> [![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg?style=flat)](https://www.paypal.me/nuggan85) [![GitHub issues](https://img.shields.io/github/issues/NuggaN85/Discord-bot-Valorant)](https://github.com/NuggaN85/Discord-bot-Valorant/issues) [![GitHub forks](https://img.shields.io/github/forks/NuggaN85/Discord-bot-Valorant)](https://github.com/NuggaN85/Discord-bot-Valorant/network) [![GitHub stars](https://img.shields.io/github/stars/NuggaN85/Discord-bot-Valorant)](https://github.com/NuggaN85/Discord-bot-Valorant/stargazers) [![GitHub license](https://img.shields.io/github/license/NuggaN85/Discord-bot-Valorant)](https://github.com/NuggaN85/Discord-bot-Valorant) <a target="_blank" href="http://www.copyscape.com/"><img src="http://banners.copyscape.com/img/copyscape-banner-white-200x25.png" width="200" height="25" border="0" alt="Protected by Copyscape" title="Protected by Copyscape Plagiarism Checker - Do not copy content from this page." /></a> -------------------------------------------------------------------------------------------------------------------------------------- - Signalez-nous les bugs que vous remarquez sur via [Github](https://github.com/NuggaN85/Discord-bot-Valorant/issues/2). - Nous-suggérez des modifications sur via [Github](https://github.com/NuggaN85/Discord-bot-Valorant/issues/3). - Discord : https://discord.gg/4gZsXRKdmJ --------------------------------------------------------------------------------------------------------------------------------------
Bot Discord utilisant les commandes Slash et l'API Tracker.gg pour recevoir les statistiques Valorant
discord,javascript
2023-03-11T21:36:14Z
2023-09-11T13:27:13Z
null
1
1
31
2
0
3
null
MIT
JavaScript
EDUJOS/tweet-cli-v2
master
<h1 align="center">🔥 Tweet CLI V2 🔥</h1> <h1 align="center">¡Crea y publíca Tweets desde tu terminal!</h1> <div align="center"> <img src="https://img.shields.io/github/v/release/EDUJOS/tweet-cli-v2?style=for-the-badge&logo=github&color=7e53fc&logoColor=D9E0EE&labelColor=302D41&include_prerelease&sort=semver"> <img src="https://img.shields.io/npm/v/tweet-cli-v2?style=for-the-badge&logo=npm&color=7e53fc&logoColor=D9E0EE&labelColor=302D41"></img> <img src="https://img.shields.io/npm/dw/tweet-cli-v2?style=for-the-badge&logo=npm&color=3dff98&logoColor=D9E0EE&labelColor=302D41"></img> <img src="https://img.shields.io/npm/l/tweet-cli?style=for-the-badge&logo=npm&color=ee9999&logoColor=D9E0EE&labelColor=302D41"></img> <img src="https://img.shields.io/github/license/EDUJOS/tweet-cli-v2?style=for-the-badge&logo=github&color=ee9999&logoColor=D9E0EE&labelColor=302D41"></img> <!--<br>--> <img src="https://img.shields.io/github/issues/EDUJOS/tweet-cli-v2?style=for-the-badge&logo=bilibili&color=faff69&logoColor=D9E0EE&labelColor=302D41"> <img src="https://img.shields.io/github/stars/EDUJOS/tweet-cli-v2?style=for-the-badge&logo=starship&color=699bff&logoColor=D9E0EE&labelColor=302D41"></img> <!--<img src="https://img.shields.io/github/followers/EDUJOS?style=for-the-badge&logo=github&color=699bff&logoColor=D9E0EE&labelColor=302D41"></img>--> <a href="https://twitter.com/SoylaPerradeEd" target="_blank"> <img src="https://img.shields.io/twitter/follow/SoylaPerradeEd?color=%2300acee&labelColor=302D41&label=Follow%20on%20twitter&logo=twitter&style=for-the-badge"></img> </a> <a href="https://twitter.com/intent/tweet?url=https://github.com/EDUJOS/tweet-cli-v2&text=Hey!%20Te%20comparto%20esta%20CLI%20que%20sirve%20para%20publicar%20tweets%20desde%20la%20cuenta%20de%20%40SoylaPerradeEd%0A%0ADesarrollada%20con%20amor%20por%20%40EdTkiere%20🔥" target="_blank"> <img src="https://img.shields.io/twitter/url?color=%2300acee&labelColor=302D41&label=share%20on%20twitter&logo=twitter&style=for-the-badge&url=https%3A%2F%2Ftwitter.com%2FSoylaPerradeEd"></img> </a> </div> # Instalación <img align="center" src="https://media.discordapp.net/attachments/1083626901832204359/1083633491071221800/v1.gif"></img> ``` npm install -g tweet-cli-v2 ``` Para empezar a usar el **Tweet-CLI-V2** lo único que tienes que hacer es ejecuar el siguiente comando ```bash edtba ``` # Login Primero debes loguearte con el usuario y contraseña que se te han asignado con anterioridad, de lo contrario no podrás usar las funciones del CLI. > [!NOTE] > Si por alguna razón no se reconoce el comando se recomienta usar `npx edtba` # Tweet Una vez se hayas logueado podrás publicar un tweet bajo la cuenta de nuestro bot [@SoylaPerradeEd](https://twitter.com/SoylaPerradeEd), cabe mencionar que la función para obtener información pública de un tweet no se encuentra disponible por el momento. ![useCLI](https://media.discordapp.net/attachments/1083626901832204359/1083635665415192586/v2.gif) # Tweet Info Esta función `Tweet Info` permite obtener información pública de un tweet dado su enlace o URL. Esta herramienta puede ser útil para obtener información sobre un tweet en particular sin tener que acceder a la cuenta de Twitter correspondiente. Para utilizar `Tweet Info`, es necesario proporcionar la URL del tweet que se desea analizar. El formato de la URL debe ser el siguiente: ``` https://twitter.com/{username}/status/{tweet_id} ``` ![edtba-ti](https://user-images.githubusercontent.com/129718622/229680073-bf29307a-095a-449d-ad0d-85c1f373c441.gif) ## Información disponible La opción `Tweet Info` proporciona la siguiente información pública sobre el tweet: - Nombre de usuario del autor del tweet. - Nombre completo del autor del tweet. - Fecha y hora de creación del tweet. - Texto del tweet. - Número de retweets. - Número de tweets citados. - Número de Me gusta. - Número de respuestas. - Número de Vistas del tweet. Tenga en cuenta que `Tweet Info` solo proporciona información pública del tweet. Si el tweet está protegido o si [@SoylaPerradeEd](https://twitter.com/SoylaPerradeEd) no tiene permiso para ver la cuenta de Twitter del autor del tweet, no podrá ver la información correspondiente. <kbd>ALT + A</kbd> > Developed with love by Ed <3
CLI to publish a Tweet and view public information of some tweets
cli,javascript,twitter
2023-03-01T07:13:06Z
2024-01-24T03:01:48Z
2024-01-18T20:27:39Z
3
30
191
1
2
3
null
MIT
JavaScript
aidenkoog/rtsp-player-sample
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## RTSP Player #### Summary This project contains logic related to RTSP video play. - Language: Typescript - Library: React (A library for creating user interfaces.) #### Release Note - 2023/03/02: Initialized project source code. - 2023/03/03: Initialized react-native project source code. / Added web local server code for testing. - 2023/03/03: Added VLC-Player view that plays rtsp video. #### How To Setup Environment It's mandantory to set up the development environment and build the app by following the instructions below: - **Web** - **Local Server Setup** - git clone https://github.com/deepch/RTSPtoWeb - cd RTSPtoWeb - Update config.json - streams - Execute server - GO111MODULE=on go run \*.go - (localhost:8083) - **React Client Setup** - Visit https://ko.reactjs.org/ - npm create vite@latest - react / typescript selection. - Integrate VideoJs - npm install --save-dev video.js @types/video.js - yarn install - npm start or npm run dev - Please refer to your package.json file content. - **Mobile** - npx react-native init PROJECT_NAME - Create local.properties in android directory. - yarn install - npm run android or npm run ios - If pod command is NOT found ? - Check .ruby_version of project root. - rbenv versions - rbenv global 2.7.5 - ruby --version - iOS build - cd ios - pod cache clean -all - rm -rf Podfile.lock - pod install - cd .. - npm run ios - When occurring error Failed to build iOS project. We ran "xcodebuild" command.. ? - Execute command, rm -rf /Users/admin/Library/Developer/Xcode/DerivedData - Execute Xcode - Check if DerivedData directory is made again. - Execute command, npm run ios again. - When occurring this error in Xcode, error build: Command PhaseScriptExecution failed with a nonzero exit code - sudo ln -s "$(which node)" /usr/local/bin/node - CMD + K: Clean Build - CMD + Shift + B : Build - npm run ios - Change package.json's ios setting: // "ios": "react-native run-ios", ==> "ios": "react-native run-ios --device='AidenKooG'", - Please check if mobile phone's developer mode is turned on. #### Link: If you are interested in information about me or other activities, please access the link below. | **Page** | **LINK** | | --------------- | ---------------------------------------------------- | | **Github page** | [https://aidenkoog.github.io/] | | **LinkedIn** | [https://www.linkedin.com/in/dongwan-koo-2041bb13b/] |
Play video with rtsp (real time streaming protocol).
css,go,golang,html,javascript,react,rtsp,typescript
2023-03-02T08:27:44Z
2024-02-10T04:11:22Z
null
1
0
12
1
0
3
null
null
JavaScript
elifbeyzatok00/JavaScript_Projects
main
# JavaScript_Projects You can check the details about the projects on this repository's [Wiki](https://github.com/elifbeyzatok00/JavaScript_Projects/wiki) page
I uploaded the projects which I completed from "Learn JavaScript" course on Codecademy
codecademy,javascript
2023-03-09T22:37:12Z
2024-03-12T23:56:56Z
null
1
10
26
0
0
3
null
null
JavaScript
onanuviie/buzzfeed-clone-js
master
# Buzzfeed Clone A buzzfeed clone I made with a few changes. The user picks their answer from a range of 10 questions and gets told what kind of icecream flavour they are and are then redirected to play a game based on their icecream flavour. ## Table of contents - [Overview](#overview) - [Screenshot](#screenshot) - [Links](#links) - [My process](#my-process) - [Built with](#built-with) - [What I learned](#what-i-learned) ## Overview ### Screenshot ![](buzzfeed.png) A collage I designed to show what the quiz looks like ### Links - Answer the quiz questions and see what flavour of icecream you are [here](https://onanuviie.github.io/buzzfeed-clone-js/) ## My process ### Built with - Semantic HTML5 markup - CSS custom properties - Flexbox - Javascript event handlers - Javascript Array Methods ### What I learnt I learnt how to move through sections of the questions once the user pickes an answer with "location.href" in javascript and I also learnt how to incorporate online images in javascript.
A buzzfeed clone I made with a few changes
buzzfeed,css,css3,html,javascript,javascript-game,quiz-game,buzzfeed-font
2023-03-11T16:20:26Z
2023-03-13T09:28:23Z
null
1
0
7
0
0
3
null
null
JavaScript
laisrmacedo/labeddit-frontend
main
<p align="center"> <img src="https://github.com/laisrmacedo/labeddit-frontend/blob/main/labeddit/src/assets/logoLogin.png?raw=true" /> </p> <h3 align="center">FRONTEND PROJECT</h3> <br> ## 📝 Description LabEddit is a full stack web project, developed with a mobile first app design that allows interaction between users through posts, comments and votes. Users can also change their nickname, password and avatar image, in addition to deleting their own posts and comments. ## 📱 Screens <p align="center"> <img width="150px" src="./labeddit/src/assets/screenLogin.png" /> <img width="150px" src="./labeddit/src/assets/screenSignup.png" /> <img width="150px" src="./labeddit/src/assets/screenPosts.png" /> <img width="150px" src="./labeddit/src/assets/screenComments.png" /> <img width="150px" src="./labeddit/src/assets/screenUser.png" /> </p> ## ☁️ Deploy Frontend: [labeddit-laisrmacedo.surge.sh/users/login](https://labeddit-laisrmacedo.surge.sh/users/login) Backend: [labeddit-backend-deploy.onrender.com/](https://labeddit-backend-deploy.onrender.com/) ## 🧩 Backend Repository GitHub: [laisrmacedo/labeddit-backend](https://github.com/laisrmacedo/labeddit-backend) ## 🛠 Technologies - React; - Styled-Components; - Data streams; - Conditional rendering; - LocalStorage; - React Router; - Axios; - API integration; - Frontend deploying on Surge.sh; - Backend deploying on Render.com. ## 👩‍💻 Author Labenu's design team <br> Laís Rodrigues Macedo <br> laisrodriguesmacedo@gmail.com <br> WhatsApp: (+49) 174 7781517
Social network where users can disclose content and interact positively or negatively in disclosures.
frontend,javascript,react,styled-components,axios,fullstack-development,react-router
2023-03-03T14:34:28Z
2024-01-18T22:42:46Z
null
1
3
128
0
0
3
null
null
JavaScript
RodrigoRVSN/tony-stark
main
null
📚 Screen controlled with gestures by JS Expert week from Erick Wendel
javascript,tensorflow,workers
2023-03-04T01:27:32Z
2023-03-04T20:07:06Z
null
2
0
16
0
0
3
null
null
JavaScript
CompileZero/realistic-ticket-ui
main
null
A hyper-realistic skeuomorphic ticketing interface built entirely using HTML, CSS and JS
css,html5,javascript
2023-03-08T16:49:35Z
2023-04-29T08:23:03Z
null
1
0
12
0
0
3
null
null
JavaScript
TeoSean00/GoBook-Frontend
main
# GoBook Simplifying bookings one class at a time 1. [Project Report & API Docs](https://docs.google.com/document/d/1CZLL4ou799Og1fIFK7gp1xN9LmwuiTaI/edit?usp=sharing&ouid=112532673980137782859&rtpof=true&sd=true) 2. [Project Slides](https://docs.google.com/presentation/d/17ox5rou8biMvc6pwpcZbFa26uinjy5jrazzRUo2o5Hk/edit?usp=sharing) 3. [Project Video Demo](https://youtu.be/S4vLItXFAvE) # Project Overview <p align="center"> <img src="https://user-images.githubusercontent.com/79046481/230641355-6a2db2e5-760c-48b2-8072-1de9a79ef96f.png" width=200px> </p> # Technical Overview Diagram <html> <p align="center"> <img src="https://user-images.githubusercontent.com/79046481/230641467-f948cb5b-6243-4e86-ac62-1008629d05d8.png" style="border-radius:10px"> </p> </html> # Frameworks and Database Utilised <p align="center"><strong>Services and UI</strong></p> <p align="center"> <a href="https://flask.palletsprojects.com/en/2.2.x/"><img src="https://www.techlifediary.com/wp-content/uploads/2020/09/1_0G5zu7CnXdMT9pGbYUTQLQ.png" alt="Flask" width="88"/></a>&nbsp;&nbsp; <a href="https://react.dev/"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/120px-React-icon.svg.png" alt="React" height="40"/>&nbsp;&nbsp;<a href="https://spring.io/"><img src="https://4.bp.blogspot.com/-ou-a_Aa1t7A/W6IhNc3Q0gI/AAAAAAAAD6Y/pwh44arKiuM_NBqB1H7Pz4-7QhUxAgZkACLcBGAs/s1600/spring-boot-logo.png" alt="SpringBoot" height="40"/>&nbsp;&nbsp;<a href="https://nodejs.org/en"><img src="https://nodejs.org/static/images/logo.svg" alt="NodeJS" width="88"/></a></a>&nbsp;&nbsp;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Unofficial_JavaScript_logo_2.svg/512px-Unofficial_JavaScript_logo_2.svg.png" alt="Javascript" height="40"/></a>&nbsp;&nbsp;<a href="https://expressjs.com/"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/Expressjs.png/120px-Expressjs.png" alt="Express" height="40"/></a>&nbsp;&nbsp;<a href="https://handlebarsjs.com/"><img src="https://handlebarsjs.com/images/handlebars_logo.png" alt="HandleBars" height="40"/></a>&nbsp;&nbsp; </p> <br> <p align="center"><strong>API Gateway</strong></p> <p align="center"> <a href="https://konghq.com/"><img src="https://konghq.com/wp-content/uploads/2018/08/kong-combination-mark-color-256px.png" alt="Kong API Gateway" width="88"/></a> <br> <i>CORS · Google Authentication</i> </p> <br> <p align="center"><strong>Databases</strong></p> <p align="center"> <a href="https://www.mongodb.com/"><img src="https://findlogovector.com/wp-content/uploads/2022/04/mongodb-logo-vector-2022.png" alt="MongoDB" height="40"/></a>&nbsp;&nbsp; </p> <br> <p align="center"><strong>Message Broker</strong></p> <p align="center"> <a href="https://www.rabbitmq.com/"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/RabbitMQ_logo.svg/2560px-RabbitMQ_logo.svg.png" alt="RabbitMQ" width="88"/></a>&nbsp;&nbsp;<a href="https://kafka.apache.org/"><img src="https://w7.pngwing.com/pngs/929/893/png-transparent-apache-kafka-apache-cassandra-logo-apache-http-server-apache-hadoop-beijing-text-logo-windows.png" alt="RabbitMQ" width="65"/></a> </p> <br> <p align="center"><strong>Others</strong></p> <p align="center"> <a href="https://stripe.com/en-gb-sg"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Stripe_Logo%2C_revised_2016.svg/1280px-Stripe_Logo%2C_revised_2016.svg.png" alt="Stripe Payment API" width="88"/></a>&nbsp;&nbsp;<a href="https://www.docker.com/"><img src="https://www.docker.com/wp-content/uploads/2022/03/horizontal-logo-monochromatic-white.png" alt="Docker" width="105"/></a>&nbsp;&nbsp;<a href="https://socket.io/"><img src="https://socket.io/images/logo.svg" alt="SocketIO" width="40"/></a> <br> </p> <br> # Getting Started ``` For testing of GoBook please log in into your gmail account and not a SMU email acount ``` ### Backend Repository can be found here [GoBook](https://github.com/JosephJL/ESD-ClassBookingSystem-Backend) ### Set-up local directories Clone this repository or download the files to a local directory. Open a terminal session and navigate to the path of this repository/ codebase. ### Set-up Frontend Services ``` npm install ``` ``` npm run dev ``` ### Set-up Backend Services ``` docker compose up --build ``` # Contributors **G7 Team 1** <table> <tr> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230641783-90e18ca3-17de-42c4-96ae-f5bda9ab8606.png" width="150px"/><br /><sub><b>Keith Loh</b></sub></a></td> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230641823-cfb58e61-061e-4e95-b1b6-be0b35e90e86.png" width="150px"/><br /><sub><b>Joseph Hee</b></sub></a></td> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230641873-075e23f8-868a-4518-b2ea-dd10fd705af7.png" width="150px"/><br /><sub><b>Jerome Wong</b></sub></a></td> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230641916-081597c7-8d61-4120-a831-1f548633c202.png" width="150px"/><br /><sub><b>Tyler Lian</b></sub></a></td> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230642108-4b03f175-b479-4cab-b5c1-a09a8fbdc35f.png" width="150px"/><br /><sub><b>Sean Teo</b></sub></a></td> <td align="center"><img src="https://user-images.githubusercontent.com/79046481/230641968-e16aad5a-c664-4fa2-ba78-19040a99eaab.png" width="150px"/><br /><sub><b>Elton Tay</b></sub></a></td> </tr> </table>
A one-stop class booking application built with a Microservices Architecture to manage a company’s class and user system, storing & displaying information for the classes and users via a catalogue page, along with a class reviewing functionality and a class recommendation feature for users based on their previously attended classes.
class-booking-application,docker,email-service,expressjs,flask,google-oauth-login,javascript,kafka,kong-api-gateway,microservices-architecture
2023-03-03T02:32:43Z
2023-12-20T09:28:56Z
null
6
37
168
0
1
3
null
null
JavaScript
Royal-Code-Master/CollegeProject
main
null
This is college project for management
backend,html,ux-design,ajax-crud,bootstrap5,css,javascript,php8,xampp
2023-03-06T12:20:44Z
2023-03-06T12:24:23Z
null
1
0
2
0
0
3
null
MIT
PHP
aidenkoog/dating-app-ui-sample
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## Dating app card, chatting ui clone project. #### Continue to study and ponder to improve the code structure. This project is to make template code that can be applied to any app development. - Language: Javascript - Source directory hierarchy summary - ✨ assets - images - lotties - strings - ✨ data - dummy - repositories - sources - ✨ domain - model - usecases - ✨ services - ✨ ui - components (common component set) - chat - home - buttons - card - header - containers - chat - home - intro #### Release Note - 2023/03/01: Initialized dating app card, chatting ui clone project source code. #### How To Setup Environment It's mandantory to set up the development environment and build the app by following the instructions below: - Visit https://ko.reactjs.org/ - npx create-react-app PROJECT_NAME - install yarn package from internet. - yarn install - npm start - If you encounter this error, "Module not found: Error: Can't resolve '@react-spring/web" - yarn add @react-spring/web - npm start #### Link If you are interested in information about me or other activities, please access the link below. | Plugin | LINK | | ------ | ------ | | Github page | [https://aidenkoog.github.io/] |
A project to make the card layout and chat UI similar to those used in dating apps.
css,dating-web-app,html,javascript,react,react-tinder-card,tinder
2023-03-01T00:14:11Z
2024-02-10T04:11:35Z
null
1
0
6
1
0
3
null
null
JavaScript
aidenkoog/simple-meal-recipe-app
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ### meal-recipe-react-native-javascript-app - React native app that contains information about food recipes. - Based on the lecturer, Maximilian Schwarzmüller's source code. #### Structure: - assets - components - data - models - screens #### Setup Environment: - expo init meal-recipe-react-native-javascript-app - npm install - npm start #### Release note: - 2023/02/27: Uploaded meal-recipe study project source code. #### Link: If you are interested in information about me or other activities, please access the link below. | **Page** | **LINK** | | --------------- | ---------------------------------------------------- | | **Github page** | [https://aidenkoog.github.io/] | | **LinkedIn** | [https://www.linkedin.com/in/dongwan-koo-2041bb13b/] |
React native app that contains information about food recipes.
android,expo-cli,ios,javascript,react,react-native,npm,expo
2023-02-27T14:36:42Z
2024-02-10T04:12:30Z
null
1
0
6
1
0
3
null
null
JavaScript
seia-soto/embeddable-wg
master
# Embeddable-WG bindings for Node.JS [![Release](https://github.com/seia-soto/embeddable-wg/actions/workflows/build.yml/badge.svg)](https://github.com/seia-soto/embeddable-wg/actions/workflows/build.yml) This library includes bindings of the embeddable-wg-library, allowing for efficient calls to set up WireGuard devices. See [Official WireGuard website](https://wireguard.com) and [wireguard-tools/contrib/embeddable-wg-library](https://git.zx2c4.com/wireguard-tools/tree/contrib/embeddable-wg-library) for more information. We support **glibc- and musl-libc-based x86_64 and aarch64 systems on Linux** and control the network interface via `ioctl`. We provide the [direct bindings](#bindings) to embeddable-wg-library and [class wrappers](#class-wrappers) on it for easy use. ## Errors The expected errors are defined in [constants.h](adaptor/constants.h). ```c #define EWB_AF_UNSPEC "EWB_AF_UNSPEC" // If the ip address format is not valid ipv4 or ipv6. #define EWB_AI_UNFORMAT "EWB_AI_UNFORMAT" // If the value is not in valid format: for example, peer->endpoint takes `ip:port` schema. #define EWB_OBJ_UNSPEC "EWB_OBJ_UNSPEC" // If we failed to unwrap napi_value object into wireguard structs. #define EWB_ARG_UNSPEC "EWB_ARG_UNSPEC" // If the argument given is not valid. #define EWB_LIB_CALLFAIL "EWB_LIB_CALLFAIL" // If we failed to call wireguard library functions. #define EWB_NNA_CALLFAIL "EWB_NNA_CALLFAIL" // If we failed to call napi library functions. #define EWB_SOC_CALLFAIL "EWB_SOC_CALLFAIL" // If we failed to call socket to kernel or related system calls. ``` ## Bindings You can import the binding object via `import {wg} from 'embeddable-wg';`. For modification of the device and interface, refer to [Applying modifications](#applying-modifications) for instructions on performing automatic bitwise operations. ```typescript export type AddressFamily = Binding['AF_INET'] | Binding['AF_INET6']; export type InterfaceAddress = { family: AddressFamily; ip: string; }; export type WireguardAllowedIp = { addr: string; family: AddressFamily; cidr: number; }; export type WireguardPeer = { flags: number; publicKey: string; presharedKey: string; endpoint: string; persistentKeepaliveInterval: number; allowedIps: WireguardAllowedIp[]; }; export type WireguardDevice = { name: string; ifindex: number; flags: number; publicKey: string; privateKey: string; fwmark: number; listenPort: number; peers: WireguardPeer[]; }; export type Binding = { getDevice: (deviceName: string) => WireguardDevice; setDevice: (device: WireguardDevice) => void; addDevice: (deviceName: string) => void; removeDevice: (deviceName: string) => void; listDeviceNames: () => string[]; generatePublicKey: (privateKey: string) => string; generatePrivateKey: () => string; generatePresharedKey: () => string; getInterfaceAddress: (deviceName: string) => InterfaceAddress[]; setInterfaceAddress: (deviceName: string, address: InterfaceAddress) => void; WGDEVICE_REPLACE_PEERS: number; WGDEVICE_HAS_PRIVATE_KEY: number; WGDEVICE_HAS_PUBLIC_KEY: number; WGDEVICE_HAS_LISTEN_PORT: number; WGDEVICE_HAS_FWMARK: number; WGPEER_REMOVE_ME: number; WGPEER_REPLACE_ALLOWEDIPS: number; WGPEER_HAS_PUBLIC_KEY: number; WGPEER_HAS_PRESHARED_KEY: number; WGPEER_HAS_PERSISTENT_KEEPALIVE_INTERVAL: number; AF_INET: number; AF_INET6: number; }; ``` ### Applying modifications If you plan to modify a device or peer, it is important to set the proper flags property before applying any modifications. For example, if you want to apply changes to the `publicKey` property of an object retrieved from the `wg.getDevice` method, you will need to set the `WGDEVICE_HAS_PUBLIC_KEY` flag. Setting flags is same as it uses a simple bitwise system. ```typescript import {wg} from 'embeddable-wg'; const dev = wg.getDevice('wgtest0'); dev.privateKey = wg.generatePrivateKey(); dev.publicKey = wg.generatePublicKey(dev.privateKey); dev.flags |= wg.WGDEVICE_HAS_PRIVATE_KEY; dev.flags |= wg.WGDEVICE_HAS_PUBLIC_KEY; ``` While the class wrapper automates this process, it is also safe to use the binding directly if you need to implement a more efficient method. ### Address families and IP format The address family describes the type of IP address that will be used. We provide `AF_INET` and `AF_INET6` from the binding source instead of hard-coding the values. Each of these constants refers to IPv4 and IPv6, respectively. ```typescript import {wg} from 'embeddable-wg' const ia = { "ip": "10.0.0.1", "family": wg.AF_INET, } ``` ## Class wrappers We also provide class wrappers for easy use. The main purpose of these class wrappers is to operate on the flags property automatically when a matching method is called. ```typescript import { type Binding, type WireguardAllowedIp, type WireguardPeer, type WireguardDevice, type AddressFamily } from '../types/wg.js'; export declare const wg: Binding; export type { WireguardAllowedIp, WireguardPeer, WireguardDevice, }; export declare class WgPeer { flags: number; publicKey: string; presharedKey: string; endpoint: string; persistentKeepaliveInterval: number; allowedIps: WireguardAllowedIp[]; private readonly device; constructor(device: WgDevice, peer: WireguardPeer); /** * Sets allowed ips for the peer. * Note that this method completely replaces allowedIps value for the peer. * @example peer.setAllowedIps([{family: wg.AF_INET, addr: '10.0.0.2', cidr: 32}]); * @param allowedIps The array of allowed ips. * @returns Returns `this`. */ setAllowedIps(allowedIps: WireguardAllowedIp[]): this; /** * Sets public key for the peer. * You can generate the key via `wg.generatePublicKey(peer.presharedKey);`. * @example peer.setPublicKey(wg.generatePublicKey(peer.presharedKey)); * @param key The public key in base64 format. * @returns Returns `this`. */ setPublicKey(key: string): this; /** * Sets preshared key for the peer. * You can generate the key via `wg.generatePresharedKey();`. * @example peer.setPresharedKey(wg.generatePresharedKey()); * @param key The preshared key in base64 format. * @returns Returns `this`. */ setPresharedKey(key: string): this; /** * Removes the peer from the device. */ remove(): void; private update; } export declare class WgDevice { name: string; ifindex: number; flags: number; publicKey: string; privateKey: string; fwmark: number; listenPort: number; peers: WgPeer[]; constructor(device: WireguardDevice); /** * Gets the interface address of the device interface. * @returns The array of interface addresses. */ getInterfaceAddress(): import("../types/wg.js").InterfaceAddress[]; /** * Sets the interface address of the device interface. * @example device.setInterfaceAddress(wg.AF_INET, '10.0.0.1'); * @param family The address family; should be wg.AF_INET or wg.AF_INET6. * @param ip The ip address without any additional information; such as protocol. * @returns Returns `this`. */ setInterfaceAddress(family: AddressFamily, ip: string): this; /** * Sets the public key for the device. * @example device.setPublicKey(wg.generatePrivateKey(device.publicKey)); * @param key The public key in base64 format. * @returns Returns `this`. */ setPublicKey(key: string): this; /** * Sets the private key for the device. * @example device.setPrivateKey(wg.generatePrivateKey()); * @param key The private key in base64 format. * @returns Returns `this`. */ setPrivateKey(key: string): this; /** * Sets the `fwmark` for the device. * WARNING; `fwmark` is used to route the packet to specific interface in Linux netfilter, and can lead to unexpected result. * @param fwmark The fwmark value. * @returns Returns `this`. */ setFwmark(fwmark: number): this; /** * Sets the port number for the device. * @example device.setListenPort(8888); * @param port The port number. * @returns Returns `this`. */ setListenPort(port: number): this; /** * Adds a peer to the device. * @param source The peer source. * @returns Returns `this`. */ addPeer(source: WireguardPeer): this; /** * Removes the device. */ remove(): void; private update; } //# sourceMappingURL=index.d.ts.map ``` ### Initialization To initialize the class wrappers, you'll simply need to retrieve the `WireguardDevice` and `WireguardPeer` object from native binding. ```typescript import {wg, WgDevice} from 'embeddable-wg'; const dev = new WgDevice(wg.getDevice(targetDevName)); ``` Once initialized, the flags property will be handled automatically when using methods from the class wrapper.
This package includes bindings of embeddable-wg-library in wireguard-tools library for efficient calls to set up WireGuard devices.
binding,javascript,native,vpn,wireguard
2023-03-01T03:17:07Z
2023-03-03T17:39:11Z
null
1
2
19
3
0
3
null
MIT
C
rdbo/nutrinow
master
# NutriNow Make the diet of your dreams ![mobile](mobile.png) ![mobile_menu](mobile_menu.png) ![dashboard](dashboard.png) ![foods](foods.png) ![nutrition](nutrition.png) # Description NutriNow is a website for meal planning. It calculates your daily nutritional values based on the foods you pick, allowing you to adapt accordingly. # License All files in this repository are licensed under the GNU Affero General Public License - Version 3.0 (GNU AGPLv3.0, no later versions allowed), with the exception of: `frontend/src/assets/imgs/*`: Each file has its own license. Read the `frontend/src/assets/imgs/CREDITS` file for more information. `frontend/src/assets/fonts/Itim/*`: Open Font License Version 1.1 (more information at: `frontend/src/assets/fonts/Itim/OFL.txt`) For more information about the GNU AGPLv3.0, read the file `LICENSE` on the root directory of this repository.
NutriNow - Complete diet/meal planner powered by Vue.js and actix-web.
actix-web,backend,frontend,javascript,rust,rust-lang,tailwind,tailwindcss,vue3,vuejs
2023-03-05T19:51:06Z
2024-03-14T00:37:00Z
2023-05-21T13:17:30Z
1
0
251
21
1
3
null
AGPL-3.0
Vue
nacho-cs/nacho-cs.github.io
main
# MCSR ranked stats viewer ## A simple way to view statistics for MCSR ranked ## Features - Leaderboard viewing - Ability to view a player's stats - Ability to view a player's match history ## Usage - Type either a player's name into the search bar or 'leaderboard'/'lb' - A player's name gets their stats/match history - 'Leaderboard'/'lb' gets the current leaderboard ## Changelog - 2/24/23: U.I. Enhancements - 2/26/23: Minor tweaks (added favicon, ranks, etc.) - 2/26/23: Added dark/light theme. **Uses local storage to remember the user's prefered theme, but no other data is stored.** - 3/3/23: Changed background color/added match type - 3/4/23: Added proper dark/light theme support, changed favicon, added elo graph to show elo over time, added credit - 3/4/23: Added the ability to download the graph, cleaned up html/css a bit - 3/14/23: updated mobile ui a bit, im planning for a completely ui overhaul however - 3/25/23: updated to match api version 1.3 - 4/4/23: fixed a bug with win percentage - 4/5/23: small qol changes - 4/23/23: changed up the whole u.i. and updated to match api version 1.5 - 4/24/23: a lot of small tweaks: changed the font to inter, changed from chart.xkcd to chart.js, automatically applies dark mode, cleaned up u.i., applies theme automatically, added the ability to download images, made the color of elo more visible - 4/28/23: u.i. enhancements, bug fixes, added the about section, added a latest match section, made the elo history graph correspond to how many runs are shown therefore reducing the number of API calls needed
A simple stats viewer for mcsr ranked
javascript,mcsr,minecraft,speedrunning
2023-02-25T02:13:52Z
2023-05-15T00:47:37Z
null
1
1
118
0
0
3
null
null
HTML
andrvss/Website
main
<h1 align="center"> terraSocial </h1> <p align="center"> terraSocial, o clone de uma rede social em formato de website. <br/> </p> <p align="center"> <a href="#-tecnologias">Tecnologias</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-projeto">Projeto</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#-layout">Layout</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#memo-licença">Licença</a> </p> <p align="center"> <img alt="License" src="https://img.shields.io/static/v1?label=license&message=MIT&color=49AA26&labelColor=000000"> </p> <br> <p align="center"> <img alt="Projeto terraSocial" src="https://user-images.githubusercontent.com/110691699/221421170-77b0905c-5bfe-458d-bf12-90ea01619324.png" width="100%"> </p> ## 🚀 Tecnologias Esse projeto foi desenvolvido com as seguintes tecnologias: - HTML e CSS - JavaScript - Git e Github ## 💻 Projeto Projeto realizado para treinamento de linguagens de programação como HTML, CSS e JavaScript. Ainda não está totalmente concluído, pois farei atualizações conforme aprendo novas funções e também aplicarei a responsividade. Tratado como clone, é um website de rede social, onde coloquei para simular os perfis, atores famosos e alguns dos quais sou fã. Na sessão de stories vemos animais, pois abordei uma metodologia de "Animal Day", como se fosse o caso para todos eles postarem. - [Visite o projeto online aqui](https://andrvss.github.io/Website/) ## 🔖 Layout Você pode visualizar o layout do projeto através [DESSE LINK](https://www.figma.com/file/l6XpPpew0EbGMJwlr3Mkll/tS---thumbnail?node-id=0%3A1&t=OLIZmDKwN8hRZcih-1). É necessário ter conta no [Figma](https://figma.com) para acessá-lo. ## :memo: Licença Esse projeto está sob a licença MIT. --- Feito com ♥ por Paulo Andres. :wave: [Conheça minha inspiração aqui!](https://youtu.be/AiFfDjmd0jU)
Clone de uma rede social em formato de website.
css,figma,git,github,html,javascript
2023-02-25T23:36:45Z
2023-02-26T15:51:33Z
null
1
0
5
2
0
3
null
null
HTML
shotit/shotit-worker
main
# Shotit-worker [![License](https://img.shields.io/github/license/shotit/shotit-worker.svg?style=flat-square)](https://github.com/shotit/shotit-worker/blob/master/LICENSE) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/shotit/shotit-worker/docker-image.yml?branch=main&style=flat-square)](https://github.com/shotit/shotit-worker/actions) [![GitHub release](https://img.shields.io/github/release/shotit/shotit-worker.svg)](https://github.com/shotit/shotit-worker/releases/latest) [![Watcher Docker](https://img.shields.io/docker/pulls/lesliewong007/shotit-worker-watcher?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-watcher) [![Watcher Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-worker-watcher/v0.9.16?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-watcher) [![Hasher Docker](https://img.shields.io/docker/pulls/lesliewong007/shotit-worker-hasher?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-hasher) [![Hasher Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-worker-hasher/v0.9.16?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-hasher) [![Loader Docker](https://img.shields.io/docker/pulls/lesliewong007/shotit-worker-loader?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-loader) [![Loader Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-worker-loader/v0.9.16?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-loader) [![Searcher Docker](https://img.shields.io/docker/pulls/lesliewong007/shotit-worker-searcher?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-searcher) [![Searcher Docker Image Size](https://img.shields.io/docker/image-size/lesliewong007/shotit-worker-searcher/v0.9.16?style=flat-square)](https://hub.docker.com/r/lesliewong007/shotit-worker-searcher) Backend workers for [shotit](https://github.com/shotit/shotit). Four core workers of shotit: watcher, hasher, loader and searcher. ### Features - watch file system changes and upload hash to shotit-media - download video from shotit-media, hash, and upload to shotit-api - download hash from shotit-api, deduplicate, and upload to milvus ### Prerequisites - Node.js 16.x, 18.x - ffmpeg 4.x - java (openjdk 1.8.0) - git - [pm2](https://pm2.keymetrics.io/) ### Local Development Guide Install Prerequisites first, then: ``` git clone https://github.com/shotit/shotit-worker.git cd shotit-worker yarn install ``` ### Configuration - Copy `.env.example` to `.env` - Edit `.env` as appropriate for your setup, as is for the first time. ### Start workers You can use pm2 to run this in background in cluster mode. Use below commands to start / restart / stop server. ``` yarn start yarn stop yarn reload yarn restart yarn delete yarn logs ``` To change the number of nodejs instances, edit ecosystem.config.json
Four core workers of shotit: watcher, hasher, loader and searcher.
anns,approximate-nearest-neighbor-search,distributed,embedding-similarity,faiss,image-search,javascript,liresolr,nearest-neighbor-search,node
2023-02-26T16:35:58Z
2023-08-10T23:02:40Z
2023-08-10T23:02:40Z
2
93
328
0
0
3
null
Apache-2.0
JavaScript
mikececco/tabinav
master
tabinav created and maintained by <a href="https://github.com/mikececco/airbnb-tabinav/graphs/contributors"> <img src="https://contrib.rocks/image?repo=mikececco/tabinav" /> </a> Check it out at: http://www.tabinav.com/
AI-powered trip planner. For demo: https://www.youtube.com/watch?v=HiK7IjGaO1E&ab_channel=LeWagon
javascript,ruby-on-rails,stimulusjs,tailwindcss,chatgpt-api
2023-03-06T15:01:08Z
2023-03-17T14:05:58Z
null
3
71
288
0
1
3
null
null
Ruby
Dominate-color/dominate-color-js
master
[code-badge]: https://img.shields.io/badge/source-black?logo=github # @dominate-color.js A mono repository containing all packages named [dominate-color.js](/) > ⚠️The package utilizes the Web API. If you intend to use it in a > different environment, please check the repository for the > presence of polyfills. If they are missing, you will be > responsible for providing them. ## Packages ### [`@dominate-color.js/core`](https://github.com/Dominate-color/dominate-color-js#readme) [core-npm-badge]: https://img.shields.io/npm/v/@dominate-color.js/core?logo=npm [![core-npm-badge]](https://npmjs.com/package/@dominate-color.js/core) ![Size](https://img.shields.io/bundlephobia/minzip/@dominate-color.js/core) [![code-badge]](https://github.com/Dominate-color/dominate-color-js/tree/master/packages/core) A TypeScript library that is adept at extracting the dominant color from an image and providing detailed color analysis. The functionality of `@dominate-color.js/core` is built to be precise and efficient, offering developers the tools needed to analyze colors in images, extract color palettes, and convert them into different formats, such as RGBA. Prior to integrating `@dominate-color.js/core` into your project, it's recommended to review the [documentation](https://github.com/Dominate-color/dominate-color-js#readme) thoroughly to understand the full capabilities of the library and how to implement it effectively.
🔎 dominate-color-js is a library for finding the dominant color in PNG, JPEG and WEBP images using the KMeans++ algorithm. It can extract the primary color and its hue in RGBA format and convert it.
color,find,javascript,package,pnpm,typescript,algorithms,zero-dependency
2023-02-25T01:29:53Z
2023-12-17T01:21:15Z
2023-12-17T01:22:13Z
1
9
66
1
0
3
null
null
TypeScript
NafisAamir/kfc-clone
main
# kfc-clone deployed link https://creative-praline-bb6624.netlify.app/ <h3 align="center">This is a collaborative project of three members:-</h3> <h3 align="center">1. Md Nafis Aamir<a href="https://github.com/NafisAamir" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/github.svg" alt="Nafis" height="30" width="40" /></a></h3> <h3 align="center">2. Shubhii Sharma<a href="https://github.com/shubhi221199" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/github.svg" alt="Shubii" height="30" width="40" /></a></h3> <h3 align="center">3. Rahul Kumar<a href="https://github.com/RahulKumarjsr" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/github.svg" alt="Rahul" height="30" width="40" /></a></h3> <h3 align="center">We as a team worked on this project for a time span of 6 days</h3> <h3 align="center">The tech stack used in this Project is HTML,CSS and JS </h3>
This is a collaborative project by three members which was completed in a span of 6 days. The tech stack used in this project is HTML,CSS,JS.
css,food-app,food-delivery-application,food-ordering,html,javascript,kfc
2023-03-05T17:29:34Z
2023-07-14T05:51:11Z
null
3
3
18
0
0
3
null
null
JavaScript
seanpm2001/SDE_WebCarousel
SDE_WebCarousel_Main-dev
*** # <projectName> ![{Project icon} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.](Image.svg) # By: <!-- ![{Developer name} This image failed to load. It may be due to the file not being reached, or a general error. Reload the page to fix a possible general error.](Image2.svg) !--> ## [Seanpm2001](https://github.com/seanpm2001/), [<developerName>](https://github.com/<developerName>/) Et; Al. ### Top # `README.md` *** ## Read this article in a different language **Sorted by:** `A-Z` [Sorting options unavailable](https://github.com/<developerName>/<repoName>) ( [af Afrikaans](/.github/README_AF.md) Afrikaans | [sq Shqiptare](/.github/README_SQ.md) Albanian | [am አማርኛ](/.github/README_AM.md) Amharic | [ar عربى](/.github/README_AR.md) Arabic | [hy հայերեն](/.github/README_HY.md) Armenian | [az Azərbaycan dili](/.github/README_AZ.md) Azerbaijani | [eu Euskara](/.github/README_EU.md) Basque | [be Беларуская](/.github/README_BE.md) Belarusian | [bn বাংলা](/.github/README_BN.md) Bengali | [bs Bosanski](/.github/README_BS.md) Bosnian | [bg български](/.github/README_BG.md) Bulgarian | [ca Català](/.github/README_CA.md) Catalan | [ceb Sugbuanon](/.github/README_CEB.md) Cebuano | [ny Chichewa](/.github/README_NY.md) Chichewa | [zh-CN 简体中文](/.github/README_ZH-CN.md) Chinese (Simplified) | [zh-t 中國傳統的)](/.github/README_ZH-T.md) Chinese (Traditional) | [co Corsu](/.github/README_CO.md) Corsican | [hr Hrvatski](/.github/README_HR.md) Croatian | [cs čeština](/.github/README_CS.md) Czech | [da dansk](README_DA.md) Danish | [nl Nederlands](/.github/README_NL.md) Dutch | [**en-us English**](/.github/README.md) English | [EO Esperanto](/.github/README_EO.md) Esperanto | [et Eestlane](/.github/README_ET.md) Estonian | [tl Pilipino](/.github/README_TL.md) Filipino | [fi Suomalainen](/.github/README_FI.md) Finnish | [fr français](/.github/README_FR.md) French | [fy Frysk](/.github/README_FY.md) Frisian | [gl Galego](/.github/README_GL.md) Galician | [ka ქართველი](/.github/README_KA) Georgian | [de Deutsch](/.github/README_DE.md) German | [el Ελληνικά](/.github/README_EL.md) Greek | [gu ગુજરાતી](/.github/README_GU.md) Gujarati | [ht Kreyòl ayisyen](/.github/README_HT.md) Haitian Creole | [ha Hausa](/.github/README_HA.md) Hausa | [haw Ōlelo Hawaiʻi](/.github/README_HAW.md) Hawaiian | [he עִברִית](/.github/README_HE.md) Hebrew | [hi हिन्दी](/.github/README_HI.md) Hindi | [hmn Hmong](/.github/README_HMN.md) Hmong | [hu Magyar](/.github/README_HU.md) Hungarian | [is Íslenska](/.github/README_IS.md) Icelandic | [ig Igbo](/.github/README_IG.md) Igbo | [id bahasa Indonesia](/.github/README_ID.md) Icelandic | [ga Gaeilge](/.github/README_GA.md) Irish | [it Italiana/Italiano](/.github/README_IT.md) | [ja 日本語](/.github/README_JA.md) Japanese | [jw Wong jawa](/.github/README_JW.md) Javanese | [kn ಕನ್ನಡ](/.github/README_KN.md) Kannada | [kk Қазақ](/.github/README_KK.md) Kazakh | [km ខ្មែរ](/.github/README_KM.md) Khmer | [rw Kinyarwanda](/.github/README_RW.md) Kinyarwanda | [ko-south 韓國語](/.github/README_KO_SOUTH.md) Korean (South) | [ko-north 문화어](README_KO_NORTH.md) Korean (North) (NOT YET TRANSLATED) | [ku Kurdî](/.github/README_KU.md) Kurdish (Kurmanji) | [ky Кыргызча](/.github/README_KY.md) Kyrgyz | [lo ລາວ](/.github/README_LO.md) Lao | [la Latine](/.github/README_LA.md) Latin | [lt Lietuvis](/.github/README_LT.md) Lithuanian | [lb Lëtzebuergesch](/.github/README_LB.md) Luxembourgish | [mk Македонски](/.github/README_MK.md) Macedonian | [mg Malagasy](/.github/README_MG.md) Malagasy | [ms Bahasa Melayu](/.github/README_MS.md) Malay | [ml മലയാളം](/.github/README_ML.md) Malayalam | [mt Malti](/.github/README_MT.md) Maltese | [mi Maori](/.github/README_MI.md) Maori | [mr मराठी](/.github/README_MR.md) Marathi | [mn Монгол](/.github/README_MN.md) Mongolian | [my မြန်မာ](/.github/README_MY.md) Myanmar (Burmese) | [ne नेपाली](/.github/README_NE.md) Nepali | [no norsk](/.github/README_NO.md) Norwegian | [or ଓଡିଆ (ଓଡିଆ)](/.github/README_OR.md) Odia (Oriya) | [ps پښتو](/.github/README_PS.md) Pashto | [fa فارسی](/.github/README_FA.md) |Persian [pl polski](/.github/README_PL.md) Polish | [pt português](/.github/README_PT.md) Portuguese | [pa ਪੰਜਾਬੀ](/.github/README_PA.md) Punjabi | No languages available that start with the letter Q | [ro Română](/.github/README_RO.md) Romanian | [ru русский](/.github/README_RU.md) Russian | [sm Faasamoa](/.github/README_SM.md) Samoan | [gd Gàidhlig na h-Alba](/.github/README_GD.md) Scots Gaelic | [sr Српски](/.github/README_SR.md) Serbian | [st Sesotho](/.github/README_ST.md) Sesotho | [sn Shona](/.github/README_SN.md) Shona | [sd سنڌي](/.github/README_SD.md) Sindhi | [si සිංහල](/.github/README_SI.md) Sinhala | [sk Slovák](/.github/README_SK.md) Slovak | [sl Slovenščina](/.github/README_SL.md) Slovenian | [so Soomaali](/.github/README_SO.md) Somali | [[es en español](/.github/README_ES.md) Spanish | [su Sundanis](/.github/README_SU.md) Sundanese | [sw Kiswahili](/.github/README_SW.md) Swahili | [sv Svenska](/.github/README_SV.md) Swedish | [tg Тоҷикӣ](/.github/README_TG.md) Tajik | [ta தமிழ்](/.github/README_TA.md) Tamil | [tt Татар](/.github/README_TT.md) Tatar | [te తెలుగు](/.github/README_TE.md) Telugu | [th ไทย](/.github/README_TH.md) Thai | [tr Türk](/.github/README_TR.md) Turkish | [tk Türkmenler](/.github/README_TK.md) Turkmen | [uk Український](/.github/README_UK.md) Ukrainian | [ur اردو](/.github/README_UR.md) Urdu | [ug ئۇيغۇر](/.github/README_UG.md) Uyghur | [uz O'zbek](/.github/README_UZ.md) Uzbek | [vi Tiếng Việt](/.github/README_VI.md) Vietnamese | [cy Cymraeg](/.github/README_CY.md) Welsh | [xh isiXhosa](/.github/README_XH.md) Xhosa | [yi יידיש](/.github/README_YI.md) Yiddish | [yo Yoruba](/.github/README_YO.md) Yoruba | [zu Zulu](/.github/README_ZU.md) Zulu ) Available in 110 languages (108 when not counting English and North Korean, as North Korean has not been translated yet [Read about it here](/OldVersions/Korean(North)/README.md)) Translations in languages other than English are machine translated and are not yet accurate. No errors have been fixed yet as of March 21st 2021. Please report translation errors [here](https://github.com/<developerName>/<repoName>/issues/). Make sure to backup your correction with sources and guide me, as I don't know languages other than English well (I plan on getting a translator eventually) please cite [wiktionary](https://en.wiktionary.org) and other sources in your report. Failing to do so will result in a rejection of the correction being published. Note: due to limitations with GitHub's interpretation of markdown (and pretty much every other web-based interpretation of markdown) clicking these links will redirect you to a separate file on a separate page that isn't the intended page. You will be redirected to the [.github folder](/.github/) of this project, where the README translations are hosted. Translations are currently done with Bing translate and DeepL. Support for Google Translate translations is coming to a close due to privacy concerns. *** # Index [00.0 - Top](#Top) > [00.1 - Title](#<projectName>) > [00.2 - Read this article in a different language](#Read-this-article-in-a-different-language) > [00.3 - Index](#Index) [01.0 - Description](#RepositoryName) [02.0 - About](#About) [03.0 - Wiki](#Wiki) [04.0 - History](#History) > [04.1 - Pre-history](#Pre-history) > [04.2 - Alpha History](#Alpha-history) > [04.3 - Beta History](#Beta-history) > [04.4 - Modern History](#Modern-history) [05.0 - Copying](#Copying) [06.0 - Credits](#Credits) [07.0 - Installation](#Installation) [08.0 - Version history](#Version-history) [09.0 - Version history](#Version-history) [10.0 - Software status](#Software-status) [11.0 - Sponsor info](#Sponsor-info) [12.0 - Contributers](#Contributers) [13.0 - Issues](#Issues) > [13.1 - Current issues](#Current-issues) > [13.2 - Past issues](#Past-issues) > [13.3 - Past pull requests](#Past-pull-requests) > [13.4 - Active pull requests](#Active-pull-requests) [14.0 - Resources](#Resources) [15.0 - Contributing](#Contributing) [16.0 - About README](#About-README) [17.0 - README Version history](#README-version-history) [18.0 - Footer](#You-have-reached-the-end-of-the-README-file) > [18.9 - End of file](#EOF) *** # <repoName> <repo_description> *** ## About See above. <extendedRepoDescription> *** ## Wiki [Click/tap here to view this projects Wiki](https://github.com/<developerName>/<repoName>/wiki) If the project has been forked, the Wiki was likely removed. Luckily, I include an embedded version. You can view it [here](/External/ProjectWiki/). *** ## History Write about this projects history here. ### Pre-history No pre-history to show for this project. ### Alpha history No Alpha history to show for this project. ### Beta history No Beta history to show for this project. ### Modern history No Modern history to show for this project. *** ## Copying View the copying license for this project [here](/COPYING) (if you haven't built the project yet with the makefile, here is the original link: [COPYINGL](/COPYINGL) Please note that you also have to follow the rules of the GNU General Public License v3 (GPL3) which you can view [here](/LICENSE.txt) *** ## Credits View the credits file for this project and see the people who got together to make this project by [clicking/tapping here](/CREDITS) *** ## Installation View the installation instructions file for this project [here](/INSTALL) Requirements: Read the instructions for more info, and get the latest up-to-date instructions [here](https://gist.github.com/seanpm2001/745564a46186888e829fdeb9cda584de) *** ## Sponsor info ![SponsorButton.png](/SponsorButton.png) You can sponsor this project if you like, but please specify what you want to donate to. [See the funds you can donate to here](https://github.com/seanpm2001/Sponsor-info/tree/main/For-sponsors/) You can view other sponsor info [here](https://github.com/seanpm2001/Sponsor-info/) Try it out! The sponsor button is right up next to the watch/unwatch button. *** ## Version history **Version history currently unavailable** **No other versions listed** *** ## Software status All of my works are free some restrictions. DRM (**D**igital **R**estrictions **M**anagement) is not present in any of my works. ![DRM-free_label.en.svg](/DRM-free_label.en.svg) This sticker is supported by the Free Software Foundation. I never intend to include DRM in my works. I am using the abbreviation "Digital Restrictions Management" instead of the more known "Digital Rights Management" as the common way of addressing it is false, there are no rights with DRM. The spelling "Digital Restrictions Management" is more accurate, and is supported by [Richard M. Stallman (RMS)](https://en.wikipedia.org/wiki/Richard_Stallman) and the [Free Software Foundation (FSF)](https://en.wikipedia.org/wiki/Free_Software_Foundation) This section is used to raise awareness for the problems with DRM, and also to protest it. DRM is defective by design and is a major threat to all computer users and software freedom. Image credit: [defectivebydesign.org/drm-free/...](https://www.defectivebydesign.org/drm-free/how-to-use-label/) *** ## Contributers Currently, I am the only contributer. Contributing is allowed, as long as you follow the rules of the [CONTRIBUTING.md](/CONTRIBUTING.md) file. > * 1. [seanpm2001](https://github.com/seanpm2001/) - x commits (As of Yr, DoW, Month, DoM, at ##:## a/pm) > * 2. No other contributers. *** ## Issues ### Current issues * None at the moment * No other current issues If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Past issues * None at the moment * No other past issues If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Past pull requests * None at the moment * No other past pull requests If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. ### Active pull requests * None at the moment * No other active pull requests If the repository has been forked, issues likely have been removed. Luckily I keep an archive of certain images [here](/.github/Issues/) [Read the privacy policy on issue archival here](/.github/Issues/README.md) **TL;DR** I archive my own issues. Your issue won't be archived unless you request it to be archived. *** ## Resources Here are some other resources for this project: [Project language file A](PROJECT_LANG_1.<fileExtensionForProgrammingLanguage>) [Join the discussion on GitHub](https://github.com/<developerName>/<repoName>/discussions) No other resources at the moment. *** ## Contributing Contributing is allowed for this project, as long as you follow the rules of the `CONTRIBUTING.md` file. [Click/tap here to view the contributing rules for this project](/CONTRIBUTING.md) *** ## About README **File type:** `Markdown Document (*.md *.mkd *.markdown)` **File version:** `0.1.6 (Monday, August 23rd 2021 at 6:37 pm)` **Line count (including blank lines and compiler line):** `0,407` *** ## README version history Version 0.1 (Sunday, March 21st 2021 at 7:50 pm) > Changes: > * Started the file > * Added the title section > * Added the index > * Added the about section > * Added the Wiki section > * Added the version history section > * Added the issues section. > * Added the past issues section > * Added the past pull requests section > * Added the active pull requests section > * Added the contributors section > * Added the contributing section > * Added the about README section > * Added the README version history section > * Added the resources section > * Added a software status section, with a DRM free sticker and message > * Added the sponsor info section **ITERATION 5** > * Updated the title section > * Updated the index > * Added the history section > * Updated the file info section > * Updated the file history section **ITERATION 6** > * Updated the title section > * Fixed and update template links > * Updated the index > * Added the copying section > * Added the credits section > * Added the installation section > * Updated the resources section > * Updated the contributors section > * Added the technical notes section > * Updated the footer > * Updated the file info section > * Updated the file history section > * No other changes in version 0.1 Version 1 (Coming soon) > Changes: > * Coming soon > * No other changes in version 1 Version 2 (Coming soon) > Changes: > * Coming soon > * No other changes in version 2 *** ### You have reached the end of the README file ( [Back to top](#Top) | [Exit to GitHub](https://github.com) | [Exit to Bing](https://www.bing.com/) | [Exit to DuckDuckGo](https://duckduckgo.com/) | [Exit to Ecosia](https://www.ecosia.org) ) ### EOF ***
🎠️🖥️🎠️ A carousel user interface implementation for the S Desktop Environment, designed for websites and web applications.
carousel,carousel-gui,css,desktop-environment,gpl3,gplv3,gui,html,javascript,md
2023-03-09T18:59:52Z
2023-03-09T21:54:57Z
null
1
0
102
0
2
3
null
NOASSERTION
PHP
aidenkoog/useful-react-native-utility
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## react-native-utility - This repository has many kinds of utility classes. #### Continue to study and ponder to improve the code structure. - Language: Typescript - Structure Summary - ✨ assets - ✨ data - ✨ domain - ✨ presentation - ✨ utils #### Utilities provided in this repository. - Alert - BLE - Common - Logger - Navigation - Permission - Storage - Theme - Time - Toast - Constants #### Release Note - 2023/03/07: Initalize react-native typescript project. - 2023/03/08: Update utility functions / classes / usecases. - 2023/03/08: Update README.md #### Build Trouble Shooting - Error: Task :app:validateSigningDebug FAILED / Keystore ... not found for signing.. - cd android/app - Execute command, keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 #### Link If you are interested in information about me or other activities, please access the link below. | Plugin | LINK | | ----------- | ------------------------------ | | Github page | [https://aidenkoog.github.io/] |
This repository has many kinds of utility classes.
react,react-native,utility,utility-classes,javascript,typescript
2023-03-06T13:29:27Z
2024-02-10T04:08:05Z
null
1
0
8
0
0
3
null
null
TypeScript
fastercodee/playground
main
# fCanvas Playground (fcanvas-playground) Online playground for write and play JavaScript, TypeScript, Vue, React, Lit, Solid, Svelte [![GitHub license](https://img.shields.io/github/license/fastercodee/playground)](https://github.com/fastercodee/playground/blob/main/LICENSE) <img alt="GitHub Issues" src="https://img.shields.io/github/issues/fastercodee/playground" /> ![](https://api.codiga.io/project/36164/score/svg) ![](https://api.codiga.io/project/36164/status/svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/f7aa98fed72047759afb7621e3f4f520)](https://app.codacy.com/gh/fastercodee/playground/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Hits-of-Code](https://hitsofcode.com/github/fastercodee/playground?branch=main)](https://hitsofcode.com/github/fastercodee/playground/view?branch=main) [![Netlify Status](https://api.netlify.com/api/v1/badges/473482f1-aa29-42c1-a672-f2418b98f499/deploy-status)](https://app.netlify.com/sites/fastercode/deploys) [![Netlify Status](https://api.netlify.com/api/v1/badges/8810f8b1-ac17-4df5-84d2-f6dccde7fa9a/deploy-status)](https://app.netlify.com/sites/preview-fastercode/deploys) [![Test](https://github.com/fastercodee/playground/actions/workflows/test.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/test.yml) [![CodeQL](https://github.com/fastercodee/playground/actions/workflows/codeql.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/codeql.yml) [![ESLint](https://github.com/fastercodee/playground/actions/workflows/eslint.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/eslint.yml) [![Prettier](https://github.com/fastercodee/playground/actions/workflows/pretter.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/pretter.yml) [![TypeScript Checker Declaration](https://github.com/fastercodee/playground/actions/workflows/typing.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/typing.yml) [![Try build](https://github.com/fastercodee/playground/actions/workflows/try-build.yml/badge.svg)](https://github.com/fastercodee/playground/actions/workflows/try-build.yml) > **Beta**: The app is under development and only core features are implemented ## Upcoming - [x] jvascript module - [x] typescript module - [x] jsx, tsx, vue sfc - [x] import NPM package - [x] support solidjs - [x] svelte - [ ] SFC CSS module - [ ] SASS - [ ] add tester similar to vitest - [ ] add settings - [ ] add check sketches - [ ] add comment sketch - [x] tab package manager - [ ] add like sketch - [ ] share code without hosting on the server - [ ] add a compiler/interpreter to run C/C++, Python or Ruby - [ ] cache all files? ## Preview This is screenshot edit and preview sketch use Vue SFC template Vue + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/b9cb2ced-59a5-49eb-a7c5-e1a3fd00eb9e) React + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/af57d969-e661-428f-9ad4-c53a84ccc3e2) Lit + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/3f0645fc-e589-4d33-a4da-88cdcacd9e3e) Preact + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/3699bb07-5c4b-415a-ad09-7a280efae8db) Solid + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/5aff163c-eb70-4831-bac7-17ebc981a69c) Svelte + TypeScript ![image](https://github.com/fastercodee/playground/assets/45375496/1bff1661-af74-4ab9-a719-205897eee59f) ## Install the dependencies ```bash pnpm run setup ``` ### Start the app in development mode (hot-code reloading, error reporting, etc.) ```bash pnpm dev ``` ### Lint the files ```bash pnpm lint ``` ### Format the files ```bash pnpm format ``` ### Build the app for production ```bash pnpm build ```
Online playground for write and play JavaScript, TypeScript, Vue, React, Lit, Solid, Svelte
code-editor-online,editor,playground,sketch,javascript,quasar,typescript,vue,vue-sfc,vue3
2023-03-10T12:42:51Z
2024-03-26T09:43:01Z
2023-05-27T12:22:42Z
1
0
311
0
0
3
null
MIT
TypeScript
Rushi0508/SocialBuzz
master
# Social Buzz📱 ## What it does ⚙️ - SocialBuzz a platform designed to connect people around. It allows users to create profiles, follow each other, share photos, and engage in discussions with other users. - It has a simple and user-friendly interface that allows users to easily navigate the platform. It will also have various features such as search users, like posts, follow & unfollow and post feeds and customizable user settings. ## Challenges we ran into 🏃‍♂️ - Adding AJAX was the most challenging part as it was our first time with Django. - Also making the models was slightly tricky for us as we needed the user related details in each page frequently. ## Accomplishments that we're proud of - Rich, Clean and Responsive Design with every necessary functionalities. - We hadn't made this project by concern of college project, we gave our best to implement necessary features and learn many new things. --- ## Tech Stack 👨‍💻 ![Django](https://img.shields.io/badge/django-%23323330.svg?style=for-the-badge&logo=django&logoColor=%23F7DF1E) ![Python](https://img.shields.io/badge/python-%234ea94b.svg?style=for-the-badge&logo=python&logoColor=white) ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white) ![CSS3](https://img.shields.io/badge/css3-%231572B6.svg?style=for-the-badge&logo=css3&logoColor=white) ![Bootstrap](https://img.shields.io/badge/bootstrap-%23563D7C.svg?style=for-the-badge&logo=bootstrap&logoColor=white) ![JavaScript](https://img.shields.io/badge/javascript-20232A.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E) ![JQuery](https://img.shields.io/badge/jquery-6DA55F.svg?style=for-the-badge&logo=jquery&logoColor=%23F7DF1E) --- *Show Your Love By Staring My Repo*
SocialBuzz a platform designed to connect people around. It allows users to create profiles, follow each other, share photos, and engage in discussions with other users. Made with Python and Django
ajax,css,django,html,javascript,python
2023-03-06T05:05:45Z
2023-03-26T15:26:44Z
null
1
0
39
0
1
3
null
null
HTML
Strangeal/bajeri-potfolio
main
<!-- PROJECT DESCRIPTION --> # 📖 [bajeri-portfolio] <a name="about-project"></a> Welcome to my personal portfolio project on GitHub! This repository serves as a collection of my academic and professional materials that showcase my skills, qualifications, education, training, and experiences. Through this portfolio, I aim to provide you with insight into my personality and work ethics. You will find examples of projects I have completed. Additionally, you will have the opportunity to explore my technical expertise, which includes programming languages, tools, and frameworks that I am proficient in. Overall, this portfolio project reflects my commitment to professional development and continuous learning. Thank you for taking the time to visit my GitHub profile, and please feel free to reach out to me if you have any questions or feedback!
Welcome to my personal portfolio project on GitHub! This repository serves as a collection of my academic and professional materials that showcase my skills, qualifications, education, training, and experiences. Through this portfolio, I aim to provide you with insight into my personality and work ethics.
css,javascript,material-ui,react,react-router
2023-03-11T20:49:16Z
2023-11-30T00:28:59Z
null
1
10
59
0
0
3
null
MIT
JavaScript
ArslanYM/JS--ReactJS
main
## JS--ReactJS # WorkFlow (JavaScript) - Basics & Fundamentals - Asynchronous JS - Promises - Async Await - Array & String methods - Advanced Concepts - Hoisting - Classes - Scoping - Closures - ES6+ features - Import/Export - Destructuring - Spread Operator - Shorthands
A Complete Guide for Learning JavaScript from scratch. And then gradually learning about React
async,coding,javascript,javascript-library,js,learning,learning-by-doing,react,react-hooks,react-native
2023-02-27T13:40:06Z
2023-03-16T15:54:08Z
null
1
0
51
0
0
3
null
null
JavaScript
jonycmtt/Frun-Ecommerce-Design
main
<div align="center"> ![GitHub repo size](https://img.shields.io/github/repo-size/jonycmtt/Frun-Ecommerce-Design) ![GitHub stars](https://img.shields.io/github/stars/jonycmtt/Frun-Ecommerce-Design?style=social) ![GitHub forks](https://img.shields.io/github/forks/jonycmtt/Frun-Ecommerce-Design?style=social) <br /> <br /> <h2 align="center">Furniture - Single page Ecommerce Website Design</h2> Furniture is a fully responsive Single page Ecommerce website, <br />Responsive for all devices, build using HTML, CSS, and JavaScript. <a href="https://frun-ecommerce.netlify.app/"><strong>➥ Live Demo</strong></a> </div> <br /> ### Demo Screeshots ![Wren Desktop Demo](./assets/r1.png "Desktop Demo") ![Wren Desktop Demo](./assets/r2.png "Desktop Demo") ## <img alt="gif" src="https://github.com/jonycmtt/jonycmtt/blob/main/wifi-gol.gif?raw=true" width="50" height="50" /> Connect with Me [![Facebook](https://img.shields.io/badge/Facebook-%231877F2.svg?logo=Facebook&logoColor=white)](https://facebook.com/jonycmt) [![Instagram](https://img.shields.io/badge/Instagram-%23E4405F.svg?logo=Instagram&logoColor=white)](https://instagram.com/jonycmt) [![LinkedIn](https://img.shields.io/badge/LinkedIn-%230077B5.svg?logo=linkedin&logoColor=white)](https://linkedin.com/in/salman-rahaman) [![Medium](https://img.shields.io/badge/Medium-12100E?logo=medium&logoColor=white)](https://medium.com/@jonyislamcmt) [![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?logo=YouTube&logoColor=white)](https://youtube.com/@jonycmt)
Furniture is a fully responsive Single page Ecommerce website, Responsive for all devices, build using HTML, CSS, and JavaScript.
css3,html5,javascript,responsive
2023-03-01T19:18:04Z
2023-03-02T14:40:00Z
null
1
0
10
0
0
3
null
null
CSS
bosombaby/cesium-tutorial
master
## 一、前言 ![image.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677395310245-9692756d-5aa0-4d13-be4f-8b017633cd97.png#averageHue=%237e8d87&clientId=u64f851b8-2eda-4&from=paste&id=IGosS&name=image.png&originHeight=400&originWidth=600&originalType=url&ratio=1.25&rotation=0&showTitle=false&size=326900&status=done&style=none&taskId=u8815daeb-dc65-4906-ada9-bf0458b2d73&title=) Cesium是一个用于显示三维地球的开源库,旨在释放3D数据的力量。Cesium基于WebGL技术,能够在Web平台搭建虚拟地球及场景展示应用。 **项目目录** ![11.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677916028780-68fb4d62-1d69-4ff4-a82b-ea9575b876fc.png#averageHue=%2322262d&clientId=uacd0d06a-0f29-4&from=ui&id=ua9ceed37&name=11.png&originHeight=420&originWidth=1110&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=25694&status=done&style=none&taskId=u9f19cc4e-21cb-412d-9eba-207ba029211&title=) - libs存放一些依赖文件 - stage_0阶段的html页面代码 - stage_1阶段的html页面代码 - token官网的token,记得替换成你的 **开源地址**:Cesium三维地图入门教程 ## 二、环境搭建 初始化后的界面及各个控件的名称如图:![image.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677397032052-aaed1160-a874-4e3c-bd6d-540a9d87c735.png#averageHue=%23969d95&clientId=u6f9b8b76-e547-4&from=paste&id=u985028c1&name=image.png&originHeight=750&originWidth=1214&originalType=url&ratio=1.25&rotation=0&showTitle=false&size=878418&status=done&style=none&taskId=ubd9e7157-afe1-449a-93bf-f85ee9ace9b&title=) ```javascript // 引入token,装入容器 Cesium.Ion.defaultAccessToken='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0NmY4OGRkZS03ZTljLTQ5MDMtYmUwZC0wNmM2ZjdmM2M1MzMiLCJpZCI6MTI2MjUzLCJpYXQiOjE2NzczMTI2ODJ9.KO5KCez-xGcJBJfY8XYWAlUXHO4WWrZUm6tCZ1MfCWM' const viewer=new Cesium.Viewer('cesium-container') ``` cesium主要分为下面四个核心类,后续详细介绍: - viewer:场景的总管理者 - scene:加载场景的物体,所有3D图形对象的容器 - entity:由Primitive封装而来,主要加载实体模型几何模型 - dataSourceCollection:加载矢量数据 ## 三、坐标系及转化 ![2.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677397984871-0d828b90-7016-464c-a3cf-72f65deda9f5.png#averageHue=%235d67d1&clientId=u6f9b8b76-e547-4&from=drop&id=u6aaeb138&name=2.png&originHeight=380&originWidth=674&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=160171&status=done&style=none&taskId=u508296ea-ce6b-4562-82a0-b76310f4c37&title=) ### 3.1 wgs84坐标系 ![1.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677397945560-5400c20f-37b4-4cd2-9e9f-868d2f2403ef.png#averageHue=%23faf6e6&clientId=u6f9b8b76-e547-4&from=drop&id=u88626e91&name=1.png&originHeight=782&originWidth=1540&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=580234&status=done&style=none&taskId=u2344cba1-4248-4ec7-a9aa-e6db4b0fa45&title=) [WGS-84坐标系](https://baike.baidu.com/item/WGS-84%E5%9D%90%E6%A0%87%E7%B3%BB/730443?fromModule=lemma_inlink) [1] 的几何意义是:坐标系的原点位于[地球质心](https://baike.baidu.com/item/%E5%9C%B0%E7%90%83%E8%B4%A8%E5%BF%83/7013007?fromModule=lemma_inlink),z轴指向([国际时间局](https://baike.baidu.com/item/%E5%9B%BD%E9%99%85%E6%97%B6%E9%97%B4%E5%B1%80/6302772?fromModule=lemma_inlink))BIH1984.0定义的协议地球极(CTP)方向,x轴指向BIH1984.0的零度[子午面](https://baike.baidu.com/item/%E5%AD%90%E5%8D%88%E9%9D%A2/9688202?fromModule=lemma_inlink)和CTP赤道的交点,y轴通过右手规则确定。 ### 3.2 wgs84弧度计算 一般cesium使用这个计算坐标,把经纬度转变为弧度计算 - 根据弧度创建实例:Cesium.Cartographic.fromRadians(longitude, latitude, height, result) - 经纬度=>弧度:Cesium.Cartographic.fromDegrees(longitude, latitude, height, result) ### 3.3 笛卡尔空间直角坐标系 ![1.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677911680677-b445abf8-c6db-4d3c-8db5-79cd1f453c3e.png#averageHue=%23fdfdfd&clientId=uacd0d06a-0f29-4&from=ui&id=ud5a70e67&name=1.png&originHeight=413&originWidth=779&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=13477&status=done&style=none&taskId=u45f984f9-6b2a-434f-9884-70733a6dfa9&title=) **笛卡尔空间直角坐标系**:以地球中心作为原点计算坐标 ### 3.4 平面坐标系 ![3.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677398402337-6a4fcd37-0449-425e-872a-d70805bb0a2a.png#averageHue=%23f8f8f8&clientId=u6f9b8b76-e547-4&from=ui&id=u3423d764&name=3.png&originHeight=490&originWidth=1236&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=65864&status=done&style=none&taskId=u99d1d6b8-bb20-485f-bace-fefc48698d1&title=) 对于cesium来说通常用第一种坐标系 ## 四、视图与场景 ### 4.1 Viewer 在Cesium中Viewer是一切的开端,通过**new Cesium.Viewer(container, options)**来创建一个Viewer对象,可以把该对象理解为三维虚拟地球,在Viewer对象上的所有操作,可以看作是对三维虚拟地球的操作。 日常Cesium开发中,几乎都是围绕着这个对象展开的。 ![2.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677912173620-c2698793-9663-4182-bb74-ca703d8b2767.png#averageHue=%23fefefe&clientId=uacd0d06a-0f29-4&from=ui&id=u0c5b6c67&name=2.png&originHeight=809&originWidth=1137&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=83485&status=done&style=none&taskId=u26977d79-f9fb-4393-9600-27c61a3cecf&title=) ### 4.2 Scene Scene为Cesium视图下的3D图形对象和状态的容器,Scene对象并不是显式创建的,而是由Viewer或CesiumWidget初始化视图时隐式创建的,通过Scene对象可以在视图下添加图形(primitive)、添加场景特效(如后处理特效postProcessStage)、添加场景事件或控制视图下的星空skyBox、大气层skyAtmosphere、地球globe、太阳sun和月亮moon。 ### 4.3 Camera 在Cesium通过相机来操作场景的视角,从浏览器端看是场景移动,其实是相机移动,所以要注意方向。 **例如**:相机向左移,那么屏幕的场景就会偏右 我们通常可以使用相机的变换完成视角操作: - 飞行fly - 缩放zoom - 移动move - 视角look - 平面扭转twist - 3d旋转rotate - 将相机视角直接定位到某个位置setView - 用于将相机视角锁定到目标位置lookAt - **将地球或场景缩放到该实体的视图范围内viewer.zoomTo()** ## 五、界面操作 ### 5.1 视图控件隐藏 ```javascript const viewer = new Cesium.Viewer('cesium-container',{ timeline:false, fullscreenButton: false // 隐藏全屏按钮 }) // 隐藏版权信息 viewer._cesiumWidget._creditContainer.style.display = "none" ``` 隐藏视图控件可以在创建视图的时候隐藏,如果一开始想要最简化的场景,可以使用下面的代码: ```javascript // 除了场景,其他控件都被隐藏 const viewer = new Cesium.CesiumWidget("cesiumContainer") ``` ### 5.2 场景操作 ```javascript // 场景操作 // 显示帧率 viewer.scene.debugShowFramesPerSecond=true viewer.scene.skyBox.show=false viewer.scene.sun.show = false // 隐藏太阳 ``` 场景就是包含一些物体,可以通过上述的方法隐藏 ## 六、影像和标注 ### 6.1 影像 ![4.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677914544541-bd9b06d8-06ec-4637-aa3d-3279d07051dc.png#averageHue=%23314268&clientId=uacd0d06a-0f29-4&from=ui&id=ufba76cba&name=4.png&originHeight=639&originWidth=1146&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=670564&status=done&style=none&taskId=u82760a13-59ca-4ca9-a8ed-b86bc6a028d&title=) **概述**:所谓的影像就是附着在地球上面的一层贴图,有不同的供应商、创建方式、管理方式,可以叠加。 **加载方式** ```javascript // 引入token,装入容器 Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0NmY4OGRkZS03ZTljLTQ5MDMtYmUwZC0wNmM2ZjdmM2M1MzMiLCJpZCI6MTI2MjUzLCJpYXQiOjE2NzczMTI2ODJ9.KO5KCez-xGcJBJfY8XYWAlUXHO4WWrZUm6tCZ1MfCWM' // 1初始化添加图层,为空默认加载bingmaps const viewer = new Cesium.Viewer('cesium-container',{ // imageryProvider:new Cesium.ArcGisMapServerImageryProvider({ // url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' // }) }) // 隐藏版权信息 viewer._cesiumWidget._creditContainer.style.display = "none" //2 后续添加 const arcGisImagery=new Cesium.ArcGisMapServerImageryProvider({ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' }) // viewer.imageryLayers.addImageryProvider(arcGisImagery) //3更具ionCesium的资源库id添加,需要提前加好资源 const ionNightEarth=new Cesium.IonImageryProvider({assetId:3812}) viewer.imageryLayers.addImageryProvider(ionNightEarth) ``` **管理方式** ```javascript // 引入token,装入容器 Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0NmY4OGRkZS03ZTljLTQ5MDMtYmUwZC0wNmM2ZjdmM2M1MzMiLCJpZCI6MTI2MjUzLCJpYXQiOjE2NzczMTI2ODJ9.KO5KCez-xGcJBJfY8XYWAlUXHO4WWrZUm6tCZ1MfCWM' // 1初始化添加图层 const viewer = new Cesium.Viewer('cesium-container', { imageryProvider: new Cesium.ArcGisMapServerImageryProvider({ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' }) }) // 隐藏版权信息 viewer._cesiumWidget._creditContainer.style.display = "none" //2 后续添加 const arcGisImageryLoad = new Cesium.ArcGisMapServerImageryProvider({ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' }) const arcGisImagery = viewer.imageryLayers.addImageryProvider(arcGisImageryLoad) //3更具ionCesium的资源库id添加,需要提前加好资源 const ionNightEarthLoad= new Cesium.IonImageryProvider({ assetId: 3812 }) const ionNightEarth = viewer.imageryLayers.addImageryProvider(ionNightEarthLoad) const target = viewer.imageryLayers._layers[1] target.alpha = 0.5 target.brightness = 2.0 target.contrast = 1.0 // target.hue = 2.0 target.saturation = 1.0 target.gamma=1.0 // ImageryLayerCollection父类,资源导入无法识别,只有viewer.imageryLayers.addImageryProvider才行 const isContains=viewer.imageryLayers.contains(ionNightEarth) console.log('是否包含',isContains); const getImagery=viewer.imageryLayers.get(1) console.log('下标寻找', getImagery); // 图层移动,lower 1 - 0 raise 0 - 1 viewer.imageryLayers.lowerToBottom(ionNightEarth) const index = viewer.imageryLayers.indexOf(ionNightEarth) console.log('下标', index); ``` ### 6.2 标注 **概述**:标注也是一层贴图,只不过可以显示具体的位置名称和相关信息 ![3.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677914514989-362e2cc4-797c-4208-ad68-5a648a3d8dfd.png#averageHue=%23535e36&clientId=uacd0d06a-0f29-4&from=ui&id=ufc4d6086&name=3.png&originHeight=726&originWidth=1265&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=1087362&status=done&style=none&taskId=u4ed040b5-bb88-450c-986a-e75888ed95d&title=) ```javascript // 引入token,装入容器 Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0NmY4OGRkZS03ZTljLTQ5MDMtYmUwZC0wNmM2ZjdmM2M1MzMiLCJpZCI6MTI2MjUzLCJpYXQiOjE2NzczMTI2ODJ9.KO5KCez-xGcJBJfY8XYWAlUXHO4WWrZUm6tCZ1MfCWM' // 1初始化添加图层 const viewer = new Cesium.Viewer('cesium-container', { imageryProvider: new Cesium.ArcGisMapServerImageryProvider({ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' }) }) // 隐藏版权信息 viewer._cesiumWidget._creditContainer.style.display = "none" //  1 高德地图标注 const guadMapLoad=new Cesium.UrlTemplateImageryProvider({ url: "http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8" }) // viewer.imageryLayers.addImageryProvider(guadMapLoad) //  2 天地图标注 const token= '374e3348e10cd75eea1440986e480412' const webMapTileLoad=new Cesium.WebMapTileServiceImageryProvider({ url: `http://t0.tianditu.com/cva_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=cva&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=${token}`, layer: "tdtAnnoLayer", style: "default", format: "image/jpeg", tileMatrixSetID: "GoogleMapsCompatible", show: false }) viewer.imageryLayers.addImageryProvider(webMapTileLoad) ``` ## 七、地形 Cesium默认加载的地形是没有起伏效果的,和影像加载方式一致。 **外部加载** ```javascript // 引入token,装入容器 Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0NmY4OGRkZS03ZTljLTQ5MDMtYmUwZC0wNmM2ZjdmM2M1MzMiLCJpZCI6MTI2MjUzLCJpYXQiOjE2NzczMTI2ODJ9.KO5KCez-xGcJBJfY8XYWAlUXHO4WWrZUm6tCZ1MfCWM' // 一个视图下地形只能加载一个,而影像图层是可以加载多个的 // 1初始化添加地形 const viewer = new Cesium.Viewer('cesium-container', { imageryProvider: new Cesium.ArcGisMapServerImageryProvider({ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer' }), terrainProvider: new Cesium.ArcGISTiledElevationTerrainProvider({ url: 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer', }) }) // 隐藏版权信息 viewer._cesiumWidget._creditContainer.style.display = "none" // 2后期添加地形 const ArcGisTerrainProvider = new Cesium.ArcGISTiledElevationTerrainProvider({ url: 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer', }) viewer.terrainProvider = ArcGisTerrainProvider ``` **Cesium ion 地形** ![6.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677914865198-fa29a1ed-5a3b-4a49-82d8-493f998424fe.png#averageHue=%2314263a&clientId=uacd0d06a-0f29-4&from=ui&id=ufd5ef2d2&name=6.png&originHeight=901&originWidth=1918&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=1779234&status=done&style=none&taskId=ubeca5168-cf77-445e-b4c0-9e87f754fa7&title=) ```javascript const terrainProvider = Cesium.createWorldTerrain({ requestWaterMask: true, // 请求水体效果所需要的海岸线数据 }) viewer.terrainProvider = terrainProvider ``` ## 八、事件 Cesium中的事件按照类型进行分类,可以分为如下几种: - 鼠标键盘事件 - 相机事件 - 数据加载事件 - 场景加载事件 ## 九、实体 实体(entity)是Cesium中自带的创建图形的方法,通过该方法可以在场景中创建点、线、面、多边形、立方体、圆等基本图形,相当于three.js的物体。 ![7.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677915227157-8bf1e132-e6cb-4f8e-9577-b404bf0c60f6.png#averageHue=%23606849&clientId=uacd0d06a-0f29-4&from=ui&id=u9878a7e2&name=7.png&originHeight=885&originWidth=1915&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=1959152&status=done&style=none&taskId=ubc0faf55-b9e8-4f71-928a-3d3f6ebc405&title=) ```javascript const target= Cesium.Cartesian3.fromDegrees(118, 34, 0) const boxEntity=viewer.entities.add({ id:'123', name:'box-entity', position:target, box:{ dimensions:new Cesium.Cartesian3(100,100,100), distanceDisplayCondition:new Cesium.DistanceDisplayCondition(0,10000), material:Cesium.Color.RED.withAlpha(0.5), fill:true, outline:true, outlineWidth:110, outlineColor:Cesium.Color.PINK, show:true } }) ``` ## 十、图形 图形(Primitive)是Cesium中更加高阶的创建图形的方法,那么相对低阶的方法就是使用实体(Entity)定义一个图形。当创建一个图形时,两者的流程都是定义实体的尺寸大小和定义实体的材质外观。图形(Primitive)由两部分组成: 1. 几何形状(Geometry):定义了Primitive的结构,例如三角形、线条、点等; 2. 外观(Appearance ):定义Primitive的着色(Sharding),包括GLSL(OpenGL着色语言,OpenGL Shading Language)顶点着色器和片段着色器( vertex and fragment shaders),以及渲染状态(render state)。 ![8.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677915297319-9360466d-a33e-4d35-a251-3164b90f5c8c.png#averageHue=%23799661&clientId=uacd0d06a-0f29-4&from=ui&id=u116c0e8a&name=8.png&originHeight=621&originWidth=997&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=638608&status=done&style=none&taskId=u7e53dd5d-589d-4232-ad55-fba8aaf5b46&title=) ## 十一、模型 ### 11.1 gltf 图像库传输格式(Graphic Library Transmission Format, glTF)本质上是一种JSON文件,该文件描述包含以下内容的场景的结构和组成3D模型。 ![9.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677915372972-52acc154-836b-483f-aed9-22d5a75bcc65.png#averageHue=%23988c6e&clientId=uacd0d06a-0f29-4&from=ui&id=ue3ab8bed&name=9.png&originHeight=889&originWidth=1917&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=1405822&status=done&style=none&taskId=uc53ef340-cd42-4885-848a-1c33030c567&title=) ```javascript //目标位置与视角方向 const target=Cesium.Cartesian3.fromDegrees(118,34,100) // 加载物体 const plane=viewer.entities.add({ name:'flyingPlane', position:target, model:{ uri:'../libs/Assets/models/CesiumDrone.glb', minimumPixelSize: 128, maximumScale: 20000, } }) ``` ### 11.2 3dTitles 3dTiles三维模型使用了 glTF 规范,继承它的渲染高性能,除了嵌入的 glTF,3dTiles 自己 **只记录各级Tile的空间逻辑关系(如何构成整个3dtiles)和属性信息,以及模型与属性如何挂接在一起的信息** ![10.png](https://cdn.nlark.com/yuque/0/2023/png/27367619/1677915385542-6e7286eb-168e-4f01-aaac-2d61d6a24aa6.png#averageHue=%235f5a4b&clientId=uacd0d06a-0f29-4&from=ui&id=ueb7901cb&name=10.png&originHeight=893&originWidth=1920&originalType=binary&ratio=1.25&rotation=0&showTitle=false&size=1326046&status=done&style=none&taskId=u1dc5f8b0-6e4b-4275-934f-d2939da3f11&title=) ```javascript //目标位置与视角方向 const tileset= viewer.scene.primitives.add( new Cesium.Cesium3DTileset({ url: '../libs/Assets/3dTitles/tilesset/tileset.json', }) ) // 开始调整tileset位置和缩放大小 let params={ // 模型中心经纬度和高度 tx:118, ty:34, tz:0, // 模型旋转方向 rx:0, ry:0, rz:0, // 缩放 scale:0.5 } // 显示3dtiles包围盒 tileset.debugShowContentBoundingVolume=true // 开启 3D Tiles 监视器 // viewer.extend(Cesium.viewerCesium3DTilesInspectorMixin) // 修改 3D Tiles 的颜色和透明度 // tileset.style = new Cesium.Cesium3DTileStyle({ // color: "color('rgba(178, 34, 34, 0.5)')", // 淡红色,透明度为0.5,半透明 // }) // 点击修改3dtiles颜色,使用坐标拾取 const handler=new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas) handler.setInputAction((target)=>{ // 判断点击的元素 const feature=viewer.scene.pick(target.position) if(feature instanceof Cesium.Cesium3DTileFeature){ feature.color=Cesium.Color.RED } // console.log(feature.getProperty('Longitude')); console.log(target.position); },Cesium.ScreenSpaceEventType.LEFT_CLICK) // 后续修改模型 // 修改高度值大于50的3D Tiles的颜色和透明度 tileset.style = new Cesium.Cesium3DTileStyle({ color: { // 条件筛选 conditions: [ ["${Height} > 50", "color('rgba(100,100,100, 0.5)')"], ] }, show:'${Height} > 12' }) ``` ## **资料**: - [Cesium中文网](http://cesiumcn.org/) - [中文网](http://cesium.xin/) - [Cesium官方](https://www.cesium.com/) - [Cesium 入门教程](https://syzdev.cn/cesium-docs/) - [天地图](https://www.tianditu.gov.cn/) - [Mars3D](http://mars3d.cn/)
Cesium是一个用于显示三维地球的开源库,旨在释放3D数据的力量。Cesium基于WebGL技术,能够在Web平台搭建虚拟地球及场景展示应用。
cesium,cesiumjs,html5,javascript,web
2023-03-04T07:53:23Z
2023-03-04T07:53:07Z
null
1
0
2
0
1
3
null
null
JavaScript
codeforamerica/uswds
main
![Code for America, U.S. Web Design System (USWDS) theme](dist/assets/site/thumbnail-site.png) This theme replaces the <a href="https://github.com/codeforamerica/honeycrisp-gem" target="_blank" rel="noindex noopener nofollow">Honeycrisp Ruby gem</a> but preserves the style and design. The theme uses “design tokens” from the Honeycrisp Design System to make the USWDS look similar to Honeycrisp. Full documentation on using the theme can be referenced on the <a href="https://codeforamerica.github.io/uswds" target="_blank" rel="noindex noopener nofollow">corresponding documentation site</a>. ## Usage This readme will cover the basics for working with and contributing to the theme codebase. The following notes are a high-level overview of how to install and use the theme. More detailed instructions will be added in the first official release. ```bash npm install @codeforamerica/uswds ``` 1. Install this package ^ as a project dependency using npm. 1. Configure Sass include paths. 1. Add `@forward` or `@use` statements to project Sass entrypoint. [Example](src/scss/_styles.scss). 1. Compile Sass to a static `assets/css/` directory. 1. Add `import` statements to project JavaScript entrypoint. [Example](src/js/index.js). 1. Compile JavaScript to a static `assets/js/` directory. 1. Copy the static `dist/img/` directory to a static `assets/img` directory. 1. Fonts do not have to be copied into the static directory since the theme uses the system font but this would be done if desired. Copy the static `dist/fonts/` to a static `assets/fonts` directory. 1. Link to static stylesheet in the HTML `<head>` tag and JavaScript file before the closing `</body>` tag. The [@codeforamerica/uswds-starter](https://github.com/codeforamerica/uswds-starter) can also be used to bootstrap a front-end development environment that uses this theme, taking advantage of the Node.js scripts that compile Sass and JavaScript. ## Contributing Contributing to the theme requires Node.js, NPM, and Ruby on the system level. Installing Node.js will install NPM at the same time. We recommend using <a href="https://github.com/nvm-sh/nvm" target="_blank" rel="noindex noopener nofollow">Node Version Manager (NVM)</a>, but you may also install <a href="https://nodejs.org" target="_blank" rel="noindex noopener nofollow">Node.js</a> directly. Components are written as Thymeleaf fragment and Embedded Ruby (ERB) partial templates. Thymeleaf is included as a project dependency. <a href="https://www.ruby-lang.org" target="_blank" rel="noindex noopener nofollow">Ruby</a>, however, is required on the system level to render ERB files. At the time of writing, the MacOS System Ruby `2.6.10p210` was used. <a href="https://rvm.io" target="_blank" rel="noindex noopener nofollow">Ruby Version Manager (RVM)</a> is available to help manage Ruby versions. The project primarily uses <a href="https://docs.npmjs.com/cli/v9/using-npm/scripts" target="_blank" rel="noindex noopener nofollow">NPM scripts</a> to run the Node.js libraries <a href="https://rollupjs.org" target="_blank" rel="noindex noopener nofollow">Rollup.js</a>, <a href="https://sass-lang.com/documentation/js-api" target="_blank" rel="noindex noopener nofollow">Sass</a>, <a href="https://www.11ty.dev" target="_blank" rel="noindex noopener nofollow">11ty (Eleventy)</a>, and <a href="https://github.com/ultraq/thymeleafjs" target="_blank" rel="noindex noopener nofollow">ThymeleafJS</a> to generate a static site and USWDS assets. ### Table of contents * [Getting started](#getting-started) * [Workflow](#workflow) * [Project directory and file structure](#project-directory-and-file-structure) * [NPM Scripts](#npm-scripts) * [Configuration](#configuration) * [11ty](#11ty) ### Getting started Clone the repository and navigate to the project. ```bash git clone https://github.com/codeforamerica/uswds.git codeforamerica/uswds && cd codeforamerica/uswds ``` If using NVM, you may set the supported Node.js version number first. If not you may skip ahead. ```bash nvm use ``` Install dependencies, ```bash npm install ``` Compile and start the development server. View the site locally at http://localhost:8080 ```bash npm start ``` --- ### Workflow #### Development Once the development command is running (`npm start`) 11ty will watch for changes to view and component templates defined in the `watchTargets` block of [config.js](config.js). Separate tasks for watching for changes to Sass and JavaScript files are also activated. Most changes will be made to files within the [src/](src) or [packages/](packages) directories. Once a change is made to a source file it will be compiled into the [dist/](dist) directory. The local development server will refresh to reflect the change. #### Flows and general style guides Potential changes can be broken down into the following flow categories: * [Modifying documentation or content](#modifying-documentation-or-content): involves Node.js, Markdown + Liquid templates. * [Modifying or adding a USWDS theme setting](#modifying-or-adding-a-uswds-theme-setting): involves Sass. * [Modifying a CfA component](#modifying-a-cfa-component): involves Sass, JavaScript, Thymeleaf, or ERB. * [Notes on external dependencies](#notes-on-external-dependencies): involves NPM. * [Modifying the compilation of Sass or JavaScript](#modifying-the-compilation-of-sass-or-javascript): involves Node.js. * [Committing changes and publishing](#committing-changes-and-publishing): involves NPM. #### Modifying documentation or content All content and context (strings, classes, HTML) passed to rendered components occurs in the [src/views/](src/views) directory. There may be some special cases where a string is hard-coded into a component template but generally this is discouraged. The documentation is written in <a href="https://www.11ty.dev/docs/languages/markdown" target="_blank" rel="noindex noopener nofollow">MarkdownIt + LiquidJS</a> syntax (11ty pre-processes <a href="https://markdown-it.github.io" target="_blank" rel="noindex noopener nofollow">MarkdownIt</a> templates using <a href="https://liquidjs.com/index.html" target="_blank" rel="noindex noopener nofollow">LiquidJS</a>, hence, the syntax is combined) or <a href="https://github.com/factorial-io/eleventy-plugin-twig" target="_blank" rel="noindex noopener nofollow">Twig</a>. Twig is minimally used and appears in layouts or partials. The language is supported because USWDS component templates are written using Twig. Pages use <a href="https://www.11ty.dev/docs/data-frontmatter" target="_blank" rel="noindex noopener nofollow">front matter</a>, or a YAML block, to define variables for the layout or page contents. This makes it easier to modify short strings deeply nested in the content. Several content blocks for each page are "templatized" to render automatically using variables. The variables are defined in each page, either through front-matter or other, and passed to partials in the [views/_partials/](views/_partials) directory. For example, the details section for each component use a partial rendered with the shortcode `{% render 'details.md' name: title ... %}`. Component demonstrations in the documentation use context to define their display. Context may be strings containing class names, plain text, or HTML, and booleans. Context is organized using a JSON object set in a capture block. For example, the Accordion component uses the following context: ```liquid {% capture context %}{ "modifier": "cfa-accordion usa-accordion--bordered", "multiple": true, "items": [ { "expanded": true, "controls": "aria-c-{% createId %}", "heading": "We'll ask you about", "body": "{% md body_accordion_1 %}" }, ... ``` Which is passed to the `figure.md` partial. This partial will create the figure that renders the live demonstration of the component paired the HTML source. ```liquid {% render 'figure.md', name: 'accordion', nice: 'Bordered', context: context, caption: 'Bordered' %} ``` On the backend, the context is passed to both the Accordion component's Thymeleaf fragment and Embedded Ruby partial templates (in the [packages/cfa-accordion/](packages/cfa-accordion) directory). It will then render unescaped and escaped HTML and inline it into the static HTML output. In the production build, only the Thymeleaf fragment is displayed. Built-in Liquid template methods are used to enhance the functionality of Markdown. These are denoted inside the `{% ... %}` brackets. There are also several [custom shortcodes](#custom-shortcodes) added to the 11ty configuration for this site to assist various parts of the documentation display for the theme. ##### Config.js Several packages used by the documentation site are customized in the [config.js](config.js) file. #### Modifying or adding a USWDS theme setting While the [src/scss/](src/scss) directory contains the entry points for Sass, the the main **theme-level settings** for the USWDS are set in [packages/cfa-uswds-theme/_index.scss](packages/cfa-uswds-theme/_index.scss). These settings are actively extended by the USWDS core in the [packages/cfa-uswds/_index.scss](packages/cfa-uswds/_index.scss). For example, the setting for the theme focus color in `cfa-uswds-theme`: ```scss $cfa-focus-color: 'gold-30v' !default; ``` will map to the `cfa-uswds` package core setting map: ```scss @use 'cfa-uswds-theme' as *; @use 'uswds-core' with ( $theme-focus-color: $cfa-focus-color, // ... ``` This set up allows users of the theme only customize the theme settings which is a much smaller subset of the <a href="https://designsystem.digital.gov/documentation/settings" target="_blank" rel="noindex noopener nofollow">full USWDS settings configuration</a>. If a current setting needs to be modified it can be done in the `cfa-uswds-theme` package. If a new USWDS setting needs to be added, set the `$cfa-` version of it in the `cfa-uswds-theme` package and map it to it's corresponding USWDS setting the `cfa-uswds` package. There is a smaller set of **package-level settings** used by components in this theme. These settings aren’t supported by the USWDS but are used by other component packages. Those are set in the `cfa-core` package. All <a href="https://docs.google.com/spreadsheets/d/1nVIAmi6pRDu5Z7II6ttwKryGrdYBhuJYmpO4YjXmuxQ/edit#gid=0" target="_blank" rel="noindex noopener nofollow">theme and package-level settings are documented here</a>. #### Modifying a CfA component Each component and its relevant code are stored together as [packages/](packages) in the directory of the same name. Packages may contain template files for Thymeleaf and ERB to define the markup, Sass to define custom styles that aren't supported by the USWDS configuration, or JavaScript if it's necessary to enable functionality. Each of these concerns are separated into their own file. ``` — 📂 packages └ 📁 cfa-* ├ 📄 *.th.html — A Thymeleaf template component file for storing component markup. ├ 📄 _*.html.erb — An Embedded Ruby partial template file for storing component markup. ├ 📄 _*.scss — A Sass styling file for overriding or extending USWDS styles. └ 📄 *.js — A JavaScript file for functionality (currently, not to be confused with web components). ``` In place of the asterisk (*) is the component name. Names are modelled after USWDS counterparts that they represent or override. Names are only customized if they do not exist in the USWDS (ex, `details` or `follow-up-question`). **It's important that names are consistent across package directories, files, and their corresponding documentation page**. ##### **📄 &#42;.th.html **Thymeleaf fragments** are "componentized" templates for the Java template engine. This syntax models "natural templating" or writing thats feels similar to HTML with an added binding syntax through custom HTML attributes. This makes it more formal and less flexible. Passing variables to these bindings fills the standard HTML attributes and string content within HTML tags. To test the rendering of Thymeleaf the theme uses **ThymeleafJS**. This is important to note because this implementation of the language is limited. <a href="https://www.thymeleaf.org" target="_blank" rel="noindex noopener nofollow">Read more about the Thymeleaf template language on the documentation site</a>. **Only USWDS classes prefixed with `.usa-` are hard-coded into templates**. Theme modifiers prefixed with `.cfa-` are passed to the fragment to achieve theme styling. For example, to append the `cfa-accordion` class to the `usa-accordion`, the modifier parameter needs to be set. ```html <div th:fragment="accordion(modifier, multiple, items)" class="usa-accordion" th:classappend="${modifier}" th:attr="data-allow-multiple=${multiple}" th:each="item: ${items}"> <!-- ... --> ``` **Fragments will nest other components instead of re-creating them**. This enables full customization of every nested component. For example, the Form Group component will pull in the Input component. ```html <th:block th:replace="~{packages/cfa-input/cfa-input.th :: input(${input}, ${inputGroup})}" /> ``` ##### 📄 _&#42;.html.erb **Embedded Ruby partial templates** are scripted Ruby files with HTML and Ruby code intermixed. There is no binding syntax for HTML so it is less formal but more flexible. It is much easier to write Ruby code within templates which makes it less "componentized." This application doesn't operate inside of a Ruby on Rails environment so there are no helper methods, most notably the `render 'partial-name'` method for including other partials. The lowest level and simplest version of Rails `render` is `ERB.new(File.read('partial-name'), 0, 0, [*('a'..'z')].sample(8).join).result_with_hash({key: 'value'})` which can be cumbersome to manage. <a href="https://docs.ruby-lang.org/en/2.3.0/ERB.html" target="_blank" rel="noindex noopener nofollow">Read more about the ERB class on the Ruby documentation site</a>. **The same rules for modifiers and nesting other components applies to ERB templates**. ```erb <div class="usa-accordion<% if defined?(modifier) %> <%= modifier %><% end %>"<% if defined?(multiple) %> data-allow-multiple<% end %>> <!-- ... --> ``` Nesting another component: ```ruby <%= ERB.new(File.read('packages/cfa-input/_cfa-input.html.erb'), 0, 0, '@input') .result_with_hash({ input: input, inputGroup: (inputGroup if defined?(inputGroup)) }.compact) %> ``` In some cases the string `@input` in the example above needs to be unique. It can be replaced with `[*('a'..'z')].sample(8).join` to always create a random string. ##### 📄 _&#42;.scss **Dart Sass** modules **extend** the styling for custom or USWDS components that can't be styled using USWDS settings alone. Where possible, distinguish between theme styles and USWDS styles. Always prefer USWDS Sass theme tokens, utilities, functions, and other mixins over custom methods. This ensures that custom styling remains within the design system. **Use the Block, element, modifier (BEM) naming convention**. Always prefix theme classes with `.cfa-`. Use the same name as the component for the block selector. <a href="https://getbem.com" target="_blank" rel="noindex noopener nofollow">Read more about the BEM naming convention</a>. ``` .cfa-block { } .cfa-block__element { } .cfa-block--modifier { } ``` **Use the CSS `.cfa-` prefix for custom styles**. This ensures clarity when using custom theme styles versus USWDS defaults. Do not add style overrides dependent on `.usa-` classes as the root class. ```scss .cfa-button:not(.usa-button--unstyled) { // ... ``` **Reuse settings variables defined by theme settings**. They are always prefixed by `$theme-`. Often, they need to be passed to utility functions that will interpret the token value. <a href="https://designsystem.digital.gov/design-tokens/" target="_blank" rel="noindex noopener nofollow">Read more about design tokens on the USWDS documentation site</a>. ```scss @use 'uswds-core' as *; .cfa-button.usa-button--big:not(.usa-button--unstyled) { font-size: font-size($theme-button-font-family, 'lg'); // ... ``` **Always use the `units()` function** to convert unit design tokens to the spacing dimensions defined by the system. Never hard-code pixel values. <a href="https://designsystem.digital.gov/design-tokens/spacing-units/" target="_blank" rel="noindex noopener nofollow">Read more about spacing unit tokens on the USWDS documentation site</a>. ```scss @use 'uswds-core' as *; .cfa-button:not(.usa-button--unstyled) { padding: units(2) units(2.5); // ... ``` **Use the `set-text-and-bg` mixin** when defining a background color and foreground text color. This ensures color combinations are run through the USWDS contrast checker. Combinations that don't have sufficient contrast (WCAG AA 2.1) will emit an exception to stdout. <a href="https://designsystem.digital.gov/design-tokens/color/overview" target="_blank" rel="noindex noopener nofollow">Read more about color on the USWDS documentation site</a>. ```scss @use 'uswds-core' as *; .cfa-button.usa-button--outline:not(.usa-button--unstyled):not([disabled]):not([aria-disabled=true]) { @include set-text-and-bg( $bg-color: $theme-body-background-color, $preferred-text-color: 'ink', $context: 'CfA Button' ); // ... ``` **Use theme and state color tokens over system color tokens**. This ensures that the color theme has continuity throughout components. Read more about color. Read more about each color token types on the USWDS documentation site: * <a href="https://designsystem.digital.gov/design-tokens/color/theme-tokens" target="_blank" rel="noindex noopener nofollow">Theme color tokens</a> * <a href="https://designsystem.digital.gov/design-tokens/color/state-tokens" target="_blank" rel="noindex noopener nofollow">State color tokens</a> * <a href="https://designsystem.digital.gov/design-tokens/color/system-tokens" target="_blank" rel="noindex noopener nofollow">System color tokens</a> ```scss @use 'uswds-core' as *; .cfa-button--no { > svg { fill: color('error'); // ... .cfa-button--yes { > svg { fill: color('success-darker'); // ... ``` ##### 📄 &#42;.js **ES JavaScript** modules provide functionality to custom components or provide a utility wrapper around external libraries. They are written using as standard <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules" target="_blank" rel="noindex noopener nofollow">modules</a> and defined using <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes" target="_blank" rel="noindex noopener nofollow">class templates</a>. * **Components properties and methods are be encapsulated**. Writing properties to global variables, such as the `window`, is discouraged. Write custom properties to the component instance, instead. * **All JavaScript should be considered a progressive enhancement**. There should be a suitable default state for the component if the page does not invoke JavaScript. ARIA properties, such as `aria-hidden` will only be toggled when the component is instantiated. * Use the `data-js` to define selectors for components. Use `aria-controls` to define target element selectors. Follow guidance defined by the <a href="https://www.w3.org/WAI/ARIA/apg/" target="_blank" rel="noindex noopener nofollow">ARIA Authoring Practices Guide</a>. **Always use a class to define a component (using the component name, capitalized and camel-cased)**: ```javascript class Component { constructor() { // ... export default Component; ``` Using, or, creating a class instance: ```javascript import Component from '@codeforamerica/uswds/packages/cfa-component/cfa-component.js'; new Component(); ``` Classes can be easily extended or have settings configurations passed to them to enable, disable, or modify internal functionality. Methods and properties within them can be overridden or accessed individually. This variety makes them flexible to work with. ```javascript import Component from '@codeforamerica/uswds/packages/cfa-component/cfa-component.js'; // Set a component property before it is initialized. Component.property = 'value'; // Initialize a component with custom values. let component = new Component({ property: 'value', method: () => {} }); // Call a component method after initialization. component.internalMethod(); ``` **Static properties used within the class are defined before the export**. They are often set for the class within the constructor with an optional settings override that can be passed upon instantiation. ```javascript class Component { constructor(s = {}) { this.selector = s.selector ? s.selector : Component.selector; // ... } Component.selector = '[data-js="component"]'; // ... export default Component; ``` **Click, change, or other event listeners are added to the `body`**. This makes functions less dependent on individual elements and more compatible with reactive frameworks. ```javascript class Component { constructor() { // ... document.querySelector('body') .addEventListener('click', event => { if (event.target.matches(this.selector)) { this.internalMethod(event.target); } }); // ... ``` Classes may be instantiated once for all elements they concern. ```javascript import Component from '@codeforamerica/uswds/packages/cfa-component/cfa-component.js'; new Component(); ``` Or, they may be instantiated per element. However, the main selector for the component should always be stored as a static property. ```javascript (elements => { for (let i = 0; i < elements.length; i++) { new Component(elements[i]); } })(document.querySelectorAll(Component.selector)); ``` Below is the general structure for theme component classes. ```javascript 'use strict'; class Component { /** * Component constructor * * @param {Object} s Optional settings configuration * * @return {Object} Instance of Component */ constructor(s = {}) { /** * Instance setting overrides. If any of the properties are passed in the * s object, they are used by the instance instead of the default properties. */ this.selector = s.selector ? s.selector : Component.selector; this.externalMethod = s.externalMethod ? s.externalMethod : Component.externalMethod; /** * Initialization for the progressively enhanced features */ this.init(); /** * Main event listener for the component */ document.querySelector('body') .addEventListener('click', event => { if (event.target.matches(this.selector)) { this.internalMethod(event.target); } }); return this; } /** * Initializes the component, setting progressively enhanced * ARIA attributes or other relevant dynamic templates. * * @return {Object} Instance of Component */ init() { // ... return this; } /** * An internal class method. * * @param {Object} target Method argument * * @return {Object} Instance of Component */ internalMethod(target) { // ... return this; } } /** @type {String} The main selector for the Component event listener */ Component.selector = '[data-js="component"]'; /** * An external class method */ Component.externalMethod = () => {} export default Component; ``` #### Notes on external dependencies Components *may* have external dependencies if they provide a very substantial or specific benefit necessary for that component to function. * **Do not add any design system other than the USWDS** (Bootstrap, Material, or other). Design systems are not intended to be used together. The USWDS also provides its own set of CSS utilities so Tailwindcss is also not supported at this time. * **Do not install jQuery**. It is not needed for most modern JS applications and it creates an oversized dependency if one component uses it. Use <a href="https://github.com/camsong/You-Dont-Need-jQuery" target="_blank" rel="noindex noopener nofollow">plain JavaScript</a>. * **Do not install Underscore or LoDash**. Use standard <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" target="_blank" rel="noindex noopener nofollow">Array</a> or <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" target="_blank" rel="noindex noopener nofollow">Object</a> prototypes. * **The use of reactive front-end frameworks are not supported at this time** (React.js, Vue.js, or other). New dependencies should be installed as regular dependencies using `npm install` so that other projects can inherit them as well. #### Modifying the compilation of Sass or JavaScript The source, distribution, and plugins that transform Sass or JavaScript can be modified in the [entrypoints.js](entrypoints.js) file. Each entrypoint is defined as an object `{}` in the export. ```javascript module.exports = [ { /* module settings */ }, { /* module settings */ }, { /* module settings */ } ]; ``` Each object may either be a style or script module. The difference is determined by the extension of the input file. ##### Style modules CSS is translated from the source using [styles.js](styles.js). It uses the <a href="https://sass-lang.com/documentation/js-api" target="_blank" rel="noindex noopener nofollow">Dart Sass JavaScript API</a> to compile Sass to CSS. The CSS is then run through a series of <a href="https://postcss.org/" target="_blank" rel="noindex noopener nofollow">PostCSS</a> plugins to optimize the output: 1. <a href="https://github.com/FullHuman/purgecss" target="_blank" rel="noindex noopener nofollow">purgecss</a>. Removes unused CSS (currently unused but will be supported). 1. <a href="https://github.com/postcss/autoprefixer" target="_blank" rel="noindex noopener nofollow">autoprefixer</a>. Adds vendor prefixes to CSS rules. 1. <a href="https://github.com/hail2u/node-css-mqpacker" target="_blank" rel="noindex noopener nofollow">mqpacker</a>. Combines all media queries that are the same. 1. <a href="https://github.com/cssnano/cssnano" target="_blank" rel="noindex noopener nofollow">cssnano</a>. Compresses CSS. The attributes for style modules are documented in the [entrypoints.js](entrypoints.js) file in more detail but generally looks like the following: ```javascript { input: 'src/scss/_styles.scss', output: [{ file: 'dist/css/styles.css', options: { sourceMap: true, loadPaths: [ /* ... */ ] } }], plugins: [ /* ... */ ] } ``` ##### Script modules JavaScript is translated from the source using [scripts.js](scripts.js). It uses the <a href="https://rollupjs.org" target="_blank" rel="noindex noopener nofollow">Rollup.js</a> to combine concatenate scripts and perform some transformations. The JavaScript is then run through a series of <a href="https://github.com/rollup/awesome" target="_blank" rel="noindex noopener nofollow">plugins</a> to translate the output: 1. <a href="https://github.com/rollup/plugins/tree/master/packages/commonjs" target="_blank" rel="noindex noopener nofollow">commonJs</a>. Enables the support for CommonJS module import. 1. <a href="https://github.com/rollup/plugins/tree/master/packages/node-resolve" target="_blank" rel="noindex noopener nofollow">nodeResolve</a>. Adds support for the Node.js module resolution algorithm. 1. <a href="https://github.com/rollup/plugins/tree/master/packages/replace" target="_blank" rel="noindex noopener nofollow">replace</a>. Performs string transformations on the JavaScript output. The attributes for script modules are documented in the [entrypoints.js](entrypoints.js) file in more detail but generally looks like the following: ```javascript { input: 'src/js/index.js', output: [{ file: 'dist/js/default.js', options: { sourceMap: true, loadPaths: [ /* ... */ ] } }], plugins: [ /* ... */ ] } ``` ##### Module plugins When contributing to the theme, plugins should only be added as default plugins (defined above) if all modules benefit from it. They can be added to either [styles.js](styles.js) or [scripts.js](scripts.js) directly. Which and what order plugins run can be configured for each module object in the plugins attribute. For example, a styles module with this set will run all the default plugins: ```javascript plugins: [ 'purgecss', 'autoprefixer', 'mqpacker', 'cssnano' ] ``` Omit a plugin by commenting it out: ```javascript plugins: [ // 'purgecss', 'autoprefixer', 'mqpacker', 'cssnano' ] ``` ##### Config.js Several paths, entrypoint names, distribution strings, and Node module load paths for the theme are defined in the [config.js](config.js) file. ##### External projects External projects can use these module scripts to compile their own Sass and JavaScript. This is documented in the [@codeforamerica/uswds-starter](https://github.com/codeforamerica/uswds-starter). They need to set up their own NPM project, entrypoints.js file, and project source. This needs to be kept in mind when updating the theme's module scripts and their configuration. They can use the plugins attribute in their entrypoints.js file to choose default plugins or configure their own plugins. For example, the `purgecss` plugin can be configured by swapping the plugin string with an instance of the plugin (<a href="https://purgecss.com/getting-started.html" target="_blank" rel="noindex noopener nofollow">using instructions from the purgecss documentation</a>): ```javascript plugins: [ purgecss({ content: [ path.join(__dirname, 'dist/**/*.html') ], }), 'autoprefixer', 'mqpacker', 'cssnano' ] ``` New plugins should be installed as regular dependencies using `npm install` so that other projects can inherit them as well. #### Committing changes and publishing After development, changes to the theme need to be staged, committed, tagged, and published to the NPM registry for other projects to inherit. [Create a pull request](https://github.com/codeforamerica/uswds/compare) with your changes for review. They will be squashed and merged into the main branch. ##### Publishing The simple workflow for this uses two NPM scripts: `version` and `publish`. They must be run sequentially. Choose an appropriate <a href="https://semver.org" target="_blank" rel="noindex noopener nofollow">semantic version</a> increment: either `major`, `minor`, or `patch`. Then pass that to the `version` command. This will generate a new build for the package and production documentation site. The force flag, `-f` will force the staging of changes to the version commit. ```bash npm version {{ major/minor/patch }} -f ``` Once the build and version commit and tag are complete, run the publish command to push changes to the remote. You will need to be authenticated to NPM to run this command by running the login command first. ```bash npm login ``` If you are already authenticated you may skip the command above and run: ```bash npm publish ``` This will push changes to the [remote repository](https://github.com/codeforamerica/uswds), publish the latest version of the documentation site to [GitHub pages](https://codeforamerica.github.io/uswds), and publish the latest package to the [NPM registry](https://www.npmjs.com/package/@codeforamerica/uswds). --- ### Project directory and file structure ``` — 📁 dist — All static files for the site are distributed here, including HTML, CSS, JavaScript, SVGs, images, and font files. ├ 📂 src — Folder for source files such as Sass and JavaScript modules. ├ 📂 views — Folder for 11ty template views. ├ 📁 _layouts — This folder contains layouts extended by other view files. ├ 📁 _partials — This folder contains partials included in other view files. └ 📄 **/*.md — View files are usually Markdown files. Directories and file names reflect the URL pattern for the static site pages. ├ 📂 scss — Folder for Sass entry points. ├ 📄 _site.scss — Entry point for the site and theme styles are imported and configured. └ 📄 _styles.scss — Entry point for only the theme styles are imported and configured. └ 📂 js — Folder for JavaScript entry points. └ 📄 index.js — Entry point for where site and theme scripts are imported and configured. ├ 📂 packages — Folder for CfA theme components, including USWDS component stylesheets and templates for Thymeleaf and ERB. ├ 📁 cfa-uswds-theme — This package includes the main theme settings for the USWDS. ├ 📁 cfa-uswds — This package actively extends the USWDS core settings with the theme settings. ├ 📁 cfa-core — This package stores settings that aren’t supported by the USWDS but are used by other component packages. ├ 📁 cfa — This package imports all of the theme component packages. └ 📁 cfa-* — All additional *packages* are theme components or utilities. ├ 📄 *.th.html — A Thymeleaf template component file for storing component markup. ├ 📄 _*.html.erb — An Embedded Ruby partial template file for storing component markup. ├ 📄 _*.scss — A Sass styling file for overriding or extending USWDS styles. └ 📄 *.js — A JavaScript file for functionality (currently, not to be confused with web components). ├ 📄 config.js — Configuration for the theme, including base path definitions for static and source files. ├ 📄 eleventy.config.js — Configuration file for the 11ty site. ├ 📄 entrypoints.js — Defines the configuration for Sass and JavaScript modules and their distribution. ├ 📄 styles.js — Node.js script for generating CSS from Sass using Sass and PostCSS. ├ 📄 scripts.js — Node.js script for bundling JavaScript modules using Rollup.js. ├ 📄 package.json — Defines the theme package for NPM, manages dependencies, and CLI scripts. └ 📄 .nvmrc — Used to define the Node.js latest version number supported during development. ``` --- ### NPM Scripts The following NPM scripts, which are CLI commands, are available to run the primary development functions of the application. #### Start Compile styles, scripts, views, and start the 11ty server. Watch for changes to relevant files. ```bash npm run start ``` #### Default Compile styles, scripts, views. Runs once on relevant files. ```bash npm run default ``` #### Views Start the 11ty server. Watches for changes to relevant view and component templates. ```bash npm run views ``` #### Scripts Watch for changes to JavaScript files then compile JavaScript using Rollup.js. ```bash npm run scripts ``` #### Styles Watch for changes to Sass files then compile Sass using its built-in JavaScript API. ```bash npm run styles ``` #### Production Compiles views, styles, and scripts for production. ```bash npm run production ``` #### Preview Compiles views, styles, and scripts for production and run the 11ty server in "production mode." (note, this will pull assets from production). ```bash npm run preview ``` #### Version This script hooks into the default <a href="https://docs.npmjs.com/cli/v9/commands/npm-version" target="_blank" rel="noindex noopener nofollow">`npm version`</a> command to compile views, scripts, and styles for production, and staging them for commit **before** NPM creates a version commit and Git version tag. This script doesn't need to run on its own, just run `npm version {{ semantic version }}` when you are ready to commit a new version of the package to the repository before publishing. ```bash npm run version ``` #### Pre-publish This script hooks into the default <a href="https://docs.npmjs.com/cli/v9/commands/npm-publish" target="_blank" rel="noindex noopener nofollow">`npm publish`</a> command to push local commits and tags to remote **before** NPM publishes the latest version to its registry. This script doesn't need to run on its own, just run `npm publish` when you are ready to publish the latest version of the package. ```bash npm run prepublishOnly ``` #### Publish This script hooks into the default <a href="https://docs.npmjs.com/cli/v9/commands/npm-publish" target="_blank" rel="noindex noopener nofollow">`npm publish`</a> command to push the [dist/](dist) directory to the GitHub Pages branch, gh-pages, which is the "production" environment for the site. This script doesn't need to run on its own, just run `npm publish` when you are ready to publish the latest version of the package. ```bash npm run publish ``` --- ### Configuration The [package.json](package.json) contains configuration for the package name, public homepage URL, design file, and other NPM specifics. The [config.js](config.js) file contains common configuration for the 11ty site and compilation path definitions for source Sass and JavaScript entry points. The [entrypoints.js](entrypoints.js) contains configuration for source Sass and JavaScript entry point modules. Default plugin settings for PostCSS and Rollup.js are defined in the [styles.js](styles.js) and [scripts.js](scripts.js) files. --- ### 11ty The [eleventy.config.js](eleventy.config.js) defines the customized functionality available to templates. The main additions are library and plugin configuration, <a href="https://www.11ty.dev/docs/shortcodes" target="_blank" rel="noindex noopener nofollow">custom shortcodes</a>, global data, and collections. Shortcodes are noted below but documented in more detail in the [eleventy.config.js](eleventy.config.js) file. #### **Component** Render a component. The JSON context fills the template slots with the values used by the template. The first boolean value determines whether to return rendered (false, default) or escaped (true) HTML. The second boolean determines wether to return both the rendered default Thymeleaf template (false) or both Thymeleaf and ERB templates (true). ```liquid {% component 'name' 'context (JSON String)' false false %} ``` #### Markdown Compile a Markdown string to HTML. ```liquid {% md 'String (Markdown String)' %} ``` #### Thymeleaf Retrieve an escaped Thymeleaf template. The boolean value determines whether to return the template fragment contents (false, default) or the template fragment include statement (true). ```liquid {% thymeleaf 'name' false %} ``` #### Embedded Ruby Retrieve an escaped Embedded Ruby template partial. The boolean value determines whether to return the template contents (false, default) or ERB partial render statement (true). ```liquid {% erb 'name' false %} ``` #### Block Create a code block demonstration from the supplied string. Supported syntax types are defined in the HighlightJs block in the [config.js](config.js) file. ```liquid {% block 'type' 'String' %} ``` #### Get File Retrieve a package file path for a package by its type. ```liquid {% getFile 'name' 'String (value of thymeleaf, erb, stylesheet, or javascript)' %} ``` #### Create ID Generate a random string to use as a unique ID. ```liquid {% createId %} ``` #### Create Slug Generate a slug (URL friendly string) from a human readable string ("My String" would become "my-string"). ```liquid {% createSlug 'string' %} ```
The Code for America Honeycrisp theme and component library, recreated using the U.S. Web Design System with components for Thymeleaf and Ruby.
code-for-america,dart-sass,design-system,erb,es-module,javascript,rollup,ruby,sass,thymeleaf
2023-03-03T18:41:22Z
2024-05-03T18:11:28Z
2024-05-03T16:59:35Z
18
1
66
0
0
3
null
MIT
HTML
ryanmorr/amble
master
# amble [![Version Badge][version-image]][project-url] [![License][license-image]][license-url] [![Build Status][build-image]][build-url] > A stupid simple CSS lexer and walker ## Install Download the [CJS](https://github.com/ryanmorr/amble/raw/master/dist/cjs/amble.js), [ESM](https://github.com/ryanmorr/amble/raw/master/dist/esm/amble.js), [UMD](https://github.com/ryanmorr/amble/raw/master/dist/umd/amble.js) versions or install via NPM: ```sh npm install @ryanmorr/amble ``` ## Usage Given a string of CSS, amble will break it into logical segments such as a selector, an at-rule, or a declaration and sequentially walks them by calling a function. The function is provided the segment of CSS and the ending character used to indicate the type of segment as the only two parameters. The ending character is one of an opening brace (`{`) to indicate the start of a block, a semi-colon (`;`) to indicate a declaration, or a closing brace (`}`) to indicate the end of a block. For example: ```javascript import { walk } from '@ryanmorr/amble'; const css = ` .foo { color: red; } @media screen and (max-width: 480px) { .foo { color: blue; } } `; walk(css, (style, char) => { console.log([style, char]); }); ``` Prints the following to the console: ```javascript [".foo", "{"] ["color:red", ";"] ["", "}"] ["@media screen and (max-width: 480px)", "{"] [".foo", "{"] ["color:blue", ";"] ["", "}"] ["", "}"] ``` ## License This project is dedicated to the public domain as described by the [Unlicense](http://unlicense.org/). [project-url]: https://github.com/ryanmorr/amble [version-image]: https://img.shields.io/github/package-json/v/ryanmorr/amble?color=blue&style=flat-square [build-url]: https://github.com/ryanmorr/amble/actions [build-image]: https://img.shields.io/github/actions/workflow/status/ryanmorr/amble/node.js.yml?style=flat-square [license-image]: https://img.shields.io/github/license/ryanmorr/amble?color=blue&style=flat-square [license-url]: UNLICENSE
A stupid simple CSS lexer and walker
css,javascript,lexer,walker,css-parser
2023-02-28T19:47:36Z
2023-03-07T17:47:22Z
null
1
1
16
1
0
3
null
Unlicense
JavaScript
Kyza/blocks
trunk
# GitHub Blocks Template Use this repository as a starter template for building your own Blocks. ## Quickstart > 🛑 Currently, you must be flagged into the [GitHub Blocks Technical Preview](https://blocks.githubnext.com) in order to develop blocks. There is no "offline" development mode at this time. Fork this repo using the [`Use this template`](https://github.com/githubnext/blocks-template/generate) button above: !["Use this template" button](https://user-images.githubusercontent.com/8978670/144893319-5d45ab5c-12c0-42b4-99f8-97f658deb03b.png) Then, clone _your_ repo (not [this one!](https://github.com/githubnext/blocks-template)) and get ready for action: ```bash yarn # install dependencies yarn start # start the dev server # Or use npm, pnpm, you know the drill ``` When you visit [localhost:4000](https://localhost:4000) in your browser, you'll be redirected to the Blocks app, but your locally-developed blocks will appear in the block picker: <img alt="Block picker" src="https://user-images.githubusercontent.com/56439/181648955-101b6567-3f9b-44b3-af99-7ef3ca6161b9.png" width="418" /> (if you're using Safari (or another browser that doesn't permit calling `http` URLs from an `https` page), run `yarn start-https` and visit [https://localhost:4000](https://localhost:4000) instead.) This template includes one example File Block and one Folder Block. The dev server supports hot reloading, so make some changes, and see what they do! ## Under the hood Currently, Blocks are [React](https://reactjs.org/) components. They have a well-defined contract with their surroundings, and receive a [fixed set of props](https://github.com/githubnext/blocks/blob/main/docs/Developing%20blocks/4%20API%20reference%20and%20types.md) when they are instantiated. They are developed in [TypeScript](https://www.typescriptlang.org/), and bundled with [Vite](https://vitejs.dev/). ## More Info Visit [githubnext/blocks](https://blocks.githubnext.com/githubnext/blocks) for a full tutorial, documentation, and examples. You should also join us in our discord! There's a [#blocks channel](https://discord.com/channels/735557230698692749/1039950186136469535) where you can connect with us and other folks who are building Blocks: > 👋 https://discord.gg/githubnext ## License MIT ✌️ ❤️ _GitHub Next_
My blocks for GitHub Blocks.
github-blocks,javascript,pomsky,rust,typescript,wasm
2023-02-25T02:11:41Z
2023-02-25T20:50:12Z
2023-02-25T20:50:12Z
1
0
18
0
0
3
null
MIT
TypeScript
jess-andrade/api-rest
main
# api-rest
✏️ • API REST - Students CRUD + user login
csrf,javascript,nodejs,eslint,sequelize,express
2023-03-04T22:02:24Z
2023-03-04T22:04:08Z
null
1
0
2
0
0
3
null
null
JavaScript
farhanlabib/k6-csv-load-testing
main
# k6-csv-load-testing [![k6](https://img.shields.io/badge/k6-7D64FF.svg?style=for-the-badge&logo=k6&logoColor=white)](https://github.com/grafana/k6)![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E.svg?style=for-the-badge&logo=JavaScript&logoColor=black) k6-csv is a small project that demonstrates how to use the CSV file with [k6](https://k6.io/), a modern load testing tool. This project uses k6 to test the authentication of an API using CSV data. The project includes a CSV file with login credentials and a k6 script that makes POST requests to the API for each set of credentials. The script then checks the responses for various conditions, including status codes and response times. ## Getting Started To use this framework, you need to have Node.js and k6 installed on your machine. - Clone the Repository ```bash > git clone https://github.com/farhanlabib/k6-csv-load-testing.git > cd k6-csv-load-testing > npm install ``` - Install k6 ```bash https://k6.io/docs/get-started/installation/ ``` ## Folder Structure Code is structured as shown below: ``` k6-Performance-Testing-Framework/ ├── specs # The k6 test file is located in the spec folder. │ ├──main.js # Main k6 Script │ ├──data.csv # CSV File File │ ``` ## Configuring the Test The performance tests are configured using the options variable in the test script. The options variable defines the stages of the load test, including the duration and target number of requests per second for each stage. ![](./images/1.png) The current configuration is set up as follows: - Stage 1: 5 second duration and target of 1 requests per second ## Writing the Test ![](./images/2.png) This main.js is a k6 performance test script that tests the login endpoint of a fake store API using data from a CSV file. The script imports the papaparse, http, and check libraries and defines the test stages, parses the CSV data, removes the header row, and makes POST requests for each row of data. The response is checked for various conditions using the check function. If the status code is not 200, the request body is logged to the console. ## Run the Test ```bash k6 run specs/main.js ``` This command will execute the test file and provide a summary of the test results in the console. ```bash k6 run --log-format raw specs/main.js --console-output=./test.csv ``` This command will execute the test file and provide a detailed raw log of the test results in a csv file. ## Conclusion This is a basic example of how to use the the CSV data with the k6 load testing tool. You can customize the test to suit your needs by changing the options and the test function. Feel free to fork and make pull request for any additional feature.
null
csv-parser,javascript,k6
2023-02-25T14:52:51Z
2023-07-19T15:30:58Z
null
1
0
4
0
0
3
null
null
JavaScript
softdev629/business-card
main
# Digital Business Card > Generates digital business card. > Live demo [_here_](https://www.qrcodechimp.com/digital-business-card). ## Table of Contents - [General Info](#general-information) - [Technologies Used](#technologies-used) - [Features](#features) - [Screenshots](#screenshots) - [Setup](#setup) - [Usage](#usage) - [Project Status](#project-status) - [Room for Improvement](#room-for-improvement) - [Acknowledgements](#acknowledgements) - [Contact](#contact) ## General Information - This project helps people to generate & design awesome digital business card. - Save time & cooler design - Purpose is to make clients to feel comfortable & flexible on making their own digital business card. - The project idea was good & design was awesome so I undertook it. ## Technologies Used - Tech 1 - CodeIgniter - Tech 2 - Javascript - Tech 3 - CSS ## Features List the ready features here: - Prebuilt templates - Component management - QRCode generator ## Screenshots ![Content screenshot](./img/screenshot-1.png) ![Design screenshot](./img/screenshot-2.png) ![QRShape screenshot](./img/screenshot-3.png) ![QRCode screenshot](./img/screenshot-4.png) ## Setup This is CodeIgniter based project. You have to use composer to install vendor. Dependencies are listed on composer.json. 1. Clone the project by using `git clone` command. 2. And inside the project run `composer update`. ## Usage You can use this to store personal information as digital business card. ## Project Status Project is: _complete_. ## Room for Improvement These are room for improvement & ToDos. Room for improvement: - CodeIgniter 4 - Javascript for UI - Component Management Idea - JSON data process To do: - Frontend as React or Vue - Code Quality ## Acknowledgements - This project was inspired by ADMIN. - This project was based on [this tutorial](https://codeigniter.com/). - Many thanks to ADMIN. ## Contact Created by [@violetstar701](https://) - feel free to contact me!
This project helps people to generate & design awesome digital business card. Purpose is to make clients to feel comfortable & flexible on making their own digital business card.
codeigniter,component,css,javascript
2023-02-26T13:34:49Z
2023-02-26T15:11:06Z
null
1
0
2
0
0
3
null
MIT
JavaScript
gennaios21/gennaios21.github.io
master
This app/webpage is used to calculate a UPatras ECE or CEID student's new PGA, given the number of passed lessons and the current PGA. They can add new hypothetical lessons and enter the specific grade, as well as their thesis. They can also download the WDP.xls file from Progress->Academic Work and import it on the app, to automatically calculate their current PGA and passed lessons. To start, open 'index.html' in your browser or visit https://gennaios21.github.io/.
PGA calculator for Upatras students
javascript,pga,upatras,ece
2023-03-07T17:06:13Z
2024-03-25T21:55:19Z
null
2
2
45
0
1
3
null
null
JavaScript
oljc/chinese-lunar
main
<div align="center"> <a href="https://github.com/LIjiAngChen8/chinese-lunar" target="_blank"> <img alt="Chinese Lunar Logo" width="200" src="https://user-images.githubusercontent.com/48879481/223386976-705d91d0-3709-43ed-8cdf-4cde44b5a16b.png"/> </a> </div> <div align="center"> <h2>Chinese Lunar 农历(阴阳合历)</h2> 一款大小只有 3kB 的轻量农历日期转换工具 JavaScript 库,有着强大且丰富的 API 和可扩展性。 </div> <div align="center"> ![TypeScript](https://img.shields.io/badge/TypeScript-4.9.5-%23165DFF) [![codecov](https://codecov.io/gh/LIjiAngChen8/chinese-lunar/branch/main/graph/badge.svg?token=KMWCEVQ57I)](https://codecov.io/gh/LIjiAngChen8/chinese-lunar) [![GitHub last commit](https://img.shields.io/github/last-commit/LIjiAngChen8/chinese-lunar.svg)](https://github.com/LIjiAngChen8/chinese-lunar/commit/master) [![GitHub license](https://img.shields.io/github/license/LIjiAngChen8/chinese-lunar.svg)](https://github.com/LIjiAngChen8/chinese-lunar/blob/master/LICENSE) ![Rollup Version](https://img.shields.io/badge/Rollup-v3.12.0-orange) ![ESLint](https://img.shields.io/badge/ESLint-v8.33.0-orange) ![Jest](https://img.shields.io/badge/Jest-v29.4.3-orange) ![GitHub stars](https://img.shields.io/github/stars/LIjiAngChen8/chinese-lunar?style=social) </div> # ✨特性 - ⏰ 可转换多种时间格式 - 🔌 提供扩展Plugin - 🔗 支持链式操作 - 📌 可自定义假日信息 - 📦 仅 3kb 大小的轻量库 - 📑 真实可靠的中国农历规则算法,以及细化的API与对应使用文档 # 快速上手 #### 安装 #### 使用 # 贡献 贡献之前请先阅读 [行为准则](./CODE_OF_CONDUCT_CN.md)、[贡献指南](./CONTRIBUTING.md)。 <a href="https://github.com/LIjiAngChen8/chinese-lunar/graphs/contributors"><img src="https://contrib.rocks/image?repo=LIjiAngChen8/chinese-lunar" /> </a> # License 本项目使用 [MIT 协议许可证](./LICENSE)
ChineseLunar is a lightweight (3 kB) JavaScript library for converting lunar calendar dates, boasting a powerful API and extensibility.
chinese,javascript,lunar,lunar-calendar,typescript
2023-03-06T09:31:36Z
2024-01-29T15:53:21Z
null
1
3
35
0
1
3
null
MIT
TypeScript
evan-brass/sqlite.js
dev
# sqlite.js Another SQLite wrapper library. Features: * Incremental Blob IO via Readable / Writable Streams * Custom VFSs with async implementations * Coroutines / "multithreading" via Asyncify stack switching. * Enables cancelling a query: `Conn.prototype.interrupt()` * Run multiple queries without needing SharedArrayBuffer or Worker * This library compiles SQLite with multithreading support * An API with minimal construction / destruction. Prefers 'borrowing' APIs that automatically aquire and release resources. * `ConnPool.prototype.borrow()` * Once webbrowsers get disaposable/asyncdisposable, then I might rework the APIs to better reflect the underlying SQLite objects. * Tagged template literals * Everything is optional: only include what you need. * Custom VFSs are optional (if you just want in-memory) * Custom scalar-functions are optional (if you don't need incremental blob IO, etc.) * Pool is optional * Extensible * Modify how values are bound via the Bindable and Resultable traits in `sql.mjs/value.js` * Write your own implementation of custom VFS support. Look at `sql.mjs/vfs/custom.js` to learn how. * Directly call sqlite3 functions via `sql.mjs/sqlite.js` and `sql.mjs/sqlite_def.js` * Two VFS implementations * An HTTP VFS that uses HTTP range queries (if supported by the server) to incrementally query a database * Read-only * Works in browsers or Deno (uses the fetch api) * A browser VFS that operates on FileSystemFileHandle's and FileSystemDirectoryHandle's * Uses a virtual filesystem composed of file handles stored in an indexedDB database
Another javascript SQLite wrapper.
browser,deno,javascript,sqlite,webassembly
2023-03-01T03:42:27Z
2024-05-16T15:45:06Z
null
1
1
201
0
0
3
null
MIT-0
JavaScript
danielochuba/conference-page
main
<a name="readme-top"></a> <div align="center"> <!-- You are encouraged to replace this logo with your own! Otherwise you can also remove it. --> <img src="murple_logo.png" alt="logo" width="140" height="auto" /> <br/> <h3><b>HTML + basic JavaScript Capstone README</b></h3> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [Run tests](#run-tests) - [Deployment](#triangular_flag_on_post-deployment) - [👥 Authors](#authors) - [🔭 Future Features](#future-features) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [🙏 Acknowledgements](#acknowledgements) - [❓ FAQ (OPTIONAL)](#faq) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [HTML + basic JavaScript Capstone] <a name="about-project"></a> > Describe your project in 1 or 2 sentences. **[HTML + basic JavaScript Capstone]** is a microverse Project which is curriated from all learnings accomplished through the First module of the Program. ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> > Describe the tech stack and include only the relevant sections that apply to your project. <details> <summary>Client</summary> <ul> <li><a href="https://html.com/">HTML</a></li> </ul> <ul> <li><a href="https://css-tricks.com/">CSS</a></li> </ul> <ul> <li><a href="https://jsdocs.com/">JavaScript</a></li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> > Describe between 1-3 key features of the application. - **[Responsive Design]** - **[linters enabled]** - **[mobile version first]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LIVE DEMO --> ## 🚀 Live Demo <a name="live-demo"></a> > Add a link to your deployed project. - [Live Demo Link](https://danielochuba.me/conference-page/) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> > Describe how a new developer could make use of your project. To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: <ul> <li>A code editor like Visual Studio Code</li> <li>Internet connection</li> <li>A working browser</li> </ul> ### Setup <ol> <li>Copy the URL for the repository. <li>To clone the repository using HTTPS, under "HTTPS"</li> <li>To clone the repository using an SSH key, including a certificate issued by your organization's SSH certificate authority, click SSH </li> <li>To clone a repository using GitHub CLI, click GitHub CLI</li> </li> <li>Open Git Bash.</li> <li>Change the current working directory to the location where you want the cloned directory.</li> <li>Type git clone, and then paste the URL you copied earlier.<br><code>$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY</code></li> <li>Press Enter to create your local clone</li> </ol> ### Install Install this project with: sh Portfolio: set up mobile first install ### Usage To run the project, execute the following command: .code index.html ### Run tests To run tests, run the following command: <!-- Example command: ```sh bin/rails test test/models/article_test.rb ``` ---> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors"></a> > Mention all of the collaborators of this project. 👤 **Author1** - GitHub: [@githubhandle](https://github.com/danielochuba) - Twitter: [@twitterhandle](https://twitter.com/ochuba_daniel) - LinkedIn: [LinkedIn](www.linkedin.com/in/daniel-ochuba-ugochukwu) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> ## 🔭 Future Features <a name="future-features"></a> > Describe 1 - 3 features you will add to the project. - [ ] **[Animations]** - [ ] **[More webPages]** - [ ] **[More texts]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> ## ⭐️ Show your support <a name="support"></a> If you like this project you can give me a star <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 📝 License <a name="license"></a> This project is [MIT](./MIT.md) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p> <p align="right">(<a href="#readme-top">back to top</a>)</p>
A conference web page which contains two pages (HOME and ABOUT), displays speakers along with there pictures, titles and achievements.
bootstrap5,css,html,javascript
2023-02-28T12:01:40Z
2024-01-09T09:09:07Z
null
1
1
13
0
0
3
null
null
HTML
pedroalonsoms/ecoa
main
<p align="center"> <img src="logo.png"> </p> <h2 align="center"> A major redesign of the traditional Tec's primary satisfaction survey: ECOA <h2> <p align="center"> <a href="https://github.com/prettier/prettier"> <img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"> </a> </p> ![](demo.jpeg) # 📚 Usage First, `mysql` is required. For installing on Mac, run ```console brew install mysql ``` For installing on Windows, check: https://dev.mysql.com/doc/refman/8.0/en/windows-installation.html Then create a database named `ecoa`: ```sql CREATE DATABASE ecoa; ``` After that, you must add a `.env` file at the root of the repo with your database configuration. For example: ``` DB_HOST="127.0.0.1" DB_USER="root" DB_NAME="ecoa" ``` > Note: if you've set a password, then add `DB_PASSWORD="<your password>"` Make sure you have `node` and `npm` in your machine In order to reset and seed the database with data you should use: ```console npm run db:reset ``` Then for being able to start the server: ```console npm start ``` Now if you open http://localhost:8080, it should be working # 📑 Documents - 📦 [Google Drive Folder](https://drive.google.com/drive/folders/18pnYM_UuBCcxaX-H8bqIiA9n4d28qxLd?usp=sharing) - 📷 [Final Presentation Slides](https://drive.google.com/file/d/14o_AVzkfNEDO347Sl9mUJQ7ily8cvVNC/view?usp=share_link) - 📦 [Google Drive Folder (Internal-Only)](https://drive.google.com/drive/folders/1D2RHVyTfaO_m26Hka9A1EXCZ5MDTx3B7?usp=sharing) - 📌 [Rubric (Internal-Only)](https://docs.google.com/spreadsheets/d/1_pA1fRWtzcggmU9Bw4S-WutvSK5uTGxi/edit?usp=share_link&ouid=112199480319751895298&rtpof=true&sd=true) - 🥁 [Images & Music References/Credits](https://docs.google.com/document/d/1b2WmbTR-I2CKzESaP6EjdE4DjvG1zKKlzB-w04W2M2Q/edit?usp=sharing) # 💿 SQL Diagram ![](server/src/db/diagramav7.png) # Development Team Team **2** - **Backend** - Pedro Alonso Moreno Salcedo A01741437 - **Backend** - Kerim Taray Malagon A0027581 - **Unity** - Santiago Velasquez Chang A00832788 - **Unity** - Felipe de Jesús González Acosta A01275536 - **Frontend** - Adrián Alejandro Ramírez Cruz A00830640 ![](https://contrib.rocks/image?repo=pedroalonsoms/ecoa) # References & Credits - Chris Kolmenic MySQL ENUM's Article: https://komlenic.com/244/8-reasons-why-mysqls-enum-data-type-is-evil/ - Table Inheritance Article: https://www.freecodecamp.org/news/single-table-inheritance-vs-polymorphic-associations-in-rails-af3a07a204f2/amp/ - Class Table Ineritance: https://www.martinfowler.com/eaaCatalog/classTableInheritance.html - Single Table Ineritance: https://www.martinfowler.com/eaaCatalog/singleTableInheritance.html - Inheritance vs Composition Article: https://betterprogramming.pub/inheritance-vs-composition-2fa0cdd2f939 - Dependency Injection Article: https://8r14z.medium.com/dependency-injection-for-dummies-168dad181a3d - MiduDev: https://www.youtube.com/@midudev - W3Schools: https://www.w3schools.com/ - StackExchange: https://stackexchange.com/ - StackOverflow: https://stackoverflow.com/ - MySQLTutorial: https://www.mysqltutorial.org/
A major redesign of the traditional Tec's primary satisfaction survey: ECOA
csharp,express,javascript,mysql,node,react,unity,css,html
2023-03-04T02:19:25Z
2023-05-04T04:11:10Z
null
5
63
360
11
5
3
null
NOASSERTION
C#
ogatalars/my_obsidian_vault
master
null
Studies repository
java,javascript,markdown,programming-languages,python,react,typescript
2023-02-27T21:50:50Z
2024-05-10T20:28:25Z
null
1
0
1,045
0
0
3
null
null
null
kookmin-sw/capstone-2023-31
master
# GLASSFIT > **팀페이지 (2023-31) :** [https://kookmin-sw.github.io/capstone-2023-31/](https://kookmin-sw.github.io/capstone-2023-31/) ### 🗣️ 안경 사야 하는데 너무 귀찮아 ! ### 👀 집에서 편하게 써보고 구매하고 싶은데 !! ### 🦊 내 얼굴형에 맞는 안경을 구매하고 싶어 !!! <p align="center"><img src="https://github.com/kookmin-sw/capstone-2023-31/assets/63188042/7829dec5-8297-4236-96d2-4495ba0f6722" width="700"/></p> <br> ## 목차 - [1. 프로젝트 소개 😎](#1-프로젝트-소개-😎) - [2. 주요 기능 🌟](#2-주요-기능-🌟) - [3. 팀원 소개 👩](#3-팀원-소개-👩) - [4. 소개 영상 🎥](#4-소개-영상-🎥) - [5. 프로젝트 구조 🗂️](#5-프로젝트-구조-🗂️) - [6. 기술 스택 📊](#6-기술-스택-📊) - [7. 사용법 🕹️](#7-사용법-🕹️) - [8. Document 📑](#8-document-📑) ## 1. 프로젝트 소개 😎 <code>“GLASSFIT”</code>은 사용자의 얼굴형을 분석하여 어울리는 안경테를 추천하고, 웹캠을 통해 가상으로 해당 안경을 착용해 볼 수 있는 웹 서비스입니다. 안경은 오랜 기간 사용되는 상품인 만큼 많은 사람들이 자신과 어울리는 안경을 구매하고자 합니다. 그러나 옷 쇼핑과는 달리 안경원에서는 다양한 안경테를 직접 착용해 보는 것이 어렵고 번거로운 일입니다. 이러한 불편함을 해소하기 위해 저희는 집에서 편하게 안경을 착용해 보고, 자신의 얼굴형에 맞는 안경테를 추천받을 수 있는 서비스를 제공하고자 합니다. 본 프로젝트의 목표는 사용자에게 편리하고 직관적인 안경 선택 과정을 제공하는 것입니다. 이를 통해 사용자는 자신에게 어울리는 안경을 찾는 과정에서의 불필요한 시간과 비용을 절약할 수 있습니다. <br><br> ## 2. 주요 기능 🌟 <code>[얼굴형 분석 기능]</code> 메인 페이지의 ‘얼굴형 분석하기’ 버튼을 누르면 실시간 Web-Cam 화면이 나타납니다. 사용자는 정면을 응시한 뒤 사진 찍기 버튼을 눌러 얼굴형 분석 기능을 사용할 수 있습니다. 업로드된 얼굴 이미지는 Tensorflow 툴을 통해 학습된 모델을 사용해서 사용자의 얼굴 형태, 윤곽, 비율 등을 신속하게 분석하고 해석합니다. 분석된 얼굴형은 마이페이지에 저장할 수 있으며, 사용자에게 안경테 종류를 추천해줍니다. <br><br> <code>[안경 가상 피팅]</code> 사용자는 추천된 안경테를 가상으로 착용할 수 있습니다. Web-cam을 통해 자신의 얼굴에 추천된 안경테를 씌워볼 수 있으며, 실제로 착용하지 않고도 어떻게 보일지 미리 확인할 수 있습니다. 이를 통해 사용자는 자신과 잘 어울리는 안경테를 선택하는데 도움을 받을 수 있습니다. <br><br> #### 페이지별 기능 <p align="center"><img src="https://github.com/kookmin-sw/capstone-2023-31/assets/63188042/5e2a6d34-0f8b-40d7-b980-a2aa27abd75c" width="800"/></p> <p align="center"><img src="https://github.com/kookmin-sw/capstone-2023-31/assets/63188042/87d357fd-7f51-483b-ae63-a03946bcde07" width="800"/></p> <p align="center"><img src="https://github.com/kookmin-sw/capstone-2023-31/assets/63188042/5d9b799f-641c-4380-881f-2fae27d20884" width="800"/></p> <br><br> ## 3. 팀원 소개 👩 #### 김수빈 <img src="https://user-images.githubusercontent.com/66404477/229358314-5537125b-0a28-4ba3-9f79-64f01f4c65a5.png" width="100"/> [subeen's Github](https://github.com/soosbk) ~~~ 👩‍🎓 Student ID : ****2218 📧 E-mail: sb121300@naver.com 📌 Role: 팀장, ML(얼굴형 분석 모델 생성), Backend(얼굴형 분석 페이지, user, 마이페이지, 회원가입/로그인), Release(배포) ~~~ <br> #### 김시은 <img src="https://user-images.githubusercontent.com/66404477/229358307-fa2fce06-7696-4495-bca7-0397fa9d6c29.png" width="100"/> [sieun's Github](https://github.com/se0983) ~~~ 👩‍🎓 Student ID : ****2219 📧 E-mail: se098300@gmail.com 📌 Role: Data(데이터 수집, 이미지 전처리 및 DB 구축), Backend (안경 가상 피팅, 상품 리스트 및 상세 페이지) ~~~ <br> #### 김소은 <img src="https://user-images.githubusercontent.com/66404477/229358312-ac729795-7298-42e7-a7bc-81581f9ed242.png" width="100"/> [soeun's Github](https://github.com/silver0108) ~~~ 👩‍🎓 Student ID : ****2217 📧 E-mail: kimsoeun0108@gmail.com 📌 Role: Frontend(클라이언트 개발, 레이아웃 설계, UI/UX 디자인) ~~~ <br><br> ## 4. 소개 영상 🎥 [소개 영상](https://youtu.be/aLYHJLLP1NU) <br> [시연 영상](https://youtu.be/NodPse4up2s) <br><br> ## 5. 프로젝트 구조 🗂️ <img src="https://github.com/kookmin-sw/capstone-2023-31/assets/66404477/3512dc1c-3fb3-414e-8ec6-3af86da1a347" width="800"/> <br><br> ## 6. 기술 스택 📊 #### ML * <p float="left"> <img src="https://img.shields.io/badge/tensorflow-FF6F00?style=for-the-badge&logo=tensorflow&logoColor=white"> <img src="https://img.shields.io/badge/keras-D00000?style=for-the-badge&logo=keras&logoColor=white"> <img src="https://img.shields.io/badge/Kaggle-035a7d?style=for-the-badge&logo=kaggle&logoColor=white"> <img src="https://img.shields.io/badge/scikitlearn-F7931E?style=for-the-badge&logo=scikitlearn&logoColor=white"> </p> #### Data * <p float="left"> <img src="https://img.shields.io/badge/sqlite-003B57?style=for-the-badge&logo=sqlite&logoColor=white"/> <img src="https://img.shields.io/badge/dlib-008000?style=for-the-badge&logo=dlib&logoColor=white"/> <img src="https://img.shields.io/badge/opencv-5C3EE8?style=for-the-badge&logo=opencv&logoColor=white"/> <img src="https://img.shields.io/badge/selenium-43B02A?style=for-the-badge&logo=selenium&logoColor=white"/> </p> #### Frontend * <p float="left"> <img src="https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB"> <img src="https://img.shields.io/badge/reactrouter-CA4245?style=for-the-badge&logo=reactrouter&logoColor=%2361DAFB"> <img src="https://img.shields.io/badge/redux-%23593d88.svg?style=for-the-badge&logo=redux&logoColor=white"> <img src="https://img.shields.io/badge/axios-5A29E4?style=for-the-badge&logo=axios&logoColor=white" /> <img src="https://img.shields.io/badge/json-000000?style=for-the-badge&logo=json&logoColor=white" /> <img src="https://img.shields.io/badge/javascript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=white" /> </p> #### Backend * <p float="left"> <img src="https://img.shields.io/badge/django-092E20?style=for-the-badge&logo=django&logoColor=white"> </p> #### Collaboration * <p float="left"> <img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white"/> <img src="https://img.shields.io/badge/notion-000000?style=for-the-badge&logo=notion&logoColor=white" /> <img src="https://img.shields.io/badge/figma-F24E1E?style=for-the-badge&logo=figma&logoColor=white" /> <img src="https://img.shields.io/badge/vscode_liveshare-007ACC?style=for-the-badge&logo=visualstudiocode&logoColor=white" /> </p> #### Release * <p float="left"> <img src="https://img.shields.io/badge/docker-007ACC?style=for-the-badge&logo=docker&logoColor=white"/> </p> <br/><br/> ## 7. 사용법 🕹️ ### 깃 원격저장소 1. 가상환경을 생성합니다. 2. 원격 저장소를 clone 받습니다. ### Docker file 실행 1. `docker-compose up` <br> 동시에 터미널을 한개 더 켜서 frontend 폴더로 이동합니다. 2. `npm install` 3. `npm start` <br/>frontend를 실행시키면 docker에서 신호를 잡아, 실행됩니다. <br/>첫 실행 시, 큰 시간이 걸립니다. #### 윈도우 환경에서 도커파일이 실행되지 않은 경우, 다음 안내사항을 따라주세요! 맥환경에서 세팅한 파일을 윈도우에서 pull 받아 docker container로 다시 빌드하는 과정에서 해당 오류가 발생합니다.<br> `exec /entrypoint.sh: no such file or directory` <br> 원인은 윈도우가 LF를 자동으로 CRLF 로 받아오면서 발생한 문제였는데, Git 자체에서 이 변환을 자동으로 하는 것을 막아주는 옵션이 있기 때문입니다.<br> 따라서, 이 명령어를 입력하고 다시 클론 받아와야합니다. (새로운 파일부터 적용됩니다.)<br> `git config --global core.autocrlf true` ##### 도커 파일이 실행되지 않은 경우 다음과 같은 과정을 따라주세요:) ### requirements.txt (capstone-2023-31 에 존재) 1. `pip install --upgrade pip` 2. `pip install -r requirements.txt` <br> 실행 ### dlib설치방법 1.http://dlib.net/ 링크로 접속합니다. <br/><br/> 2. <img width="139" alt="스크린샷 2023-05-24 오전 1 34 26" src="https://github.com/kookmin-sw/capstone-2023-31/assets/66404477/e1df570e-b541-46ff-af9f-3b4b8dedcca8"><br> 파일을 다운 받습니다.<br/><br/> 3. 압축을 해제하고, 레포지토리로 dlib 폴더를 이동합니다.<br> 4. build 폴더와 source 폴더를 생성하고 모든 파일을 source 폴더로 이동시킵니다. <br> <img width="357" alt="스크린샷 2023-05-24 오전 1 41 16" src="https://github.com/kookmin-sw/capstone-2023-31/assets/66404477/213075dc-9310-483a-a895-942b1cc7250d"> <br> -> <br> <img width="770" alt="스크린샷 2023-05-24 오전 1 36 22" src="https://github.com/kookmin-sw/capstone-2023-31/assets/66404477/f1a1bb36-90b6-488e-b8e8-cd48319138f8"> <br><br/> 5. `cd source`<br/><br/> 6. `python setup.py build`<br/><br/> 7. `python setup.py install`<br/><br/> <확인 방법><br> 1. python 접속<br/> 2. `import dlib`<br/> `print(dlib.__version__)` -> 잘 나오면 설치 완료 ### tensorflow `pip install tensorflow` ### front-end 1. frontend 폴더로 이동한다. <br> 2. `npm install` <br> 3. `npm start` <br> ### back-end 1. `cd backend/eyeglassy` <br> 2. `python csv_to_db.py` (실행) <br> 3. `python manage.py migrate` <br> 4. `python manage.py runserver` ## 8. Document 📑 [최종 포스터](https://github.com/kookmin-sw/capstone-2023-31/files/11550511/31_._.pdf) <br> [최종발표자료](https://github.com/kookmin-sw/capstone-2023-31/files/11551410/31-.pdf) <br> [수행결과보고서](https://github.com/kookmin-sw/capstone-2023-31/files/11551411/31-.pdf)
GLASSFIT : 가상 안경 피팅 웹서비스 o-o、
django,django-rest-framework,javascript,python,react
2023-03-06T07:34:00Z
2023-07-31T13:11:05Z
null
8
67
528
5
3
3
null
null
JavaScript
Ravina-Deogadkar/snippet-library
master
# Snippet Library ## Store, Share and Access your code snippet anywhere. ![logo](images/snippet-library.png) Please give this repo a ⭐ it really helps us! ### Setup 1. [Fork](https://github.com/Ravina-Deogadkar/snippet-library/fork) this repo by clicking the fork button in the top right to get started. 2. Clone the project, you can use the following command: ```bash git clone https://github.com/<your-github-username>/snippet-library ``` 3. Navigate to the project directory ```bash cd snippet-library ``` ### Deploying Backend To deploy this project navigate to the backend folder and run ```bash cd backend ``` ```bash npm install ``` ```bash node index.js ``` or ```bash nodemon ``` ### Deploying Frontend To deploy this project navigate to the frontend folder and run ```bash npm install ``` ```bash npm start ``` Navigate to `http://localhost:3000/` ![Landing Page](images/landing-page.png) ## Feedback If you have any feedback, please reach out to us at ravina.deogadkar@gmail.com
Save all your snippets at one place and share them with your colleagues whenever you want
css,html,javascript,react,hacktoberfest,hacktoberfest-accepted,hacktoberfest2023
2023-03-11T13:42:33Z
2024-04-20T11:08:34Z
null
3
13
27
4
6
3
null
MIT
JavaScript
jonycmtt/EB-Shop
master
# EB-Shop <div align="center"> ![GitHub repo size](https://img.shields.io/github/repo-size/jonycmtt/EB-Shop) ![GitHub stars](https://img.shields.io/github/stars/jonycmtt/EB-Shop?style=social) ![GitHub forks](https://img.shields.io/github/forks/jonycmtt/EB-Shop?style=social) <br /> <br /> <h2 align="center">EB-Shop Ecommerce - EB-Shop is a fully responsive ecommerce website, maximum compatiblities in all mobile devices, built using HTML, CSS, and JavaScript.</p> <a href="https://eb-shop.netlify.app/" target="_blank"><strong>➥ Live Demo</strong></a> </div> <!-- ![EB Desktop Demo](./desktop.png"Desktop Demo") --> ![EB Desktop Demo](./theme.png "Desktop Demo") ## <img alt="gif" src="https://github.com/jonycmtt/jonycmtt/blob/main/wifi-gol.gif?raw=true" width="50" height="50" /> Connect with Me [![Facebook](https://img.shields.io/badge/Facebook-%231877F2.svg?logo=Facebook&logoColor=white)](https://facebook.com/jonycmt) [![Instagram](https://img.shields.io/badge/Instagram-%23E4405F.svg?logo=Instagram&logoColor=white)](https://instagram.com/jonycmt) [![LinkedIn](https://img.shields.io/badge/LinkedIn-%230077B5.svg?logo=linkedin&logoColor=white)](https://linkedin.com/in/salman-rahaman) [![Medium](https://img.shields.io/badge/Medium-12100E?logo=medium&logoColor=white)](https://medium.com/@jonyislamcmt) [![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?logo=YouTube&logoColor=white)](https://youtube.com/@jonycmt)
EB-Shop is a fully responsive ecommerce website, maximum compatiblities in all mobile devices, built using HTML, CSS, and JavaScript.
css3,html5,javascript,jquery-plugin,scss
2023-03-09T11:42:53Z
2023-03-15T18:02:09Z
null
1
0
24
0
0
3
null
null
HTML
arunabhnewar/counter-application-with-redux
main
null
html5,javascript,redux,tailwind
2023-03-06T09:16:37Z
2023-03-07T14:47:38Z
null
1
0
4
0
0
3
null
null
HTML
ViktorSvertoka/goit-js-hw-01
main
# Критерії прийому - Створено репозиторій `goit-js-hw-01` - При здачі домашньої роботи є посилання на вихідні файли в репозиторії - Кожне завдання виконано в окремому файлі з ім'ям `task-номер_завдання.js`. Використовуй `<script type="module">` щоб закрити код завдання в окремій області видимості і уникнути конфліктів імен ідентифікаторів. - Імена змінних зрозумілі, описові - Код відформатований за допомогою Prettier # Завдання 1 - Оголоси дві змінні, які зберігають назву та ціну товару: `name` і `price` - Присвойте змінним наступні характеристики товару (відразу при оголошенні) - назва: Генератор захисного поля - ціна: 1000 - Використовуючи стандартний рядок виведи в консоль інформацію про товар, вийде: `'Обрано «Генератор захисного поля», ціна за штуку 1000 кредитів'`. - Присвой товару нову ціну - 2000 - Використовуючи стандартний рядок виведи в консоль інформацію про товар, вийде: `'Обрано «Генератор захисного поля», ціна за штуку 2000 кредитів'`. # Завдання 2 Напиши скрипт перевірки кількості товарів на складі. Є змінні `total` (кількість товарів на складі) і `ordered` (одиниць товару в замовленні). Порівняй ці значення і за результатами виведи: - Якщо в замовленні вказано число, що перевищує кількість товарів на складі, то виведи повідомлення `"На складі недостатньо товарів!"`. - В іншому випадку виводь повідомлення `"Замовлення оформлено, з вами зв'яжеться менеджер"`. Перевір працездатність коду з різними значеннями змінної `ordered`, наприклад `20`, `80` і `130`. ```js const total = 100; const ordered = 50; ``` # Завдання 3 Напиши скрипт, який імітує авторизацію адміністратора в панелі управління. Є змінна `message` в яку буде записано повідомлення про результат. При завантаженні сторінки у відвідувача запитується пароль через `prompt`: - Якщо натиснули `Cancel`, записати в `message` рядок `'Скасовано користувачем!'` - В іншому випадку, якщо введений пароль який збігається зі значенням константи `ADMIN_PASSWORD`, записати в `message` рядок `'Ласкаво просимо!'` - В іншому випадку, тобто якщо жодна з попередніх умов не виконалася, записати в `message` рядок `'Доступ заборонений, невірний пароль!'` - Після всіх перевірок вивести в `alert` значення змінної `message`. ```js const ADMIN_PASSWORD = "jqueryismyjam"; let message; ``` # Завдання 4 На рахунку користувача є `23580` кредитів, значення зберігається в змінній `credits` (створи і привласни). Користувач вирішує купити ремонтних дроїд, які коштують по `3000` кредитів за штуку. Ціна одного дроїда зберігається в змінній `pricePerDroid` (створи і привласни). При відвідуванні сторінки, використовуючи `prompt`, необхідно запитати кількість дроїдів, які користувач хоче купити і зберегти в змінну. Напиши скрипт який: - Якщо в `prompt` була натиснута кнопка `Cancel`, виводить в консоль повідомлення `'Скасовано користувачем!'`. - В іншому випадку, розраховує загальну ціну замовлення і зберігає в змінній `totalPrice`. - Перевіряє чи зможе користувач оплатити замовлення: - якщо сума до оплати перевищує кількість кредитів на рахунку, виводь в консоль повідомлення `'Недостатньо коштів на рахунку!'`. - в іншому випадку необхідно порахувати залишок кредитів на рахунку і вивести повідомлення `'Ви купили [число] дроїдів, на рахунку залишилося [число] кредитів.'`. # Завдання 5 Користувач може оформити доставку товару до себе в країну, вказавши її при відвідуванні сторінки в `prompt`. Врахуй, користувач може ввести ім'я країни не тільки буквами нижнього регістра, а наприклад `'кИтАЙ'`. Напиши скрипт який виводить повідомлення про вартість доставки в зазначену країну. Обов'язково використовуй `switch`. Формат повідомлення: `'Доставка в [країна] буде коштувати [ціна] кредитів'`. Але доставка є не скрізь, якщо зазначеної країни немає в списку, то виводь в `alert` повідомлення `'У вашій країні доставка недоступна'`. Нижче наведено список країн і вартість доставки. - Китай - 100 кредитів - Чилі - 250 кредитів - Австралія - 170 кредитів - Індія - 80 кредитів - Ямайка - 120 кредитів # Завдання 6 Напиши скрипт який просить відвідувача ввести число в `prompt` до тих пір, поки відвідувач не натисне `Cancel` і кожен раз додає введене значення до загальної суми. - При завантаженні сторінки користувачеві пропонується в `prompt` ввести число. Введення додається до значення змінної `total`. - Операція введення числа триває до тих пір, поки користувач не натисне кнопку `Cancel` в `prompt`. - Після того як користувач припинив введення натиснувши кнопку `Cancel`, показати `alert` з рядком `'Загальна сума чисел дорівнює [сума]'`. > 🔔 Робити перевірку того, що користувач ввів саме число, а не довільний набір > символів, не потрібно. Якщо хочеш, в разі некоректного введення, показуй > `alert` з текстом `'Було написано не число, спробуйте ще раз'`, при цьому > результат `prompt` плюсувати до загальної суми не потрібно, після чого знову > користувачеві пропонується ввести число в prompt. ```js let input; let total = 0; ```
Home task for JavaScript course📒
css,goit,goit-js-hw-01,html,javascript,ukraine,babel,gitignore,json,learning
2023-02-26T20:01:42Z
2023-03-01T19:58:23Z
null
1
35
72
0
0
3
null
null
HTML
yaashwardhan/TestGen.ai
main
# TestGen.ai :scroll::pencil2: <a href="https://huggingface.co/docs/transformers/index"><img src="https://img.shields.io/badge/Powered%20by-Transformers-orange.svg"/></a> [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/yaashwardhan/BrainStain.ai/main?color=blue) <hr> <img src="header.png"> A host can input a paragraph of words and and the platform then generates different types of quizzes from it. For this, keywords were extracted from the paragraph using unsupervised keyphrase extraction with multipartite graphs, which were then passed to a system that employs a transformer model that is finetuned using transfer learning on the SQuAD dataset, using the T5 model and tokenizer to generate questions pertaining to the extracted keyword. Using sense2vec, Normalized Levenshtein distance algorithm and Maximal Marginal Relevance algorithm (cosine similarity), dissimilar distractors were generated to create incorrect options for the question. Using BERT overcame word sense disambiguation for distractor sense classification. Flask was used as the Python app to generate the tests, while Ajax was employed as a handler between the website and the question generation models. JavaScript was used for client-side scripting. e.g A paragraph as below is entered and questions/distractors are generated. <img src="sample.png"> ## Dependencies | Package | Tested version | |----------------------|----------------| | torch | 1.13.1 | | transformers | 4.20.1 | | numpy | 1.23.3 | | requests | 2.28.1 | | sense2vec | 2.0.1 | | similarity | 0.0.1 | | spacy | 3.3.2 | | strsim | 0.0.3 | | nltk | 3.8.1 | | pandas | 1.5.0 | | pke | 2.0.0 | | flashtext | 2.7 | | pytorch_lightning | 1.2.10 | ## Installation ```bash $ git clone https://github.com/yaashwardhan/TestGen.ai.git ``` Navigate to the project directory. ```bash $ cd TestGen.ai/ ``` Create a new Conda environment. ```bash $ conda create --name environment-name python=3.10.10 ``` Note: Replace environment-name with the name you want to give your Conda environment. Activate the newly created environment. ```bash $ conda activate environment-name ``` Install the project dependencies from the requirements.txt file. ```bash $ pip install -r requirements.txt ``` Verify that all the required packages have been installed correctly by running: ```bash $ pip freeze ```
Question Generation Platform using Fine-Tuned T5 Transformers
ajax,javascript,nlp,php,pytorch,transformers
2023-03-10T21:40:23Z
2023-10-22T02:24:12Z
null
1
0
24
0
1
3
null
null
Python
Munyabelden/Todo-list
main
# 📗 Table of Contents - [📗 Table of Contents](#-table-of-contents) - [📖 To do list app ](#-to-do-list-app-) - [🛠 Built With ](#-built-with-) - [Tech Stack ](#tech-stack-) - [Key Features ](#key-features-) - [💻 Getting Started ](#-getting-started-) - [Prerequisites](#prerequisites) - [Setup](#setup) - [Install](#install) - [Usage](#usage) - [Deployment](#deployment) - [👥 Authors ](#-authors-) - [🔭 Future Features ](#-future-features-) - [🤝 Contributing ](#-contributing-) - [🙏 Acknowledgments ](#-acknowledgments-) - [📝 License ](#-license-) # 📖 To do list app <a name="about-project"></a> **to do list app** is an application that save your to do chores or tasks and allows you to mark as complete or delete when you are done ## 🛠 Built With <a name="built-with"></a> - Javascript, Html and sass - Webpack ### Tech Stack <a name="tech-stack"></a> ### Key Features <a name="key-features"></a> - **Webpack for bundling my files** - **Javascript for the dynamic page** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 💻 Getting Started <a name="getting-started"></a> To get a local copy up and running, follow these steps. - clone the github repo on to your local mechine - open and edit using vs code - Install Node.js ### Prerequisites In order to run this project you need: - Install git and vs code ### Setup Clone this repository to your desired folder: - ssh key: git@github.com:Munyabelden/to-do-tist.git ### Install Install this project with: - vs code ### Usage To run the project, execute the following command: - npm run build ### Deployment You can deploy this project using: - Github pages or any host of your choice <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 👥 Authors <a name="authors"></a> 👤 **Belden** - GitHub: [@githubhandle](https://github.com/Munyabelden) - Twitter: [@twitterhandle](https://twitter.com/home) - LinkedIn: [LinkedIn](https://www.linkedin.com/feed/) <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🔭 Future Features <a name="future-features"></a> - [ ] **Javascript for more functionality updating when checked complete** <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/Munyabelden/to-do-tist/issues). <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 🙏 Acknowledgments <a name="acknowledgements"></a> - thanks to the minimalist for their copy <p align="right">(<a href="#readme-top">back to top</a>)</p> ## 📝 License <a name="license"></a> This project is [MIT](https://github.com/Munyabelden/to-do-tist/blob/main/LICENSE) licensed. <p align="right">(<a href="#readme-top">back to top</a>)</p>
This is an application that allows you to save task you would like to do and gives you the ability to mark the tasks completed once they are done and also be able to delete tasks. I built it with mainly Javascript html scss
html5,javascript,scss,webpack
2023-02-27T12:27:54Z
2023-06-14T09:45:09Z
null
2
3
27
1
0
3
null
MIT
JavaScript
Atril33/Awesome_Book_ES6
main
<a name="readme-top"></a> <!-- HOW TO USE: This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project and remove sections that don't apply. REQUIRED SECTIONS: - Table of Contents - About the Project - Built With - Live Demo - Getting Started - Authors - Future Features- - Mobile version design - Desktop version design - Dynamic HTML for featured-speakers OPTIONAL SECTIONS: - FAQ After you're finished please remove all the comments and instructions! --> <div align="center"> <!-- You are encouraged to replace this logo with your own! Otherwise you can also remove it. --> <br/> </div> <!-- TABLE OF CONTENTS --> # 📗 Table of Contents - [📖 About the Project](#about-project) - [🛠 Built With](#built-with) - [Tech Stack](#tech-stack) - [Key Features](#key-features) - [🚀 Live Demo](#live-demo) - [💻 Getting Started](#getting-started) - [Setup](#setup) - [Prerequisites](#prerequisites) - [Install](#install) - [Usage](#usage) - [👥 Authors](#authors) - [🤝 Contributing](#contributing) - [⭐️ Show your support](#support) - [📝 License](#license) <!-- PROJECT DESCRIPTION --> # 📖 [Awesome Books ES6] <a name="about-project"></a> > This is Our Awesome Books ES6 Project. We used _HTML, CSS & JAVASCRIPT_ to create this Awesome Books Project. **[Webpage]** ## 🛠 Built With <a name="built-with"></a> ### Tech Stack <a name="tech-stack"></a> > Describe the tech stack and include only the relevant sections that apply to your project. <details> <summary>Clien</summary> <ul> <li><a href="https://www.w3schools.com/html/">HTML</a></li> <li><a href="https://www.w3schools.com/css/">CSS</a></li> <li><a href="https://www.w3schools.com/css/">Javascript</a></li> </ul> </details> <details> <summary>Server</summary> <ul> <li>N/A</li> </ul> </details> <details> <summary>Database</summary> <ul> <li>N/A</li> </ul> </details> <!-- Features --> ### Key Features <a name="key-features"></a> > Describe between 1-3 key features of the application. - **[Html structure with Button, Inputs, etc]** - **[Styling css with colors, borders, paddings, margins & sizes, etc]** _ **[javascript functions, localStroage, objects, arrays, variables, etc]** <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## 💻 Getting Started <a name="getting-started"></a> > Describe how a new developer could make use of your project. To get a local copy up and running, follow these steps. ### Prerequisites In order to run this project you need: to Clone the repo. <!-- Example command: _git clone https://github.com/Atril33/Awesome_books.git_ ```sh gem install rails ``` --> ### Setup Clone this repository to your desired folder: _ Opend CMD, Terminal or GitBash in your pc and type this _git clone command _https://github.com/Atril33/Awesome_Book_ES6.git_ <!-- Example commands: ```sh cd my-folder https://github.com/Atril33/Awesome_Book_ES6.git ``` ---> ### Install Install this project with: _ You can simply clone this project you don't need to install anything in your pc because it is a webpage. <!-- Example command: ```sh cd my-project _git clone https://github.com/Atril33/Awesome_books.git_ ``` ---> ### Usage To run the project, execute the following command: _ You can use it by download in your computer. This is this link for this project _https://github.com/Atril33/Awesome_books.git_ <!-- Example command: ```sh rails server ### Deployment You can deploy this project using: Not Yet <!-- Example: ```sh ``` --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- AUTHORS --> ## 👥 Authors <a name="authors">Syed</a> > This Project is created by Syed Atril & Peter. ## 🛠 Built With <a name="built-with"></a> - HTML - CSS - JAVASCRIPT # <a name="authors">Syed Atril & Peter</a> 👤 **Syed Atril** - GitHub: [@githubhandle](https://github.com/Atril33) - Twitter: [@twitterhandle](https://twitter.com/AtrilSyed) - LinkedIn: [LinkedIn](https://www.linkedin.com/in/syed-atril-831696248/) - Facebook [Facebook](https://web.facebook.com/profile.php?id=100073724910623) <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- FUTURE FEATURES --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING --> ## 🤝 Contributing <a name="contributing"></a> Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- SUPPORT --> ## ⭐️ Show your support <a name="support"></a> > Write a message to encourage readers to support your project If you like this project... <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGEMENTS --> <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- LICENSE --> ## 📝 License <a name="license"></a> This project is [[MIT](https://choosealicense.com/licenses/mit/)](./LICENSE) licensed. > This project has [MIT license](https://choosealicense.com/licenses/mit/) <p align="right">(<a href="#readme-top">back to top</a>)</p>
In this Awesome Book Project, I utilized my HTML, CSS, and JS skills with advanced syntax (ES6) to create a dynamic website where users can store their book and author names.
css,es6,html,javascript,modules
2023-02-28T07:37:32Z
2023-02-28T10:45:45Z
null
1
1
10
0
0
3
null
MIT
JavaScript
hazae41/future
master
<div align="center"> <img src="https://user-images.githubusercontent.com/4405263/222497326-825b2ebb-910b-41ca-8759-785c4876faf0.png" /> </div> Just like a Promise but you can manually resolve or reject it ```bash npm i @hazae41/future ``` [**Node Package 📦**](https://www.npmjs.com/package/@hazae41/future) ## Features ### Current features - 100% TypeScript and ESM - No external dependencies - Unit-tested ## Usage ```typescript import { Future } from "@hazae41/future" const future = new Future<void>() const t1 = setTimeout(() => future.resolve(), 1000) const t2 = setTimeout(() => future.reject(), 2000) try { await future.promise } finally { clearTimeout(t1) clearTimeout(t2) } ```
Just like a Promise but you can manually resolve or reject it
async,await,browser,finally,future,javascript,promise,typescript,unit-test
2023-03-02T13:57:08Z
2023-03-04T10:39:49Z
2023-03-04T10:39:56Z
1
0
15
0
0
3
null
null
TypeScript
ViktorSvertoka/goit-js-hw-04
main
# Критерії прийому - Створено репозиторій `goit-js-hw-04` - При здачі домашньої роботи є посилання на вихідні файли в репозиторії - Кожне завдання виконано в окремому файлі з ім'ям `task-номер_завдання.js`. Використовуй `<script type="module">` щоб закрити код завдання в окремій області видимості і уникнути конфліктів імен ідентифікаторів. - Імена змінних зрозумілі, описові - Код відформатований за допомогою Prettier # Завдання 1 Розстав відсутні `this` в методах об'єкта `account`. ```js const account = { owner: "Mango", balance: 24000, discount: 0.1, orders: ["order-1", "order-2", "order-3"], changeDiscount(value) { discount = value; }, showOrders() { return orders; }, addOrder(cost, order) { balance -= cost; orders.push(order); }, }; account.changeDiscount(0.15); console.log(account.discount); // 0.15 console.table(account.showOrders()); // ['order-1', 'order-2', 'order-3'] account.addOrder(5000, "order-4"); console.log(account.balance); // 19000 console.table(account.showOrders()); // ['order-1', 'order-2', 'order-3', 'order-4'] ``` # Завдання 2 Виправ помилки, які будуть в консолі, щоб скрипт запрацював. ```js const inventory = { items: ["Knife", "Gas mask"], add(itemName) { console.log(`Adding ${itemName} to inventory`); this.items.push(itemName); }, remove(itemName) { console.log(`Removing ${itemName} from inventory`); this.items = this.items.filter((item) => item !== itemName); }, }; const invokeInventoryAction = function (itemName, action) { console.log(`Invoking action on ${itemName}`); action(itemName); }; invokeInventoryAction("Medkit", inventory.add); // Invoking action on Medkit // Adding Medkit to inventory console.log(inventory.items); // ['Knife', 'Gas mask', 'Medkit'] invokeInventoryAction("Gas mask", inventory.remove); // Invoking action on Gas mask // Removing Gas mask from inventory console.log(inventory.items); // ['Knife', 'Medkit'] ```
Home task for JavaScript course📒
css,gitignore,goit,goit-js-hw-04,html,javascript,learning,practice,prettier,ukraine
2023-03-01T14:38:06Z
2023-03-02T20:09:45Z
null
1
21
43
0
0
3
null
null
HTML
iskandarreza/job-post-email-data
main
null
Send LinkedIn job alert links from messages in Gmail to Google Sheets
google-apps-script,javascript,linkedin,cheerio
2023-03-05T04:48:51Z
2023-03-07T03:24:37Z
null
1
0
10
0
0
3
null
GPL-3.0
JavaScript
aidenkoog/webrtc-server-client-sample
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## WebRTC Server Client #### Continue to study and ponder to improve the code structure. - Language: Typescript - Structure Summary - ✨ assets - ✨ config - ✨ data - ✨ domain - ✨ presentation - ✨ services - ✨ test - ✨ utils #### Release Note - 2023/03/06: Initialized project source code. - 2023/03/06: Added server (node.js + express) and client (react + typescript) logic. #### How To Setup Environment It's mandantory to set up the development environment and build the app by following the instructions below: - npx create-react-app PROJECT_NAME --template typescript - yarn install - npm start - yarn build - Copy files in build output directory to server repository to pulish them. - Client (React) - yarn install - npm start - Server () - Node.js + express (framework) - Ref. Node.js: Chrome V8 Javascript engine built Javascript runtime. - Program which is made to use Javascript on server side. - Javascript runtime environment which is operated on the V8 Javascript engine. - Program - Node.js is Usually used to make Network program which can be expanded such as Web server. - npm install express - Make index.js and add code to it. - node index.js #### Link If you are interested in information about me or other activities, please access the link below. | Plugin | LINK | | ----------- | ------------------------------ | | Github page | [https://aidenkoog.github.io/] |
This repository contains logics about server and client which is operated on WebRTC.
client,express,javascript,nodejs,react,server,typescript,webrtc,websocket
2023-03-06T04:44:57Z
2024-02-10T04:06:20Z
null
1
0
7
0
0
3
null
null
TypeScript
thanawat1303/PROJECT-GAP
main
# PROJECT-LINE-OA-GAP React ### Install Project - Package-json - windows ``` cp .\package-json\package.json . #windows ``` - Linux ``` cp package-json/package.json . #Linux ``` - Packages ``` npm i express nodemon dotenv webpack-dev-middleware cookie-parser express-session helmet mysql mysql2 uuid npm i react react-dom resize-observer-polyfill sass-loader sass css-loader style-loader @pmmmwh/react-refresh-webpack-plugin react-refresh npm i webpack-hot-middleware webpack webpack-cli webpack-dev-server npm i html-webpack-plugin babel-loader @babel/preset-env @babel/core @babel/plugin-transform-runtime @babel/preset-react babel-eslint @babel/runtime pm2 npm install multer npm i @line/bot-sdk #api line npm i @line/liff npm install @google/maps npm i @react-google-maps/api npm install google-map-react npm i socket.io socket.io-client npm i typescript npm install exifr npm i --save-dev @types/mysql @types/react @types/webpack-hot-middleware @types/webpack @types/cookie-parser @types/express-session @types/multer npm i ngrok npm i file-saver sheetjs-style npm i ts-node npm i @react-pdf/renderer npm install jspdf jspdf-autotable npm i wordcut thai-wordcut npm i axios npm install thaidatepicker-react ``` - Init env ``` npm run init-env ``` or ``` node InitEnv/setupEnv.js ``` - Install Database - SQL/main/Structure Database.sql - setup user admin ``` INSERT INTO `admin` (username , password , phone , address) VALUES ('--username--' , SHA2('--password--', 256) , '--number phone--' , POINT(0000 , 0000)) ``` ### Build Project - After install packages and .env ``` npm run build ``` ### Start Server - Development - First step , start host of application by ngrok ``` npm run server-ngrok ``` - Next step , start application ``` npm run server-dev ``` - Product pm2 - start ``` npm run server 'username-db' 'password-db' ``` - restart ``` npm run server-restart ``` - stop ``` npm run server-stop ``` - Product Foreground ``` npm run server-node 'username-db' 'password-db' ``` ### Tool and Technical - Fontend - React library - Google maps API - Scss - Backend - Expressjs - Web-socket - Bot-line-SDK - SQL - Tool - LINE Bot Designer
This is Web Application by React for Royal Project
css,javascript,nodejs,react,webpack,babel,express,socket-io,api,er-diagram
2023-03-06T09:37:39Z
2023-12-17T07:48:24Z
null
6
0
499
0
2
3
null
null
JavaScript
Hire-Hoffee/Telegram-ChatGPT
main
# Telegram Chat Bot with ChatGPT features ### [Link to bot](https://t.me/chatting_gpt3_bot) <br/> ![Dark theme](https://i.imgur.com/sqAjUqA.png "Dark theme") #### Usage - `git clone` - `npm install` - add `.env` file with `OPENAI_TOKEN`, `BOT_TOKEN` and `GOOGLE_SHEET` strings - you will also need google bot and credentials, you can create them on Google Cloud Platform - `npm run pm_start` for staring the project P.S. - [OpenAI token](https://platform.openai.com/account/api-keys) - [Telegram token](https://core.telegram.org/bots/tutorial) - [Google Spreadsheet token](https://theoephraim.github.io/node-google-spreadsheet/#/?id=the-basics:~:text=%3Cthe%20sheet%20ID%20from%20the%20url%3E) - [Google credentials](https://theoephraim.github.io/node-google-spreadsheet/#/getting-started/authentication)
Telegram bot with ChatGPT functionality.
chatgpt,javascript,nodejs,telegram-bot,openai
2023-03-02T20:44:20Z
2024-05-13T20:29:13Z
null
1
1
62
1
0
3
null
null
JavaScript
arup99-glitch/Scoreboard
main
# Scoreboard Scoreboard using Redux and Raw Javascript. Site Link : https://scoreboardreduxjs.netlify.app/
Scoreboard using Redux and Raw Javascript
javascript,redux
2023-02-28T08:33:42Z
2023-02-28T13:12:17Z
null
1
0
2
0
0
3
null
null
CSS
mikeozero/StockChart
main
# <font color="steelblue">StockChart</font> ### Introduction: A Interactive Visualization of Stocks Information. #### mainpage: ![](https://s1.ax1x.com/2023/02/25/ppSBsqU.png) #### structure: ![](https://s1.ax1x.com/2023/02/25/ppSBRi9.png) #### visualization: ![](https://s1.ax1x.com/2023/02/25/ppSBWGR.png) #### options: ![](https://s1.ax1x.com/2023/02/25/ppSBhxx.png) #### tooltips: ![](https://s1.ax1x.com/2023/02/25/ppSBfR1.png)
A Interactive Visualization of Stocks Information
echarts,flask,javascript,pandas-datareader,python,ta-lib,dashboard
2023-02-25T04:30:13Z
2023-02-25T06:03:59Z
null
1
0
6
1
1
3
null
MIT
TypeScript
aidenkoog/video-player-sample
master
# Notice - As of October 18, 2023, this repository will no longer be maintained. ## React Player Example #### Summary This project utilizes the React-player library to play video data from multiple source types and provides the ability to test video controls. - Language: Javascript - Library: React (A library for creating user interfaces.) - Structure Summary - ✨ assets - ✨ configs - ✨ domain - ✨ models - ✨ usecases - ✨ data - ✨ repositories - ✨ sources - ✨ ui - ✨ components - ✨ containers - ✨ home - ✨ intro - ✨ utils ## Release Note - 2023/03/02: Initialized project source code. - 2023/03/02: Added .gitignore file. - 2023/03/02: Added license.md / react-player.md file. #### How To Setup Environment It's mandantory to set up the development environment and build the app by following the instructions below: - Visit https://ko.reactjs.org/ - npx create-react-app PROJECT_NAME - yarn install - npm start #### Link: If you are interested in information about me or other activities, please access the link below. | **Page** | **LINK** | | --------------- | ---------------------------------------------------- | | **Github page** | [https://aidenkoog.github.io/] | | **LinkedIn** | [https://www.linkedin.com/in/dongwan-koo-2041bb13b/] |
Play video data from multiple source types and provides the function to test video controls.
css,html,html-css-javascript,javascript,react,react-player,video-player
2023-03-02T07:00:47Z
2024-02-10T04:11:50Z
null
1
0
7
0
0
3
null
null
JavaScript
Eulith/client-js-docs-and-samples
master
# Samples for Eulith Web3js client libraries ## Setup `npm i` ## Build `npm run build` When you run the build command, the typescript output will end up in `./build` ## Run a specific example `node build/<example_you_would_like_to_run>.js`
Sample code for creating web3js based clients to access Eulith services
arbitrage-bot,decentralized-exchange,defi,javascript,quantitative-finance,typescript
2023-03-09T19:48:59Z
2024-01-04T15:52:28Z
null
4
0
29
0
0
3
null
null
TypeScript
NEWESTERS/hacknote-js
master
# Hacknote.js ![Hacknote.js](./public/images/logo.png) Репозиторий со статьями для Telegram-канала [Hacknote.js](https://t.me/hacknote_js).
null
astrojs,blog,css,javascript,typescript
2023-02-25T14:30:37Z
2024-05-06T15:21:24Z
null
1
17
43
0
0
3
null
null
MDX
patrykkawiak/Honda-WebSite
main
null
My very first website, existing on my profile only for contrast to my latest projects
html5,css3,sass,javascript,training-website,mobile-friendly
2023-03-07T17:53:51Z
2023-03-07T17:56:38Z
null
2
0
1
0
2
3
null
null
SCSS
Manas0916/CodeCampus
master
Link to website - https://codecampus363.firebaseapp.com/ # Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). ## Available Scripts In the project directory, you can run: ### `npm start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in your browser. The page will reload when you make changes.\ You may also see any lint errors in the console. ### `npm test` Launches the test runner in the interactive watch mode.\ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `npm run build` Builds the app for production to the `build` folder.\ It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.\ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. ### `npm run eject` **Note: this is a one-way operation. Once you `eject`, you can't go back!** If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own. You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it. ## Learn More You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). To learn React, check out the [React documentation](https://reactjs.org/). ### Code Splitting This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) ### Analyzing the Bundle Size This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) ### Making a Progressive Web App This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) ### Advanced Configuration This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) ### Deployment This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) ### `npm run build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
An online learning website dedicated to helping students learn how to code. Our mission is to provide a supportive and engaging learning environment that empowers students to achieve their goals and build a brighter future.
boostrap5,javascript,jsx,react,react-hooks,react-router,reactjs
2023-03-03T14:01:16Z
2023-04-06T10:06:44Z
null
2
0
51
0
1
3
null
null
JavaScript
Jaguilera23/StarsUp
main
![logo](https://github.com/Jaguilera23/StarsUp/blob/main/assets/logos/company.svg) # CryptoExchange MultiPage This is the final project I completed for the frontend course at [CoderHouse](https://www.coderhouse.es/?utm_term=coderhouse&utm_campaign=0&utm_source=google_search_brand&utm_medium=cpc&gclid=Cj0KCQjw8qmhBhClARIsANAtbofTiZZCHzIytoPyUPvCFmzL2ODsF1gAwTUmOu1itlChMJlrZy3MPzIaAhnTEALw_wcB). t is a multi-page web page for a crypto exchange, which includes a dashboard and a brandbook. So far, the project has only been designed, but you can appreciate the structure and visual design that has been planned for the platform. ## Features This project simulates a crypto exchange site that allows users to perform cryptocurrency exchanges. It has been created with a multi-page structure that allows navigation through different sections of the platform, including a dashboard with information about transactions and account balance.<br> <br> Additionally, a brandbook has been created that defines the colors, typographies, and visual elements that will be used on the platform, with the aim of maintaining a consistent and recognizable visual identity. ## Technologies To develop this project, HTML, CSS, and JavaScript were used, as well as Sass and Bootstrap to enhance the efficiency of the development process. Sass allowed for more efficient and modular styling, while Bootstrap facilitated the creation of a responsive and high-quality design. ## Design If you want to take a look at the page design file in Figma, you can access it at the following link: * [StarsUp Figma](https://www.figma.com/community/file/1220837330344651063) If you want to see the design system used in this project, you can access the following link: * [Brandbook ID](https://stars-up-jaguilera23.vercel.app/brandbook-id/technology.html) ## Installation No installation is required to view the web page as it is hosted on a server. You can access the web page from any of the following links: [StarsUp Vercel](https://stars-up-jaguilera23.vercel.app/index.html) [StarsUp GitHub](https://jaguilera23.github.io/StarsUp/) ## Contribution If you wish to contribute to this project, you are welcome to do so! You can fork the repository and submit your pull requests with your changes. I will be happy to review your contributions and discuss how we can improve the platform together. If you're not sure how to do it, follow these steps: 1. Visit the main repository page on GitHub: https://github.com/Jaguilera23/StarsUp 2. Click the "Fork" button in the upper right corner of the page. This will create a copy of the repository in your GitHub account. 3. Clone the repository from your GitHub account to your local machine using one of the following methods: * [https://github.com/Jaguilera23/StarsUp.git](https://github.com/Jaguilera23/StarsUp.git) * GitHub CLI: gh repo clone Jaguilera23/StarsUp * Download the repository in ZIP format using the "Code" button on the main repository page. 4. Create a new branch (**git checkout -b new-functionality**) to make your changes. 5. Make your changes in the created branch and commit them (**git commit -m "Add new functionality"**). 6. Push your changes to the original repository by pushing the created branch (**git push origin new-functionality**). 7. Create a pull request on the original repository page for your changes to be reviewed and considered for incorporation into the project. Remember to follow good development practices and document your changes well to facilitate the review and acceptance process. Thank you for your contribution! ## Supported Browsers * Google Chrome * Mozilla Firefox * Safari ## Responsiveness The designed web page is fully responsive, meaning it adapts to different screen sizes and devices. This has been made possible by using Bootstrap, which has allowed for creating a design that automatically adjusts to the characteristics of each device. ## Author This project has been created by Jose Aguilera as part of the Web Development course offered by [CoderHouse](https://www.coderhouse.es/?utm_term=coderhouse&utm_campaign=0&utm_source=google_search_brand&utm_medium=cpc&gclid=Cj0KCQjw8qmhBhClARIsANAtbofTiZZCHzIytoPyUPvCFmzL2ODsF1gAwTUmOu1itlChMJlrZy3MPzIaAhnTEALw_wcB). If you have any questions or suggestions about the project, you can contact me via email at admaguilera23@gmail.com or through my [linkedin](https://www.linkedin.com/in/joseaguilerarioboo/) .
StarsUp CryptoExchange MultiPage is a user-friendly web app for seamless cryptocurrency trading. It features a responsive dashboard, transaction info, and an attractive brandbook. Built with HTML, CSS, JavaScript, Sass, and Bootstrap, it supports major browsers, welcomes contributions, and highlights Jose Aguilera's expertise. Visit the repository
bootstrap5,ccs3,git,github,html5,javascript,sass,vercel-deployment
2023-03-01T17:36:42Z
2023-06-27T17:49:39Z
null
1
0
88
0
0
3
null
Apache-2.0
HTML
amirhoseinarjmand/Counting-points
main
یک اسکریپت ساده ی جاوااسکریپت، برای شمارش تعداد نقاط موجود در جمله
یک اسکریپت ساده ی جاوااسکریپت، برای شمارش تعداد نقاط جملات
css,html,javascript
2023-03-06T16:36:51Z
2023-03-06T17:42:30Z
null
1
0
5
0
0
3
null
null
JavaScript
therealtmmy/Quotes-Generator
main
# Quotes-Generator [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![first-timers-only](https://img.shields.io/badge/first--timers--only-friendly-blue.svg?style=flat-square)](https://www.firsttimersonly.com/) Contributing to an open source project for the first time can be a scary thing. The goal of this repo is to help you take your first steps as an open source contributor by developing a simple (but hopefully fun) quotes-generator. 💖 #### Try the live version of the game: https://quotes-generator-pink.vercel.app/ ## Who can contribute? Everyone can! (and I mean everyone) 💫 💻 **You don’t have to contribute code**. Add a new quote with author, fix a typo, report a bug, add some documentation, do some re-design or add a translation. This project just like most open source projects are in need of all sorts of different contributions. Not just code. 🌟 **You are good enough** Start off easy by fixing something small (like adding a new quotes). This will help you orient yourself in the project and increase your confidence and experience. No one will judge you if you make a mistake, and you can't break anything! Ask for some pointers if you get stuck. You got this! The only thing that is required to get started is git. Make sure you have it installed on your computer by running `git --version` in your terminal. If you do not have git installed, [install it](https://help.github.com/articles/set-up-git/). ## Why contribute to open source? When you contribute to Open Source, you are taking part in the collaborative effort of a vast community of passionate developers and contributors! Open Source software allows you to see, use, and more importantly modify its source code. Contributing to Open Source is a great way to develop a deeper understanding of software, and the best part is being able to learn and teach alongside a community of contributors. ## How to contribute Follow this step-by-step guide to make your first open source contribution. The steps you will perform in this guide is a somewhat standard workflow that you will encounter in most projects: `Fork -> Clone -> Create a branch -> Make your changes -> Add Changes -> Commit -> Push Changes` ### 1. Fork The first step is to create a fork of this repo. Do so by clicking on the fork button on the top of this page. A fork is basically your own working copy of this repository. <img src=".github/fork.png" alt="Forking the repo" /> ### 2. Clone The next step is to clone the forked repo to your machine. Go to your GitHub repositories and open the forked repository called Rebus (_forked from ollelauribostrom/rebus_). Click on the "Clone or download" button and then click the copy to clipboard icon to get your url. <img align="right" width="300" src=".github/clone.png" alt="Cloning the repo" /> Finally run the following git command in your terminal: ```sh git clone "the copied url" ``` ### 3. Create a branch Create a branch on your machine ```sh git switch -c <your new branch> ... ...sh > Note: Replace `<your-new-branch>` with something that describes the changes you are about to make ``` ### 4. Make your changes Now it's time to make your changes. Let's add a new quotes. 1. Open the file `src/script.js` in your favourite editor (preferable VSCode 😉). 1. Add a new quote to the end of the `quotes` array. 1. Save the file when you are done. ### 5. Add Changes Initailize new changes by writing these command on your terminal ```sh git add <the section of the file you made changes to> ``` ### 6. Commit changes to the main branch Commit your change to the main branch by running ```sh git commit -m "Your message" ``` ### 7. Push your changes to Github Push your changes to GitHub by running: ```sh git push origin <your-new-branch-name> ``` > Note: Replace `<your-new-branch-name>` with the name of your branch ### 8. Open a Pull Request Head over to your repository on GitHub and click on the green "Compare and pull request" button. <img src=".github/pr.png" alt="Compare and pull request" /> Describe your changes and submit your pull request <img src=".github/pr2.png" alt="Submit pull request" /> ## What's next? 🎉 Congratulations 🎉 You just took your first step as an open source contributor. Your pull request will be reviewed as soon as possible. Please read the full text so that you can understand what actions will and will not be tolerated. Please kindly remember to star this repo. Thank you for your contribution. ## License Licensed under the MIT License.
The Quotes-Generator repository is a web application that generates inspirational quotes to uplift and motivate users. With a simple click, users can receive a random quote displayed on the screen, providing a source of inspiration and positivity. The Quotes-Generator project serves as a simple yet impactful tool for spreading positivity.
beginner-friendly,open-source,javascript,good-first-issue
2023-03-03T14:51:11Z
2023-08-05T20:34:35Z
null
3
12
31
0
3
3
null
MIT
JavaScript