Skip to content

Instantly share code, notes, and snippets.

View BlakeBarrett's full-sized avatar
😎
Working from home

Blake Barrett BlakeBarrett

😎
Working from home
View GitHub Profile
@BlakeBarrett
BlakeBarrett / Things to learn when approaching a new programming language or framework
Last active June 14, 2021 21:58
Learning a New (Programming) Language Checklist
* What are the files named?
* What casing is convention?
* Semi-colons or not?
* What does the code look like, conventionally?
* Programming in general:
variables, constants, static, structs, interfaces, enums, lists (arrays, maps) classes, abstract, anonymous classes, functions, closures, async, threads, network io, (de)serialization, files, streams, graphics, local hardware, etc...
unit testing
* UI:
What are "screens" called?
Views, containers, text, images, buttons, text input, "component" input i.e. sliders, radios, check boxes, etc,
@niw
niw / README.en.md
Last active February 13, 2024 04:24
How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

How to run Windows 10 on ARM or Ubuntu for ARM64 in QEMU on Apple Silicon Mac

Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!

NOTE: that this is current, 10/1/2021 state.

Running Windows 10 on ARM

  1. Install Xcode from App Store or install Command Line Tools on your Mac
@rubo77
rubo77 / rotate-screen.sh
Last active October 9, 2023 11:30
This script rotates the screen and touchscreen input, disables or enbles the touchpad, and dis- or enables the virtual keyboard on a Lenovo Yoga 13 or Yoga 2 Pro (source: http://askubuntu.com/q/405628/34298)
#!/bin/bash
# This script rotates the screen and touchscreen input 90 degrees each time it is called,
# also disables the touchpad, and enables the virtual keyboard accordingly
# by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766
#### configuration
# find your Touchscreen and Touchpad device with `xinput`
TouchscreenDevice='ELAN Touchscreen'
TouchpadDevice='SynPS/2 Synaptics TouchPad'