Clone the OpenVPN repository (master or checkout a TAG to build stable release)
$ git clone https://github.com/OpenVPN/openvpn.git
Install dependencies with HOMEBREW
$ brew install automake autoconf libtool pkg-config libressl openssl lzo lz4
| # add it before the <ca> around line 20 | |
| # of your downloaded ovpn file | |
| script-security 2 | |
| up "/users/{home}/connect.sh" | |
| down "/users/{home}/disconnect.sh" |
| // ***************************************************************** | |
| // DEPENDENCIES | |
| import fs from 'fs'; | |
| import path from 'path'; | |
| import gulp from 'gulp'; | |
| let use = taskname => require(`./tasks/gulp.${taskname}`); | |
| let createTask = elem => gulp.task.apply(gulp, elem); |
| isScrolledIntoView = (elem) -> | |
| docViewTop = $(window).scrollTop() | |
| docViewBottom = docViewTop + $(window).height() | |
| elemTop = $(elem).offset().top | |
| elemBottom = elemTop + $(elem).height() | |
| (elemBottom - 200 < docViewBottom) and (elemBottom + $(elem).height() > docViewBottom ) |
| #!/bin/bash | |
| echo "" | |
| echo -n "$(tput setaf 1)What script you'd like to launch? $(tput bold)[C = Cropped/N = Normal] $(tput sgr 0)" | |
| read script | |
| if [ "$script" = "n" ]; then | |
| cat resolutions|pageres localhost:3000 | |
| else | |
| cat resolutions|pageres localhost:3000 -c |
| ## http://www.paulirish.com/2009/throttled-smartresize-jquery-event-handler/ | |
| ## --------------------------------------------- | |
| ## debouncing function from John Hann | |
| ## http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ | |
| # | |
| # (function($,sr){ | |
| # var debounce = function (func, threshold, execAsap) { | |
| # var timeout; | |
| # return function debounced () { | |
| # var obj = this, args = arguments; |
| # LINE 5781 change with | |
| # then proceed as usual after a make distclean | |
| vi_cv_path_python_plibs="-F/opt/local/Library/Frameworks -framework Python" |
| #!bin/bash | |
| make clean | |
| make distclean | |
| ./configure --enable-multibyte --with-tlib=ncurses --with-features=huge --enable-rubyinterp --enable-luainterp --enable-pythoninterp --with-lua-prefix=/usr/local --enable-gui=no --without-x --disable-netbeans [email protected] --enable-fail-if-missing |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| coffee: { | |
| compileJoined: { | |
| options: { | |
| join: true | |
| }, | |
| files: { | |
| 'js/app.js': ['coffeescripts/app.coffee', 'coffeescripts/*.coffee'] |
| // FIX FOR SAFARI FONTS GOING CRAZY WITH TRANSITIONS AND FIXED ELEMENTS | |
| body | |
| -webkit-font-smoothing: subpixel-antialiased | |
| -webkit-transform: translateZ(0) |