Skip to content

Instantly share code, notes, and snippets.

@npentrel
npentrel / Writing Template.md
Last active August 9, 2023 09:16
The hardest part about writing is starting with an empty page - so don’t do that. Use this template instead and add bullet points. Then turn those points into writing!
  • Introduction
    • What problem/topic is being addressed?
    • What is the structure of the post?
    • Where is the code?
  • Prerequisites
    • Technical setup
    • Knowledge
  • Setting up
    • Document your hardware setup
  • Document how to configure your hardware
@npentrel
npentrel / input-controller.md
Created March 23, 2023 14:31
input-controller.md

Input Interface

The Input interface is defined in input/input.go and you should view that file for details on specific methods and their uses.

Overview/Concepts

Controller Interface

Input devices provide a Controller interface with three methods:

@npentrel
npentrel / input-controller.md
Created February 20, 2023 17:55
Input Controller Component

Input Interface

The Input interface is defined in input/input.go and you should view that file for details on specific methods and their uses.

Overview/Concepts

Controller Interface

Input devices provide a Controller interface with three methods:

year to_country performer song youtube_url
2021 France Barbara Pravi Voil� https://youtube.com/watch?v=-9t_SwPN31s
2021 Germany Jendrik I Don't Feel Hate https://youtube.com/watch?v=ydgxZnHFLi4
2021 Italy M�neskin Zitti e buoni https://youtube.com/watch?v=9mL6Cmkg2_A
2021 Netherlands Jeangu Macrooy Birth of a New Age https://youtube.com/watch?v=1ABcmIAT_Ec
2021 Spain Blas Cant� Voy a quedarme https://youtube.com/watch?v=qb5FXBwSx44
2021 United Kingdom James Newman Embers https://youtube.com/watch?v=BMDGTsa_Qq0
2021 Australia Montaigne Technicolour https://youtube.com/watch?v=ghT5QderxCA
2021 Ireland Lesley Roy Maps https://youtube.com/watch?v=z6ZUBzqPxds
2021 Lithuania THE ROOP Discoteque https://youtube.com/watch?v=0rsUJWSwb0c
read_mmap:
/* Atomically increment the reference counter,
* so no one unmaps the buffer while we use it. */
atomic_add(mmap_use_count, 1);
/* If the buffer is being resized, use the system call instead of the mapped buffer. */
if (mmap_resizing)
atomic_decr(mmap_use_count, 1);
read_syscall(...);
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'dracula/vim'

Smooth DevOps Code of Conduct

All attendees, speakers, sponsors and volunteers at our meetup are required to agree with the following code of conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to help ensure a safe environment for everybody.

Need Help?

Please contact the organizers:

> db.alphabet.insert({
"_id": "88888",
"array": ['b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']
})
> db.alphabet.update(
{ "_id": "88888" },
{
$push: {
array: {
$each: ['a'],
> db.alphabet.insert({
"_id": "77777",
"array": ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i']
})
> db.alphabet.update(
{ "_id": "77777" },
{
$push: {
array: {
$each: ['j']