One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Hyper-V in Windows 10 and Windows 11 allows running Virtual Machine. It is supported only in Pro, Enterprise and Education Edition of Windows 10 and Windows 11 by default. But this guide will show you how to enable it in Home Editions of Windows 10 and Windows 11.
Command Prompt
in Windows Start Menu and open it.systeminfo
and press Enter. Wait for the process to finishHyper-V Requirements
section which is usually the last one.
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
that means Hyper-V is already enabled and there is no reason following this guide anymore.Virtualization Enabled in Firmware:
.This is a guide that should teach you how to perform basic lexing in a functional programing language.
Everything was written in Elixir, but you should be able to follow it if you are using any functional programming language.
Or even an imperative programming language like Python, C or Java.\
The first question you should ask yourself is, what is lexing? It's the same as tokenising, scanning or lexical analysis.
That might not help you if you haven't heard of these either. Put simply, lexing is the process of breaking down a string
into meaningful units, indepdendent of context. What a lexer will do is make the following happen:
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "ContactPage", | |
"mainEntityOfPage": { | |
"@type": "WebPage", | |
"@id": "{{CONTACT PAGE URL}}" | |
}, | |
"publisher": { | |
"@type": "LocalBusiness", |
from tqdm import tqdm | |
from tqdm.utils import CallbackIOWrapper | |
file_path = os.path.abspath(__file__) | |
upload_url = https://some-bucket.s3.amazonaws.com | |
file_size = os.stat(file_path).st_size | |
with open(file_path, "rb") as f: | |
with tqdm(total=file_size, unit="B", unit_scale=True, unit_divisor=1024) as t: | |
wrapped_file = CallbackIOWrapper(t.update, f, "read") |
#!/bin/bash | |
getAWSCredentials() | |
{ | |
hotctl sso accounts apply -a | |
hotctl sso accounts apply -n buildstaging=default | |
hotctl sso accounts apply -n buildstaging=local | |
hotctl sso accounts apply -n vulcano -r Vulcano-DevOps | |
hotctl sso accounts apply -n analytics -r Analytics-OnCall | |
} |
{ | |
// Place your snippets for dart here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
cmake_minimum_required(VERSION 2.8.3) | |
project(foo) | |
if(NOT WIN32) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") | |
endif() | |
# find dependencies |