Skip to content

Instantly share code, notes, and snippets.

View nndda's full-sized avatar
💤
eepy

nnda nndda

💤
eepy
View GitHub Profile
@nndda
nndda / user-tools.css
Last active May 14, 2024 13:21
Hide itch.io user tools
@media (min-width: 960px) {
.user_tools > li > a {
width: 100%;
transform: translateX(89%);
transition: .2s ease;
}
.user_tools > li > a:hover {
transform: translateX(0);
}
<div class="custom-features">
<div>
<img src="https://cdn.jsdelivr.net/gh/nndda/n/i/mobile-screen-solid.svg" loading="lazy">
Responsive layout adapts to different screen sizes
</div>
<div>
<img src="https://cdn.jsdelivr.net/gh/nndda/n/i/paint-roller-solid.svg" loading="lazy">
Automatically match your page's theme
</div>
<div>
@nndda
nndda / nnda's GitHub Stats
Last active March 17, 2024 05:19
My GitHub stats
⭐ Total Stars: 8
➕ Total Commits: 1,049
🔀 Total PRs: 25
🚩 Total Issues: 33
📦 Contributed to: 4
@nndda
nndda / gd_compile_req.sh
Last active October 4, 2023 17:12
A single shell script to get and install all the requirements for compiling Godot, for Windows, Linux, Android, and Web.
godot_tag="4.1.1-stable" # Godot 4 only
android_cmdline_dl="url" # get from https://developer.android.com/studio at "Command line tools only"
sudo apt update && sudo apt-get upgrade && \
python -m pip install scons &&\
sudo apt install \
pkg-config \
build-essential \
zip \
unzip \
@nndda
nndda / Search filter AI generated contents.md
Last active March 11, 2024 12:39
Filter AI generated contents (mostly illustrations) from Google search in Firefox, Chrome, and Edge

Google :

https://www.google.com/search?q=%s+-%22ai%20art%22+-%22ai%20generated%22+-%22ai%20stock%22+-%22generative%20ai%22+-%22midjourney%22+-site%3Aarthub.ai+-site%3Acivitai.com+-site%3Acreator.nightcafe.studio+-site%3Acrypko.ai+-site%3Agetimg.ai+-site%3Alexica.art+-site%3Aneural.love+-site%3Aopenart.ai+-site%3Aperchance.org+-site%3Apixai.art+-site%3Aplaygroundai.com+-site%3Apromeai.com+-site%3Astarryai.com+-site%3Avanceai.com+-site%3Awww.artguru.ai+-site%3Awww.artvy.ai+-site%3Awww.craiyon.com+-site%3Awww.reddit.com/r/aiart+-site%3Awww.seaart.ai+-site%3Awww.zmo.ai

Firefox

  • Add a new bookmark
  • Copy-paste the url above
  • Set the bookmark name and keyword

batch resize images with ImageMagick

magick mogrify -resize 500 -quality 100 -path ./ *.webp

@nndda
nndda / !custom-css.css
Last active May 21, 2024 10:09
My itch.io profile page (nnda.itch.io). Uncompressed.
.user_page_wrap {
--p: #e7e9e8; --t: #eaeaea;
--r: #fc3a78; --k: #eaeaea18;
--b: #17151e; --b2: #211e29;
--g1: -webkit-linear-gradient(0deg, #3ae5f9, #2a8aec);
--g2: -webkit-linear-gradient(0deg, #fc3a78, #b23ee0);
--g1: linear-gradient(90deg, #3ae5f9, #2a8aec);
--g2: linear-gradient(90deg, #fc3a78, #b23ee0);
padding-bottom: 2.5em;
}
@nndda
nndda / gd export templates in codespace.md
Last active October 2, 2023 12:22
Compiling Export Template for Godot in GitHub Codespace

Compiling Export Template for Godot in GitHub Codespace

Quick & simplified steps on how to do that (my laptop is weak)


Create new codespace

Create new... > New codespace, or https://github.com/codespaces/new