Skip to content

Instantly share code, notes, and snippets.

View alixti's full-sized avatar
🎯
Focusing

Diego Muñoz alixti

🎯
Focusing
View GitHub Profile
@Dakedres
Dakedres / README.md
Last active May 2, 2025 18:29
A Windows 95/98 styled scrollbar for https://windows93.net

Install

Please note, this stylesheet may not work on all browsers, as the CSS scrollbar API is not standardized.

1.1.0

  • Made the checkerboard pattern translucent.
@jcherven
jcherven / WindowsSystemFont-RestoreSegoeUI.reg
Created December 31, 2019 16:48
Restore Segoe UI as the Windows 10 system UI font (rolls back changes from companion script)
Windows Registry Editor Version 5.00
; This is a companion script for https://gist.github.com/jcherven/42b84294248674c29eb50cb711114315
; Rolls back changes made by the above registry patch script
; Don't edit this file; save and double click to run.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"="segoeui.ttf"
@vosidiy
vosidiy / basic.html
Created December 12, 2019 15:25
Offcanvas collapse
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-trigger="#main_nav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse" id="main_nav">
<div class="offcanvas-header mt-3">
<button class="btn btn-outline-danger btn-close float-right"> &times Close </button>
<h5 class="py-2 text-white">Main navbar</h5>
</div>
@NewEraCracker
NewEraCracker / antiNSA.bat
Last active January 10, 2024 12:30
antiNSA.bat
@REM
@REM Absolute Computrace/Lojack/BeeInject Disabler
@REM
@REM Works around the Ring -3 Bootkit part of
@REM NSA/TAO and CIA/IOC Framework
@REM
@REM This tool will backup original Computrace/Lojack files,
@REM disable the services and then add dummy read-only copies.
@REM
@REM Edited to strengthen protection against removal
@danferth
danferth / .htaccess
Created September 29, 2018 00:07
My standard htaccess file
# ######################################################################
# This below is extracted from the HTML5 boilerplate htaccess file. #
# ######################################################################
#
# Apache Server Configs v3.0.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# (!) Using `.htaccess` files slows down Apache, therefore, if you have
# access to the main server configuration file (which is usually called
# `httpd.conf`), you should add this logic there.
@amboutwe
amboutwe / wordpress_robots_custom.php
Last active April 2, 2025 14:22
Filters and example code for Yoast SEO robots or WP robots.txt
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/*
* Replace Disallow with Allow Generated Robots.txt
* Credit: Unknown
* Last Tested: June 09 2020 using WordPress 5.4.1
*/
add_filter('robots_txt','custom_robots');
@edgardo001
edgardo001 / nacionalidad.sql
Created September 29, 2016 20:08
Insert SQL de nacionalidades, gentilicios e ISO de cada pais
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Afganistán','AFGANA','AFG');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Albania','ALBANESA','ALB');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Alemania','ALEMANA','DEU');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Andorra','ANDORRANA','AND');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Angola','ANGOLEÑA','AGO');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('AntiguayBarbuda','ANTIGUANA','ATG');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('ArabiaSaudita','SAUDÍ','SAU');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Argelia','ARGELINA','DZA');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Argentina','ARGENTINA','ARG');
INSERT INTO`nacionalidad`(`PAIS_NAC`,`GENTILICIO_NAC`,`ISO_NAC`)VALUES('Armenia','ARMENIA','ARM');
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active June 18, 2025 09:58
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@danallison
danallison / downloadString.js
Created September 29, 2014 16:44
download string as text file
function downloadString(text, fileType, fileName) {
var blob = new Blob([text], { type: fileType });
var a = document.createElement('a');
a.download = fileName;
a.href = URL.createObjectURL(blob);
a.dataset.downloadurl = [fileType, a.download, a.href].join(':');
a.style.display = "none";
document.body.appendChild(a);
a.click();