I hereby claim:
- I am partlyhuman on github.
- I am partlyhuman (https://keybase.io/partlyhuman) on keybase.
- I have a public key ASBkJ-7uTVxhmatuApUtxnlsRFloGr7ww12f_0y-VtyAyQo
To claim this, I am signing this object:
using System; | |
using System.Text.RegularExpressions; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
namespace com.hololabs | |
{ |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
namespace com.hololabs.editor | |
{ | |
public static class GotoScene | |
{ |
#!/bin/bash | |
# usage: send path of an asset in. the script will find the GUID from the associated meta file, and look for usages of this GUID anywhere. | |
# of course only works with text mode (YAML) serialization | |
GUID=$(grep -Po '(?<=guid: )\w+' $1.meta) | |
echo "Object has GUID $GUID" | |
echo "Searching for instances..." | |
find . \( -name "*.asset" -o -name "*.prefab" -o -name "*.unity" \) -exec grep -l $GUID {} \; |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
[RequireComponent( typeof( ScrollRect ) )] | |
public class ScrollToSelected : MonoBehaviour | |
{ | |
[ Header( "Required: Children must have a Y Pivot of 1!" ) ] | |
public float scrollSpeed = 10f; | |
I hereby claim:
To claim this, I am signing this object:
03000000412300003680000001010000,Arduino LLC Arduino Leonardo,platform:Linux,a:b1,b:b0,x:b2,y:b3,back:b5,start:b4,leftshoulder:b6,rightshoulder:b8,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2, |
First, set up a samba server on a machine on your network that's always on. I have a Pi Zero acting as a pi-hole on 10.0.0.2 (see www.pi-hole.net), piggybacking on this. I only mention because the pi-hole project slaps. Your machine can be anything, Windows is great too since it has built in Samba, DLNA all sorts of fun sharing protocols.
To set that up on pi you can follow a guide like https://magpi.raspberrypi.org/articles/samba-file-server. Windows is much easier, just share a folder under Properties, Sharing.
So now I have a server share //10.0.0.2/share with a saves/ subfolder
On every RetroPie device, I now want to do two things:
# coding: utf-8 | |
""" | |
Standard gamepad mappings. | |
Pulled in to Gamepad.py directly. | |
""" | |
class NES(Gamepad): | |
fullName = 'Pico8 Pad' | |
def __init__(self, joystickNumber = 0): |
/* | |
* PinDefinitionsAndMore.h | |
* | |
* Contains pin definitions for IRremote examples for various platforms | |
* as well as definitions for feedback LED and tone() and includes | |
* | |
* Copyright (C) 2021 Armin Joachimsmeyer | |
* armin.joachimsmeyer@gmail.com | |
* | |
* This file is part of IRremote https://github.com/Arduino-IRremote/Arduino-IRremote. |
#undef DEBUG | |
#define GBP_SO_PIN 3 | |
#define GBP_SC_PIN 4 | |
#define PIN_LED 1 | |
#define PIN_IRIN 0 | |
#define J_START 0x80u | |
#define J_SELECT 0x40u | |
#define J_B 0x20u |