Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
Git sees every file in your working copy as one of three things:
Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:
#!/bin/sh | |
# This script based on linux-vm-tools for Ubuntu 22.02. | |
# Thanks to https://github.com/Hinara/linux-vm-tools/ to script | |
# This script is for Ubuntu 22.04 Jammy Jellyfish to download and install XRDP+XORGXRDP via | |
# source. | |
# | |
# Major thanks to: http://c-nergy.be/blog/?p=11336 for the tips. | |
# |
from environs import Env | |
from asyncio import get_event_loop | |
from telethon import TelegramClient, events | |
from telethon.network import ConnectionTcpAbridged | |
from telethon.errors import SessionPasswordNeededError | |
from logging import basicConfig, INFO, getLogger | |
from datetime import date | |
from re import sub, findall | |
# Load environment vars from .env file |
#!/bin/bash | |
# Receives your Windows username as only parameter. | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.16.0/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
windowsUser=$1 |
#! /usr/bin/env python3 | |
""" | |
Development Version: Python 3.5.1 | |
Author: Benjamin Cordier | |
Description: Module For Performance | |
Assessment of Classification Task | |
License: BSD 3 Clause | |
-- |
As discussed here: brave/brave-browser#695
Thanks to the excellent answer by @Redsandro I was able to do this on Windows, which I'll document below because my future self will inevitably find this via Google a few years from now. Since it's using SQLite it should not be too hard to adapt for Macos and Linux.
Edit: this method still worked as of 9/3/2023. :)
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
From Jonathan Dietz, Jr.:
Almost all new displays employ VESA Coordinated Video Timings using Reduced Blanking Timing Version 2 (CVT-RBv2) which adds a small amount of overhead to the video signal. This overhead includes 80 additional horizontal pixels and enough additional lines to meet the 460 µs minimum vertical blanking interval requirement. You can download an Excel spreadsheet from VESA that will do all the calculations for you, but the math is pretty simple:
460 / ((1000000 / [refresh rate in Hz] - 460) / [vertical resolution])
To get an integer number of lines, you round this result down and add 1. So for Pro Display XDR resolution at 120 Hz that would work out to:
460 / (1000000 / 120 - 460) / 3384) = 197.710 = 198 additional lines
# $HOME/.config/alacritty/alacritty.toml | |
# by Rito Ghosh 2023-10-06 | |
# Alacritty now uses TOML formatting for its config files. | |
# This is a simple example. | |
# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd | |
# It is not obvious how it translates to TOML. But it is extremely straightforward. | |
# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively. |