- Place android.rules, Vagrantfile and bootstrap.sh in a new directory.
- cd to the directory you created
- Call vagrant up
- Follow instructions after bootstrap script finishes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ag $needle -l --print0 | xargs -0 -n 1 sed -i "" "s/$needle/$replacement/g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nothing to see here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.apply(null, Array(5)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
void printHeader() | |
{ | |
cout << "Letter\t" << "ASCII\t" << "Hex\t\t" << "Address\t\n"; | |
cout << "---------------------------------------\n"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class App.ArrayCombineSum Extends %RegisteredObject | |
{ | |
ClassMethod createKey(array, keys) As %String | |
{ | |
set output = "" | |
set index = keys.Next("") | |
while (index) { | |
set key = keys.GetAt(index) | |
set value = array.GetAt(key) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Combine elements of an array based on the provided keys, optionally summing specified properties | |
* @param data | |
* @param keys | |
* @param sum | |
* @returns array | |
*/ | |
var arrayCombineSum = function(data,keys,sum) { | |
/** |