Skip to content

Instantly share code, notes, and snippets.

pentlander

Block or report user

Report or block pentlander

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gossip.rs
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate bytes;
extern crate futures;
extern crate tokio_io;
extern crate tokio_core;
extern crate tokio_timer;
use std::str;
@pentlander
pentlander / tasker_morse.js
Created Jul 14, 2016
Vibrate to the contact's initials in morse code with Tasker
View tasker_morse.js
var dotLength = 110;
var dashLength = 3 * dotLength;
var pauseBetweenElements = 2 * dotLength;
var pauseBetweenWords = 3 * dotLength;
function nameToVibrations(fullName) {
var initials = getInitials(fullName);
var vibrations = initials.map(wordToMorseCode)
.map(morseCodeToVibrations)
.join(",".concat(pauseBetweenWords).concat(","));
View LaserScript.cs
using UnityEngine;
using System.Collections;
public class LaserScript : Projectile {
public GameObject laserStart;
public GameObject laserMiddle;
public GameObject laserEnd;
public float maxLaserDistance;
private GameObject start;
You can’t perform that action at this time.