Skip to content

Instantly share code, notes, and snippets.

@weisk
weisk / certbot_reverse_proxy_guide.md
Created Feb 24, 2021 — forked from Juul/certbot_reverse_proxy_guide.md
How to use Let's Encrypt / certbot with a reverse proxy
View certbot_reverse_proxy_guide.md

apache config

The secret sauce is:

<Location /.well-known>
    ProxyPass !
</Location>
@weisk
weisk / MS Perks & Benefits.md
Created Feb 24, 2021 — forked from Teino1978-Corp/MS Perks & Benefits.md
Summary of any and all perks when working with Microsoft.
View MS Perks & Benefits.md

##Perks of Microsoft

####Salary

####Health and Wellness Care

  • Medical and hospitalization: Two choices for medical insurance. Both with no premium but different deductibles.
    • The two choices on medical plans are a high-deductible health plan (Microsoft puts a chunk of money into the Health Savings Account for you, which covers most of the deductible) and an HMO.
    • With the HMO, you pay basically nothing as long as you only go to Group Health doctors. With the high-deductible plan, you're covered under the local Blue Cross provider which means you can go to just about any doctor in the country. For
@weisk
weisk / lte_mbim_from_scratch.md
Created Feb 24, 2021 — forked from Juul/lte_mbim_from_scratch.md
How to use 4G LTE modems like the MC7455 on both Debian/Ubuntu and OpenWRT using MBIM
View lte_mbim_from_scratch.md

The purpose of this document is to get you familiar with the concepts and command line tools involved with connecting to the internet using modern 4G LTE modems on both Debian/Ubuntu and OpenWRT.

This writeup is based on my experiences with the Sierra Wireless AirPrime MC7455 modem and a Calyx (Sprint) SIM card, but it should apply to most modern 4G LTE modems.

High level overview

These are the steps required:

  • Physically connect antennas
@weisk
weisk / PhoneFormat.js
Created Feb 24, 2021 — forked from ckoye/PhoneFormat.js
PhoneFormat.js for Titanium Mobile
View PhoneFormat.js
/*
Modified version of
https://github.com/albeebe/phoneformat.js/blob/master/PhoneFormat.js
Made it Titanium-Mobile-ready by adding the exports for each function here.
http://www.phoneformat.com
*/
@weisk
weisk / web-fm.php
Created Feb 5, 2021 — forked from Domin8-IPTV/web-fm.php
browser based file manager sign in username and password with MD5 encryption
View web-fm.php
<?php
/**
* File Manager Script
*/
// Default language ('en' and other from 'filemanager-l10n.php')
$lang = 'en';
// Auth with login/password (set true/false to enable/disable it)
$use_auth = true;
@weisk
weisk / vod2hls.sh
Created Feb 5, 2021 — forked from Domin8-IPTV/vod2hls.sh
create hls live stream from files
View vod2hls.sh
#!/bin/bash
# Change this to path of file to stream /edit/to/vod/path.mp4
mediaFile="/edit/to/vod/path.mp4"
### 480x video400kbps audio40kbps ###
mediaStreams="-map 0"
audCodec="-acodec mp2"
audKbps="-b:a 40k"
@weisk
weisk / index.html
Created Dec 27, 2020 — forked from valex/index.html
d3.js v5 Realtime Line Chart
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>d3.js v5 Realtime Line chart</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.9.2/d3.min.js"></script>
<link rel="stylesheet" href="style.css" >
</head>
@weisk
weisk / fetch-api-examples.md
Created Dec 23, 2020 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
View fetch-api-examples.md
@weisk
weisk / fetch-api-examples.md
Created Dec 23, 2020 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
View fetch-api-examples.md