Skip to content

Instantly share code, notes, and snippets.

View adrianofinco's full-sized avatar
👀
Looking for a job

Adriano Lourenço adrianofinco

👀
Looking for a job
  • Brasil
View GitHub Profile
@bvandenbon
bvandenbon / redirect-locale.html
Last active November 12, 2025 10:17
a landing page in html+js, which detects language (possibly cached) and redirects.
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
//////////////
/// CONFIG ///
//////////////
var defaultLocale = 'en';
@KaKi87
KaKi87 / awesome-android-x3Free.md
Last active January 17, 2026 14:07
Awesome list — Free, ad-free and in-app-free Android apps

Now mirrored at blog.kaki87.net


Inspired by Awesome

Awesome

DISCLAIMER : this isn't really an awesome list, I don't care about guidelines, rules and etc. so I don't bother make a real repo and a real pull request.

@paulirish
paulirish / bling.js
Last active February 27, 2026 04:33
bling dot js
/* bling.js */
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); };
NodeList.prototype.__proto__ = Array.prototype;
NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); };
@cobyism
cobyism / gh-pages-deploy.md
Last active February 17, 2026 22:18
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

@s7ephen
s7ephen / Powershell change wallpaper
Created November 24, 2010 17:20
How to change the desktop wallpaper from powershell.
set-itemproperty -path "HKCU:Control Panel\Desktop" -name WallPaper -value accipiter.png