Skip to content

Instantly share code, notes, and snippets.

View endaye's full-sized avatar
🍌
Thinking about something

Todd Zhang endaye

🍌
Thinking about something
View GitHub Profile
@endaye
endaye / sd-default-prompt
Created May 29, 2024 19:30
sd-default-prompt
(masterpiece:1.2), best quality, highres, extremely detailed CG, perfect lighting, 8k wallpaper,
@endaye
endaye / sd-negavie-prompt
Last active May 29, 2024 19:28
sd-negavie-prompt
NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (extra legs:1.331), (fused fingers:1.5), (too many fingers:1.5), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit, bad hands, missing fingers, (((extra arms and legs))),
@endaye
endaye / photos.ts
Created February 25, 2024 18:02
some data of twitter
const photos = [
{
id: "1",
name: "Kevin Canlas",
href: "https://twitter.com/kvncnls/status/1471832344986324998",
username: "@kynenls",
imageSrc: "https://pbs.twimg.com/media/FGz_t1vWYAQSk0I?format=jpg&name=large",
},
{
id: "2",
@endaye
endaye / .gitattributes
Last active February 24, 2024 22:23
GIT LFS attributes for Godot Engine,including 2D and 3D.
# System
*.exe filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
# MS Office
*.xls filter=lfs diff=lfs merge=lfs -text
*.xlsx filter=lfs diff=lfs merge=lfs -text
*.xlsm filter=lfs diff=lfs merge=lfs -text
*.doc filter=lfs diff=lfs merge=lfs -text
@endaye
endaye / .gitlab-ci.yml
Created March 15, 2022 18:25
Godot Engine for GitLab CI/CD and GitHub Actions
# Follow the tutorial link https://youtu.be/4oUs4IV_Mj4
image: barichello/godot-ci:3.4.2
variables:
EXPORT_NAME: Godot-Test
ITCHIO_NAME: endaye/godot-test
stages:
- export
- deploy
@endaye
endaye / .deps...remix-tests...remix_accounts.sol
Created March 4, 2022 07:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
@endaye
endaye / README.txt
Created March 2, 2022 08:06
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@endaye
endaye / README.txt
Created March 2, 2022 02:46
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@endaye
endaye / README.txt
Created March 2, 2022 02:44
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@endaye
endaye / html5-canvas-animated-background-part-1.markdown
Created October 11, 2017 23:57
HTML5 Canvas Animated Background Part 1