- Tutorial on how to setup a desktop environment on Arch Linux Arm, specifically for the Raspberry Pi 3*
- Any questions on the steps can be left on a comment, or checking the Arch Wiki
- Newer kernel versions are being tested, as well as Wayland instead of X
- If you have questions or errors, leave a comment! - moral-g
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket, re, sys | |
class RadioConfig(): | |
def __init__(self): | |
self.team_num = 0 | |
"""1-9999""" | |
self.radio_name = '' | |
"""1-31 char""" | |
self.wpa_key = 0 | |
"""8-30 char""" |
Breakdown of all importnat build files used in WPI Lib Raspberry Pi, formerly know as FRC Vision Pi Genereator to be used to recreate the "optimizations" they imploy in the repo on other Linux distros not based on Debain. Does not contain specifics but summarys on the use/role of a file to properly implement on a different distro. If specifics are wanted, view the wpilibpi repo
Hover over a file name to read its description. A more detailed Google Doc
┣ 00-configure-apt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd "%userprofile%" | |
set __COMPAT_LAYER=RunAsInvoker | |
:run | |
TITLE %cd% - Command Prompt: Invoker | |
set dirf=%cd% | |
call set dirf=%%dirf:%userprofile%=~%% | |
set /p task="%username%@%computername% %dirf%: " | |
call %task% | |
set task= |
Quick Arch Linux Install Quide for Filesystem with Swap, proper sudoers.d use, conf on KEYMAPS and LOCALE and basic Grub config
The default console keymap is US. Available layouts can be listed with:
ls /usr/share/kbd/keymaps/**/*.map.gz
To modify the layout, append a corresponding file name to loadkeys(1)
# FOO is layout from /usr/share/kbd/keymaps/**/*.map.gz
Non-strict, strong, static, compiled language
non-strict - lazy evaluation
strong - no variable def, like python
static - cannot change var type, like 12+"hello" not allowed
Basic Data Types:
Number
Dynamically typed, no need for variable ttype declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Minimal .bashrc file | |
# pwd :: ~/.bashrc | |
# Pre-requisites | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# First load system bashrc | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Accepts only positive and negative integters | |
power, eq = int(input("Highest power of function: ")), "" | |
power_l = list(range(abs(power))) | |
for i in range(len(power_l)): | |
last_item = power_l.pop() | |
power_l.insert(i, last_item + 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Calamidnight</string> | |
<key>uuid</key> | |
<string>D8D5E82E-3D5B-46B5-B38E-8C841C21347D</string> | |
<key>colorSpaceName</key> | |
<string>sRGB</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple build script that builds a cmake project | |
# no flags :( | |
# ~ | |
if [ -d "`pwd`/build" ] ; then | |
echo -e "\e[1;35m[+] \`build\` folder already exists!\e[0m" | |
conflict="" | |
while [[ "$conflict" != "r" && "$conflict" != "s" ]] |
OlderNewer