Skip to content

Instantly share code, notes, and snippets.

View kevcjones-archived's full-sized avatar
👾
Reach out to me, happy to help anyone

Kevin C Jones kevcjones-archived

👾
Reach out to me, happy to help anyone
View GitHub Profile
sudo xcodebuild -license
xcode-select --install # There will be a GUI prompt
sudo cpan SVN::Core # use the "sudo" method when prompted
# Then add this to your ~/.profile:
# export PATH=/Library/Developer/CommandLineTools/usr/bin:$PATH
# Then probably:
brew reinstall git
brew reinstall subversion

Google+ JavaScript Community FAQs

These are frequently asked question in the JavaScript Community.

  1. How do I do thing in Java?

That's a great question! Please find a Java community on Google+ to ask. JavaScript is not the same as Java. Here's a good explanation of the differences between Java and JavaScript: http://www.dannyg.com/ref/javavsjavascript.html.

@kevcjones-archived
kevcjones-archived / yeoman-ember-jasmine-consolereporting
Created January 10, 2013 17:03
Setting up Yeoman with Ember and Jasmine - Workaround needed Also adding a reporter for more output in the phantomJS console.
*I found Yeoman wanted to use Mocha regardsless of the --test-framework i passed in*
$ yeoman init ember
$ yeoman init jasmine:app --force
*Then edit the grunt.js*
//line 50 - replace mocha with jasmine...
mocha: {
all: ['test/**/*.html']
@kevcjones-archived
kevcjones-archived / yeoman-ember-handlebars-setup
Last active December 10, 2015 23:48
yeoman-ember-handlebars not quite as simple if your using YEOMAN scaffolding - self reminder on what got me (since i'm new to grunt / npm etc etc)
The Grunt.js isn't handlebars ready - folling on from my last hiccups stuff
https://gist.github.com/4503821
//Turns out i need to hookup and write up the grunt stuff.
1. Install https://github.com/dgeb/grunt-ember-templates
2. Update the gruntfile
3. https://github.com/dgeb/grunt-ember-templates/issues/7 this was my issue, make sure you only use 0.2.0 until yeoman uses 0.4 grunt
4. https://github.com/dgeb/yeoman-ember-basic-example/ - follow these guys for setup tips and files...
@kevcjones-archived
kevcjones-archived / ssid_vpn
Last active December 20, 2015 07:49
ASUS script i need to WGET
#!/bin/sh
####### Interface Specific Settings #######
WRLSS_IF=wl0.1 # Name of the wireless interface that will be used.
WRLSS_IF_NTWK_ADDR=192.168.2.0 # Network address that the wireless interface will be on.
WRLSS_IF_INET_ADDR=192.168.2.1 # IP address that will be assigned to the wireless interface.
WRLSS_IF_NETMASK=255.255.255.0 # Netmask of the wireless network to be added.
TUN_IF=tun11 # Name of tunnel interface.
########## DHCP Specific Settings ###########
DHCP_OPT1=3 # dnsmasq option to specify router.
LS_TIME=86400s # Duration of the dhcp leases.
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 2 (0x2)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=UK, ST=NR, L=Attleborough, O=Hide My Ass! Pro, OU=VPN, CN=vpn.hidemyass.com/emailAddress=ca@hidemyass.com
Validity
Not Before: Jun 6 09:43:26 2009 GMT
Not After : Jun 4 09:43:26 2019 GMT
Subject: C=US, ST=CA, L=SanFrancisco, O=VPNUser, OU=User, CN=hmauser/emailAddress=user@hidemyass.com
# the admin password for all of the IE VMs is “Password1″ without the quotes, it's also used for the password hints
1) Install VirtuaBox on your mac
http://download.virtualbox.org/virtualbox/4.1.10/VirtualBox-4.1.10-76795-OSX.dmg
2) Decide which versions of Internet Explorer you want to download and install – each version of Internet Explorer is contained within a separate virtual machine that runs within VirtualBox. In other words, if you want to run Internet Explorer 7, 8, and 9, you will need to download three separate VM’s, which may take a while so keep that in mind. Select the text below and copy it:
# Install ALL versions of Internet Explorer: IE 7, IE 8, and IE 9 (for now this script will also pull down a IE 6 vm with windows xp)
#!/bin/bash
# Created by Håvard Fossli <hfossli@gmail.com> in 2013
# This is free and unencumbered software released into the public domain.
# For more information, please refer to <http://unlicense.org/>
#
# Description
# A bash script for reversing videos using ffmpeg and sox.
#
# Keywords
@kevcjones-archived
kevcjones-archived / grunt-react-failtree
Last active January 3, 2016 06:19
grunt-react with grunt-browserify set direct to 1.3.0 fails to run, this is the tree in the folder (compare to https://gist.github.com/KevCJones/8421756)
grunt-react@0.6.0 /XXXXX/Work/GITS/grunt-react
├─┬ browserify@3.20.0
│ ├── assert@1.1.0
│ ├─┬ browser-pack@2.0.1
│ │ ├─┬ combine-source-map@0.3.0
│ │ │ ├── convert-source-map@0.3.3
│ │ │ ├── inline-source-map@0.3.0
│ │ │ └─┬ source-map@0.1.31
│ │ │ └── amdefine@0.1.0
│ │ └─┬ JSONStream@0.6.4
@kevcjones-archived
kevcjones-archived / grunt-react-successtree
Last active January 3, 2016 06:19
grunt-react with grunt-browserify set direct to 1.2.0 first and then patched does run, this is the tree in the folder (compare to https://gist.github.com/KevCJones/8421664)
grunt-react@0.6.0 /XXXXX/Work/GITS/grunt-react
├─┬ browserify@2.36.1
│ ├─┬ browser-builtins@2.0.5
│ │ ├─┬ buffer-browserify@0.2.2
│ │ │ └── base64-js@0.0.2
│ │ ├── console-browserify@1.0.3
│ │ ├── constants-browserify@0.0.1
│ │ ├── crypto-browserify@1.0.9
│ │ ├─┬ http-browserify@0.1.14
│ │ │ └── Base64@0.1.4