SuperDirt.start // start server
Server.killAll // kill server
Quarks.gui // open samples folder
// set inputs & outputs // you will need to kill the server and restart when changing the input / output
// list all devices:
# Apache License 2.0 | |
# 使用法は gist のコメントを見てください | |
import time | |
import argparse | |
import os | |
import json | |
import tomli | |
import traceback | |
from typing import Any, Dict, List, Optional, Union, Iterator |
########## Install NGINX ############## | |
# Install software-properties-common package to give us add-apt-repository package | |
sudo apt-get install -y software-properties-common | |
# Install latest nginx version from community maintained ppa | |
sudo add-apt-repository ppa:nginx/stable | |
# Update packages after adding ppa |
/* | |
* Vencord, a Discord client mod | |
* Copyright (c) 2024 Vendicated and contributors | |
* SPDX-License-Identifier: GPL-3.0-or-later | |
*/ | |
import definePlugin, { OptionType } from "@utils/types"; | |
import { definePluginSettings } from "@api/Settings"; | |
import { Devs } from "@utils/constants"; | |
import { Forms } from "@webpack/common"; |
#!/usr/bin/env python3 | |
# | |
# A script to download chat from a Twitch VOD and print it to a terminal. | |
# Chat will be downloaded all the way until it ends. | |
# | |
# Usage: TWITCH_CLIENT_ID=0123456789abcdef0123456789abcde twitch-vod-chat.py [video_id] [start] | |
# | |
# This script could break at any time, because Twitch's chat API is | |
# undocumented and likes to change at any time; in fact, this script was |
SuperDirt.start // start server
Server.killAll // kill server
Quarks.gui // open samples folder
// set inputs & outputs // you will need to kill the server and restart when changing the input / output
// list all devices:
I have been doing versions of this setup repeatedly over years. If I was smarter I would have written this down years ago. These steps are for Ubuntu 24.04; they should work with minimal modification for other Debian-based systems.
I'm now going to peel some grapes and make good use of all the time I just saved my future self.
This is also documented in this blog post: https://www.funnymonkey.com/2024/06/basic-setup-finally/
sudo apt update
This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.
Also do note that some arguments -or the commands themselves- within those commands may differ based on your hardware such as graphics drivers. Know your hardware and the alternatives to the commands I'm running if your hardware differs greatly (e.g. AMD to NVIDIA)
There are various ways to install it on Arch. The most popular one is to install plasma
and plasma-applications
, but I don't like doing that because it comes with
import 'package:flutter/material.dart'; | |
extension AdaptiveCount on BuildContext { | |
T withFormFactor<T>({ | |
required T onMobile, | |
required T onTablet, | |
required T onDesktop, | |
bool followDeviceOrientation = true, | |
}) { | |
final formFactor = this.formFactor( |
Installing Arch: | |
sudo vim /etc/pacman.conf | |
Update packages list: sudo pacman -Syy | |
run sudo pacman -Syu before installing any software (to update the repositories first) | |
* Timing issue: | |
- Change hardware clock to use UTC time: | |
sudo timedatectl set-local-rtc 0 |
You need to follow this procedure in order to share files between Windows 7 and Mac OS X on VMWare :