See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
// Required Plugin: https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension | |
// settings.json | |
{ | |
// Remove left-side icons | |
"workbench.activityBar.location": "hidden", | |
// Remove bottom status bar | |
"workbench.statusBar.visible": false, | |
// Remove position indicator in the editor's scrollbar | |
"editor.hideCursorInOverviewRuler": true, |
if (window.location.origin !== "https://www.instagram.com") { | |
window.alert( | |
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.", | |
); | |
window.location.href = "https://www.instagram.com"; | |
console.clear(); | |
} | |
const fetchOptions = { | |
credentials: "include", |
import numpy as np | |
from timeit import timeit | |
def matmul_python(C, A, B): | |
for m in range(C.rows): | |
for n in range(C.cols): | |
for k in range(A.cols): | |
C[m, n] += A[m, k] * B[k, n] | |
class Matrix: |
using Random | |
using BenchmarkTools | |
function matmul_python(C, A, B) | |
for m in 1:C.rows | |
for n in 1:C.cols | |
for k in 1:A.cols | |
C[m, n] += A[m, k] * B[k, n] | |
end | |
end |
var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest; | |
const url = 'https://api.hsforms.com' | |
const endpoint = 'submissions/v3/integration/secure/submit' | |
const portalId = '26984581' | |
const formId = '53b71b97-dfdf-452e-baba-21c9adb7f63f' | |
const hapiKey = 'generated from developer panel' | |
function formv3(){ | |
// Create the new request |
#ENV["JULIA_PKG_DEVDIR"] = "C:\\Users\\aryan\\Documents\\mydev" | |
atreplinit() do repl | |
try | |
@eval using OhMyREPL | |
@eval using Crayons | |
@eval OhMyREPL.input_prompt!(string(VERSION) * ">", :green) | |
@eval OhMyREPL.enable_autocomplete_brackets(true) | |
@eval OhMyREPL.Passes.BracketHighlighter.setcrayon!(Crayon(background= :red, foreground = :green)) | |
# Term.jl |
"editor.tokenColorCustomizations": { | |
"[Oranji]": { | |
"textMateRules": [ | |
{ | |
"scope": "support.type.julia", | |
"settings": { | |
"fontStyle": "italic" | |
} | |
}, | |
{ |
[package] | |
name = "test" | |
version = "0.1.0" | |
authors = ["YOU <[email protected]>"] | |
edition = "2018" | |
[lib] | |
crate-type = ["cdylib"] |
# Settings apply across all Linux distros running on WSL 2 | |
# Can see memory in wsl2 with "free -m" | |
# Goes in windows home directory as .wslconfig | |
[wsl2] | |
# Limits VM memory to use no more than 48 GB, defaults to 50% of ram | |
memory=8GB | |
# Sets the VM to use 8 virtual processors | |
processors=4 |