Skip to content

Instantly share code, notes, and snippets.

{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@keithelder
keithelder / telnet.sh
Created November 6, 2021 15:11 — forked from devfalse/telnet.sh
Repair IMEI number on Nighthawk M1 Mobile Router MR1100
# Enable "charge + tether" in Settings -> Setup -> Mobile Router Setup -> Tethering
# Use a usb cable to connect (tethering) to the router on port 5510
# Useful links:
# Verify the IMEI number
# https://en.wikipedia.org/wiki/Luhn_algorithm
# Challenge/Response Generator for Sierra Wireless Cards V1.0
# https://github.com/bkerler/SierraWirelessGen
ATI
@keithelder
keithelder / DirectoryServicesExample.cs
Created August 14, 2015 12:52
Rock Framework Directory Services Example
var repo = new ActiveDirectoryRepository<TeamMember>();
var user = repo.GetByUserName(Environment.UserName);
Console.WriteLine(user.Email);
public class TeamMember
{
[ADProperty.FirstName]
public string FirstName { get; set; }