Skip to content

Instantly share code, notes, and snippets.

💻
Work work

Wojtek Siudzinski suda

💻
Work work
View GitHub Profile
View espat.go
// This is a console to a ESP8266/ESP32 running on the device UART1.
// Allows you to type AT commands from your computer via the microcontroller.
//
// In other words:
// Your computer <--> UART0 <--> MCU <--> UART1 <--> ESP8266 <--> INTERNET
//
// More information on the Espressif AT command set at:
// https://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf
//
package main
@suda
suda / keybindings.json
Created Dec 16, 2018
VSCode Mac keybindings for Linux/Windows
View keybindings.json
// Overwrite key bindings by placing them into your key bindings file.
[
{
"key": "escape escape",
"command": "workbench.action.exitZenMode",
"when": "inZenMode"
},
{
"key": "shift+escape",
"command": "closeReferenceSearchEditor",
View tick-cloud-config.yaml
#cloud-config
ssh_authorized_keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+xU8Tzj7FHrTldT2SW2i3+VXO+nU+tijkSIePuxZscYMMdEv32JrsFQAIQF+4JrGCzuilqOOz/ewIAKH6v4xW0f2XTOhA6oqTaJWhIMlovIVQq8txnBpSHoldWiT8nqGElUQA6PpUgLVjwCaUUtKuGHV2JNAsKUMH724wSHqHxc9m/SHB9TksWM74fIw67rsY4GKaRv7M2pFqbr//VlEM2LxXVCxf0Zs3fiF33yiAHWHHlTm6Tu9Q8QhYu1ikpZ6/K4GOuWzyZJjt7nVRqYio4dKi/D6DpHy8LyACAQP3MlGx2gNeqKcQGZ7O63CkPVB1j87pnH1XYvG97Nc9xgCf suda@suda-imac.local"
coreos:
units:
- name: "influxdb.service"
command: "start"
content: |
[Unit]
View keybase.md

Keybase proof

I hereby claim:

  • I am suda on github.
  • I am suda (https://keybase.io/suda) on keybase.
  • I have a public key ASA5pFrAqddzxEsU4F-ohh0TB3yhQQNnzHangzdoAx4wpgo

To claim this, I am signing this object:

View appstore_pricing_matrix.html
<html>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8">
<TITLE>App Store Pricing Matrix</TITLE>
<style type="text/css">
body {
font-family: "Lucida Grande", Arial;
}
table {
View compile.sh
#!/bin/bash
if [[ -z $ACCESS_TOKEN ]]; then
echo "Please set ACCESS_TOKEN env variable"
exit -1
fi
if [[ -z $PARTICLE_VERSION ]]; then
PARTICLE_VERSION=0.6.1
echo "Defaulted to version 0.6.1"
fi
View Places in London for Diana to visit.md

Touristy things

  • Big Ben / Parlament
  • Westminster Abby
  • London Eye
  • Tower / Tower Bridge
  • Buckingham Palace
  • St James Park
  • Oxford Street
  • Trafalgar Square
View Pocket Operator Cheat Sheet.md

PO-20 Arcade

Chords

dm em Esus E
F G C/G E/G#
am C/A dm/A D/A
A B/A C D
View binutils2.patch
From aee7bc26393d4535df76d84029a0d0fc92724dfa Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Mon, 22 Dec 2014 22:59:03 +1030
Subject: [PATCH] Pass proper `bfd' argument to bfd_get_xxx functions
* bfd-in.h (bfd_get_section_name, bfd_get_section_vma,
bfd_get_section_lma, bfd_get_section_alignment,
bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros
in order to use the `bfd' argument.
* bfd-in2.h: Regenerate.
View binutils.patch
From 1ffb381737b9c5b4c1177608aa4f3edb99cac98b Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Mon, 22 Dec 2014 22:52:06 +1030
Subject: [PATCH] Replace bfd_xxx_set with static inline functions
Following up on Tom's suggestion I am checking in a patch to replace the
various bfd_xxx_set macros with static inline functions, so that we can avoid
compile time warnings about comma expressions with unused values.
* bfd-in.h (bfd_set_section_vma): Delete.
You can’t perform that action at this time.