Skip to content

Instantly share code, notes, and snippets.

View Adriem's full-sized avatar
:shipit:
Making javascripts

Adrián Moreno Adriem

:shipit:
Making javascripts
View GitHub Profile
@subdavis
subdavis / milight.md
Last active September 25, 2022 20:13

Setting up MiLight Wifi Bridge and LimitlessLED bulbs with Amazon Alexa and Home Automation Bridge

Goal of this tutorial

Be able to control MiLight bulbs with Amazon Alexa via the MiLight Wifi Bridge.

Materials

@Fonserbc
Fonserbc / EdgeCollider2DEditor.cs
Last active April 19, 2020 10:48
A small editor script for Unity3D to edit EdgeCollider2D points on editor
using UnityEditor;
using UnityEngine;
using System;
public class EdgeCollider2DEditor : EditorWindow {
[MenuItem("Window/EdgeCollider2D Snap")]
public static void ShowWindow() {
EditorWindow.GetWindow (typeof(EdgeCollider2DEditor));
}
@six519
six519 / install_gradle.sh
Created February 10, 2015 08:15
Install / Update Gradle Script (Tested In Fedora 20/CentOS 7)
#!/usr/bin/env bash
: '
Tested
======
Fedora 20
CentOS 7
What?
=====
@cobyism
cobyism / gh-pages-deploy.md
Last active May 6, 2024 08:07
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).