Skip to content

Instantly share code, notes, and snippets.

View bobboteck's full-sized avatar
📻
-.-. --.-

Roberto D'Amico bobboteck

📻
-.-. --.-
View GitHub Profile
@MartinBodocky
MartinBodocky / gist:8056791
Created December 20, 2013 15:58
How to create and get Field Choice in SharePoint 2013 by REST
GetFieldsFromCollectionREST = function (restUrl, properties) {
var values = [];
select = "$select="
if (properties.length > 1)
select += _(properties.slice(1)).reduce(function (memo, item) { return memo + "," + item }, properties[0]);
else
select += properties[0];
if (restUrl.indexOf('?') > -1)
restUrl = restUrl + "&" + select;
else
@NT7S
NT7S / Si5351_VFO.ino
Last active June 1, 2023 00:06
A simple VFO for the Si5351 for either LCD or OLED
/*
Si5351 VFO
By LA3PNA 27 March 2015
Modified by NT7S 25 April 2015
Modified to be Si5351 Arduino v2 compliant by NT7S 21 Nov 2016
This version uses the new version of the Si5351 library from NT7S.
see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts.
@awesomebytes
awesomebytes / persistent_live_usb_ros.md
Last active March 9, 2019 15:11
Create a persistent live USB for ROS development on any machine

Requisites

How to

After downloading the Ubuntu ISO image, use Unetbootin to write the image to the pendrive. The pendrive must be 8GB+.

Take care on choosing the size of the persistent part you want the pendrive to have, at the field Space used to preserve files across reboots (Ubuntu only):, I'm using a 8GB pendrive so I'm setting 4GB (if there is less space it will take as much as it can anyways).

@mold
mold / get-float-value.js
Created September 12, 2018 12:23
Converting a 4-byte float (IEEE-11073) to a JavaScript number
/**
* Converts a DataView that represents a 4 byte float (IEEE-11073)
* to an actual float. Useful for example when reading temperature
* from a Bluetooth thermometer :)
*
* The DataView buffer should contain at least 4 bytes:
*
* [b0, b1, b2, b3]
* ^ ^ ^ └---------- Exponent
* └---└---└------- Will become the mantissa
@rothgar
rothgar / streamyard-tampermonkey.js
Last active December 3, 2021 16:40
Streamyard Keyboard Shortcuts
// ==UserScript==
// @name Streamyard Keyboard Shortcuts
// @namespace http://streamyard.com
// @version 0.1
// @description Simple keyboard shortcuts for streamyard
// @author justinleegarrison@gmail.com
// @match https://streamyard.com/*
// @grant none
// @run-at document-end
// ==/UserScript==