Skip to content

Instantly share code, notes, and snippets.

ArrayList[][] gridList = new ArrayList[300][150];
#include <vector>
#include <array>
std::array< std::array< std::vector<T>, 150>, 300> gridList;
@chw2054
chw2054 / docker-stop-containers
Created June 17, 2015 14:04
Stop / remove all Docker containers
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?title
FROM <http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf>
WHERE { ?s dc:title ?title .}
<#
.SYNOPSIS
Reset-WindowsUpdate.ps1 - Resets the Windows Update components
.DESCRIPTION
This script will reset all of the Windows Updates components to DEFAULT SETTINGS.
.OUTPUTS
Results are printed to the console. Future releases will support outputting to a log file.
- hosts: localhost
tasks:
- name: List all subscription
azure_cli: account list
register: result
- debug:
msg: "{{result.meta[0].name}}"
- name: List all VMs
azure_cli: vm list
register: result