Skip to content

Instantly share code, notes, and snippets.

@brianclements
brianclements / Commit Formatting.md
Last active April 28, 2024 11:35
Angular Commit Format Reference Sheet

Commit Message Format

This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].

We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.

Each commit message consists of a header, a body, and a footer.

@fideloper
fideloper / certbot.sh
Last active April 28, 2024 11:35
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok
@mattio
mattio / App-re-signing.md
Last active April 28, 2024 11:30
Re-signing an .ipa file for iOS distribution

Re-signing an .ipa file for iOS distribution

There are several apps I currently have to re-sign. They are apps built by various outside vendors who do not want to share the source code, but we want the apps published from our account and we do not want to give them our certificate or access to publish the apps on our behalf. ¯\_(ツ)_/¯ These are the steps I use to re-sign them. I've decided to keep the steps manual because, frankly, it's an error-prone process, something done infrequently, and a moving target. Some detail always seems to shift with every major Xcode release or App Store change.

These steps are current as of iOS 14 and Xcode 12. They assume you already have your Distribution Certificate installed in Keychain.


I'm going to use an example named "Matt's App.ipa". If you need to provide instructions to a vendor to deliver this file to you properly, I've included what I use below.

@tormath1
tormath1 / README.md
Last active April 28, 2024 11:30
Cluster API OpenStack using Flatcar
@poliquin
poliquin / mariadb-docker-digitalocean.md
Last active April 28, 2024 11:28
Using MariaDB via Docker on Digital Ocean

Notes on MariaDB and Docker

These notes describe how to start a MariaDB container with Docker on a Digital Ocean droplet running Ubuntu.

Installing Docker

Follow the instructions for [Docker CE on Ubuntu][0]:

@lbn
lbn / matprint.js
Last active April 28, 2024 11:25
Pretty print a matrix in ES6
"use strict"
function matprint(mat) {
let shape = [mat.length, mat[0].length];
function col(mat, i) {
return mat.map(row => row[i]);
}
let colMaxes = [];
for (let i = 0; i < shape[1]; i++) {
colMaxes.push(Math.max.apply(null, col(mat, i).map(n => n.toString().length)));
@ezrapierce000
ezrapierce000 / gsoc22.md
Last active April 28, 2024 11:25
Machine Learning with Bela & IREE - GSoC 2022

Machine Learning with Bela & IREE

This project took place over the summer of 2022 as part of the Google Summer of Code, with support from the Intelligent Instruments Lab, Beagleboard Foundation and Bela. The project's objective was to improve the tooling available for those looking to use machine learning models in their Bela projects. For some background, Bela is a maker platform built on top of the Beaglebone Black with a focus on real-time audio and sensor processing for use in interactive art projects including digital instrument design. The availability of machine learning tools to be used with Bela would allow for new design practices incorporating machine learning models.

The original goal of this project arose out of the constraints of Bela's low-powered (in machine learning terms) processor and the real-time constraints of interactive projects. To aid development on this platform there is a need for performance analysis tools that allow for quick evaluation of different models on Bela. This proj

@idoop
idoop / Makefile
Created November 17, 2021 10:20
GattLib as OpenWRT package
#
# Copyright (C) 2020-2030 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Author: Chen Yang <idoop@msn.cn>
# Github: https://github.com/idoop
include $(TOPDIR)/rules.mk
@stek29
stek29 / 0webosbrew-letsencrypt-ca.md
Last active April 28, 2024 11:20
fix webOS ca certificates for DST Root X3 expiry (on rooted TVs)

HowTo

  • Root via rootmy.tv
  • Install

Tested on webOS 4.5, should at least on webOS 3.5+

Installation/Update

curl -qs "https://gist.githubusercontent.com/stek29/761232c6f7e1ffbc36b98da2a3a0f4d9/raw/install.sh?$(date +%s)" | sh -
@baymaxium
baymaxium / content.md
Created October 18, 2017 09:12
趣味解析,斗鱼直播大数据的玩法儿

原文:CSDN大数据

↑ 点击上方蓝字关注我们,和小伙伴一起聊技术!

作者 | 吴瑞诚

文章来源GitChat,CSDN独家合作发布,点击「阅读原文」查看交流实录