Skip to content

Instantly share code, notes, and snippets.

View yosoymitxel's full-sized avatar
🏠
Working from home

Mitxel Code yosoymitxel

🏠
Working from home
View GitHub Profile
@otgo
otgo / activar_windows.cmd
Last active October 10, 2024 01:16
Windows 10 Activator - Activador de Windows 10
@echo off
setlocal
:: Por @otgo https://github.com/otgo
for /f "tokens=2 delims==" %%G in ('wmic os get Caption /value') do (
if not defined VersionDeWindows set VersionDeWindows=%%G
)
:: Error si no tienes Windows 10
if "x%VersionDeWindows:Windows 10=%" == "x%VersionDeWindows%" (
echo No se detecto que tengas Windows 10 instalado en tu sistema
pause
@TriForceX
TriForceX / ldk-screen-upgrade.md
Last active September 13, 2021 13:27
LDK Screen Upgrade

LDK Screen Upgrade

The next guide is to replace/upgrade the LDK Game console screen for a bigger one. Thanks to Tbox for this.
Note: There will be a little bit of backlight bleed on the sides but only really noticeable in the dark.

Materials

  • LCD screen (buy)
  • Protector film (buy)
  • Screwdriver
  • Dremel or knife
  • Tape
@ricardozea
ricardozea / Smooth scroll to top of page.markdown
Last active May 12, 2024 12:12
Smooth scroll to top of page

Visit the new improved script here! Smooth scroll to top of page (Improved!)


Smooth scroll to top of page (Legacy!)

If you need a plain JavaScript function to add a smooth scrolling back to the top of the page, you can use this script.

  1. Add an id of "top" to the <body> tag. Like this: <body id="top">
  2. Add the onclick function to the link. Like this: <a href="#top" onclick="scrollToTop(); return false">Back to Top ↑</a>