See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/usr/bin/env bash | |
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\ | |
function register_clang_version { | |
local version=$1 | |
local priority=$2 | |
update-alternatives \ | |
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \ |
#!/bin/bash | |
if [[ "$1" == "-a" ]] | |
then | |
echo "Avaiable (MIXED or IDEL) nodes:" | |
sinfo -N --noheader | grep -e mix -e idle | while read line | |
do | |
arr=($line) | |
srun -p ${arr[2]} -w ${arr[0]} gpustat -p --color 2>/dev/null </dev/null | |
done |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
/* | |
<https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc> | |
NOTE - 2021-05-24 | |
----------------- | |
The script below isn't the fastest way to copy-and-paste from a protected | |
Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from | |
the comments: |
N-ro | Rimedo | Bezonata uzantokonto che ... | Kunhavigo de viva pozicio ... | Rimarkoj |
---|---|---|---|---|
1 | Apo Snapchat | Snapchat | eblas | Uzanto povas kunhavigi sian pozicion (au vivan pozicion)
Ech sen kunhavigo de pozicio oni tamen povas facile montri lokojn, kie Esperanto estas parolata: Tie oni foje kreu malmultsekundan videajhon kun mallonga Esperanto-teksto kaj ghin afishu en la "Snap Map" (momentfota mapo, Snapmapo). |
2 | Apo Telegram; vidu ankau retpaghon [telegramo.org](https |
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
Connect your phone to your computer via ADB. If you don't know how to do this, please search before following these steps
put stock boot.img into /sdcard/boot.img. MAKE SURE the name of the file is "boot.img", otherwise you will need to alter the following commands to use the name of the file. MAKE SURE your stock boot.img IS A VALID BOOT FILE, if it is not, Magisk will still restore the image, but the OTA will not work and your phone will not work upon reboot.
// ==UserScript== | |
// @name Google maps addon | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-02-13 | |
// @description Bring google maps button back | |
// @author You | |
// @match https://www.google.com/* | |
// @icon https://www.google.com/ | |
// @grant none | |
// ==/UserScript== |