Skip to content

Instantly share code, notes, and snippets.

View Mikesnorth's full-sized avatar

MikeNorth Mikesnorth

  • Other Buckets
  • Cincinnati
View GitHub Profile
@Mikesnorth
Mikesnorth / gist:598ffe42f6335f917992
Created October 10, 2014 01:41
I hope this helps you
import java.util.ArrayList;
public class PermutationGenerator {
public static void main(String[] args) { // entry point for the program
for(int i=1; i<=10; i++) { // outer loop, this is going to run 10 times
ArrayList<Integer> numbers = new ArrayList<Integer>(); // creates an empty arraylist of integers inside the outer loop
function generateContent() {
console.log('generating content')
var map;
var userLocation = getLocation();
var mapOptions = {
zoom: 12,
center: userLocation
}
console.log(mapOptions.center);
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);