Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
Discover gists
import os | |
# Modify this path as per the execution environment | |
os.environ['GIT_PYTHON_GIT_EXECUTABLE'] = r"C:\Program Files\Git\bin\git.exe" | |
import uuid | |
import git | |
import shutil | |
from git import RemoteProgress | |
from azure.storage.blob import BlobServiceClient |
mkdir c:\github | |
winget install --id=Git.Git -e --accept-package-agreements --accept-source-agreements | |
winget install --id=Microsoft.VisualStudioCode -e | |
winget install --id=AgileBits.1Password -e | |
winget install --id=7zip.7zip -e | |
winget install --id=Twilio.Authy -e | |
winget install --id=Bethesda.Launcher -e | |
winget install --id=Microsoft.Bicep -e | |
winget install --id=Microsoft.bitsmanager -e | |
winget install --id=BrutalChess.BrutalChess -e |
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.
Run RISC-V Debian GNU/Linux bullseye/sid via QEMU.
- Run the latest version of Debian on regular x86_64 box (at least ver 10 Buster, better to run ver 11 Bullseye)
- If
opensbi
andu-boot-qemu
packages are not found addtesting
apt repository (aka bullseye). Or evenunstable
(aka sid)
sudo vi /etc/apt/sources.list
# Add testing repo (or unstable)
deb http://cdn-aws.deb.debian.org/debian testing main
deb-src http://cdn-aws.deb.debian.org/debian testing main
using System; | |
using Godot; | |
// based on https://www.youtube.com/watch?v=KPoeNZZ6H4s | |
// written with generics because repeating code sucks | |
// rough explanation of the parameters: | |
// -------------- | |
// f is the frequency of the system, in hz | |
// things will move faster if this is high basically |
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
// Useful JavaScript to make a simple table of links from an open page using the browser Inspector console. | |
// https://www.datablist.com/learn/scraping/extract-urls-from-webpage | |
var x = document.querySelectorAll("a"); | |
var myarray = [] | |
for (var i=0; i<x.length; i++){ | |
var nametext = x[i].textContent; | |
var cleantext = nametext.replace(/\s+/g, ' ').trim(); | |
var cleanlink = x[i].href; | |
myarray.push([cleantext,cleanlink]); |