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
/* | |
* pedal controller for Ctrl, Space and Shift | |
*/ | |
#include <Bounce.h> | |
// 10 = debounce time in ms | |
int debounceTimeMs = 10; | |
int ledPin = 11; | |
int spacePedalPin = 3; |
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
<!DOCTYPE html> | |
<html ng-app="hello"> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script> | |
<script type="text/ng-template" id="nonHttpTemplateUrl"> | |
<p class="hello__content">hello, world</p> | |
</script> | |
</head> |
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
Atalhos Outlook 2013 | |
================== | |
Atalhos essenciais no Outlook 2013 para conseguirmos gerir o nosso mail sem o rato. | |
---------- | |
#### <i class="icon-folder-open"></i> Dentro da Inbox/Pasta de entrada (ou outra pasta) | |
| Ação | Atalho | |
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
mai 23 11:11:19 andre-XPS-13-9370 kernel: [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:18:a6:f7:c7:0b:d8:08:00 SRC=192.168.80.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 | |
mai 23 11:11:56 andre-XPS-13-9370 kernel: xhci_hcd 0000:00:14.0: xHC is not running. | |
mai 23 11:11:56 andre-XPS-13-9370 kernel: xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead | |
mai 23 11:11:56 andre-XPS-13-9370 kernel: xhci_hcd 0000:00:14.0: HC died; cleaning up | |
mai 23 11:11:56 andre-XPS-13-9370 upowerd[11680]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1 | |
mai 23 11:11:56 andre-XPS-13-9370 upowerd[11680]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3 | |
mai 23 11:11:56 andre-XPS-13-9370 kernel: usb 1-5: USB disconnect, device number 2 | |
mai 23 11:11:56 andre-XPS-13-9370 kernel: usb 1-7: USB disconnect, device number 3 | |
mai 23 11:11:56 andre-XPS-13-9370 upowerd[11680]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00: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
#! /bin/bash | |
./configure \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--enable-rubyinterp=dynamic \ | |
--enable-pythoninterp=dynamic \ | |
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ | |
--enable-python3interp=yes \ | |
--with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu \ | |
--enable-gui=auto \ |
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
❯ cat Dockerfile | |
FROM rust:1.19.0 | |
WORKDIR /var/code/alacritty | |
RUN apt-get update && apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip -y | |
RUN rustup override set stable && rustup update stable | |
❯ cat docker_build.sh |
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
❯ xinput list-props 12 | |
Device 'DELL07E6:00 06CB:76AF Touchpad': | |
Device Enabled (144): 1 | |
Coordinate Transformation Matrix (146): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 | |
libinput Tapping Enabled (281): 1 | |
libinput Tapping Enabled Default (282): 0 | |
libinput Tapping Drag Enabled (283): 1 | |
libinput Tapping Drag Enabled Default (284): 1 | |
libinput Tapping Drag Lock Enabled (285): 0 | |
libinput Tapping Drag Lock Enabled Default (286): 0 |
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
❯ mix nerves.new minefield | |
* creating minefield/config/config.exs | |
* creating minefield/lib/minefield.ex | |
* creating minefield/lib/minefield/application.ex | |
* creating minefield/test/test_helper.exs | |
* creating minefield/test/minefield_test.exs | |
* creating minefield/rel/vm.args | |
* creating minefield/rootfs_overlay/etc/iex.exs | |
* creating minefield/.gitignore | |
* creating minefield/.formatter.exs |
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
~/projs/personal/minefield | |
❯ export MIX_ENV=dev MIX_TARGET=rpi0 | |
~/projs/personal/minefield | |
❯ mix deps.get | |
Resolving Hex dependencies... | |
Dependency resolution completed: | |
Unchanged: | |
artificery 0.4.1 | |
distillery 2.0.12 |
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
~/projs/personal/minefield | |
❯ mix firmware | |
Nerves environment | |
MIX_TARGET: rpi0 | |
MIX_ENV: dev | |
==> socket | |
Compiling 11 files (.ex) | |
Generated socket app |
OlderNewer