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
@Adriem
Adriem / milight.md
Created January 13, 2019 20:18 — forked from subdavis/milight.md

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

--
-- for command line osascript ./vpn_run.scpt and add permission to "security & privacy"
--
activate application "Cisco AnyConnect Secure Mobility Client"
tell application "System Events"
repeat until window 1 of process "Cisco AnyConnect Secure Mobility Client" exists
end repeat
tell process "Cisco AnyConnect Secure Mobility Client"
@Adriem
Adriem / install_gradle.sh
Created February 24, 2016 21:35 — forked from six519/install_gradle.sh
Install / Update Gradle Script (Tested In Fedora 20/CentOS 7)
#!/usr/bin/env bash
: '
Tested
======
Fedora 20
CentOS 7
What?
=====
@Adriem
Adriem / gist:48abb5d38ee569978c14
Created February 24, 2016 12:14 — forked from djs070/gist:4570480
Install NVM & Node 0.8.17 on Fedora/CentOS
# install git
yum install git -y
# get nvm
git clone git://github.com/creationix/nvm.git ~/nvm
# activate nvm
@Adriem
Adriem / gh-pages-deploy.md
Created February 14, 2016 14:32 — forked from cobyism/gh-pages-deploy.md
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).