Skip to content

Instantly share code, notes, and snippets.

View iflowfor8hours's full-sized avatar
💭
on the lookout.

mxs iflowfor8hours

💭
on the lookout.
View GitHub Profile

Reprogram BMW after doing Automatic to Manual Conversion. (Based on my E36 experience)

written by Ross W, and Sam M.

This guide assumes the following:

  • You have programmed a BMW ECU/DME before using DIS or similar.
  • You are taking all the necessary safety precautions. (Fully charged battery etc…)
  • You have DIS working (We used EasyDIS 1.0, Base 44)
  • You have Ediabas (INPA, NCS Expert, IFH Serve) installed and working.
@iflowfor8hours
iflowfor8hours / crosflex_downloader.sh
Created September 26, 2022 02:59 — forked from sj-dan/crosflex_downloader.sh
Script to fetch and download the latest version of the Chrome OS Flex image
#!/bin/bash
URLs=$(curl "https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery2.json" \
-s --output - | \
grep "^.*\"url\".*$" | \
sed "s/.*\"url\": \"\(.*\)\".*$/\1/g")
printf "\nPick which channel to download your image from. Channel name is near the end of the URL.\n\n"
select URL in $URLs;
@iflowfor8hours
iflowfor8hours / Quality-late-night.md
Last active April 27, 2020 09:04
Late night ramblings to turn into presentation of what we do

What is the big picture?

We are headed down a well-trod but ever-changing path toward becoming a cloud-native product company. There have been many distractions and upsets along the way. There will be more to come, and likely a few catastrophies. There is no going back. In some sense this journey is uniquely our own and the barriers are of our own creation. Thankfully, we are not the first to do this. The shape of what it entails and where it will lead are outlined by the creators of the practices and tools we intend to adopt along the way. The Cloud Native Computing Foundation describes it in the CNCF Trail Map

CNCF Trail Map

The broad strokes of our journey will be:

  1. Containerization, CD, and configuration
  2. Orchestration, Observability, and Analysis
@iflowfor8hours
iflowfor8hours / nastyerror.txt
Created September 2, 2018 22:33
I thougth you would enjoy the condesencion in the tone of this error message.
matt@laststand:~$ usermod -aG sudo matt
Command 'usermod' is available in '/usr/sbin/usermod'
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
usermod: command not found
matt@laststand:~$ sudo usermod -aG su
@iflowfor8hours
iflowfor8hours / disable.sh
Created July 13, 2018 08:00
Disable bunch of #$!@ in Sierra (Version 2.1)
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi
@iflowfor8hours
iflowfor8hours / termux-themer.sh
Last active February 26, 2018 22:37 — forked from pgaskin/termux-themer.sh
Please pay the developers, termux is great https://github.com/termux/termux-styling
#!/bin/bash
# USAGE:
# curl -o termux-themer.sh https://gist.githubusercontent.com/iflowfor8hours/eb56ce57ec886f5e14676d081ba616d0/raw/4a7ca295538262ef579d121ffefd4eb5ee27de68/termux-themer.sh
# chmod +x termux-themer.sh
# ./termux-themer base16-monokai-dark
function jsonValue() {
KEY=$1
num=$2
@iflowfor8hours
iflowfor8hours / ardunio-tomfoolery.sh
Created January 18, 2018 02:21
Shell output from getting the pro micro to go to bootstrap mode
slide ~/src/6112884-pro-micro-controller $ virtualenv venv
New python executable in /home/matt/src/6112884-pro-micro-controller/venv/bin/python2.7
Also creating executable in /home/matt/src/6112884-pro-micro-controller/venv/bin/python
Installing setuptools, pip, wheel...done.
slide ~/src/6112884-pro-micro-controller $ python --version
Python 2.7.14
slide ~/src/6112884-pro-micro-controller $ pip install -r requirements.txt
Collecting pyserial==2.7 (from -r requirements.txt (line 1))
Installing collected packages: pyserial
Found existing installation: pyserial 3.4
@iflowfor8hours
iflowfor8hours / ingress-and-service.yaml
Created May 8, 2017 15:36
external services using k8s and traefik
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: testlanding
namespace: landingpages
annotations:
kubernetes.io/ingress.class: traefik
traefik.frontend.passHostHeader: "false"
spec:
@iflowfor8hours
iflowfor8hours / keybase.md
Created October 7, 2015 23:09
keybase proof

Keybase proof

I hereby claim:

  • I am iflowfor8hours on github.
  • I am iflowfor8hours (https://keybase.io/iflowfor8hours) on keybase.
  • I have a public key whose fingerprint is C5C7 1FA8 104A A6D1 1C97 850B 40DA F6FD DF8A AEA5

To claim this, I am signing this object:

notify { $app_artifact_name: }
thing::install_app { $app_artifact_name:
config_filename => $app_artifact_name,
}
{
"config_artifact_url": "http://192.168.57.18:8081/nexus/service/local/repositories/goartifacts/content/marketplace/configuration/configuration.zip",
"artifact_repository_base_url": "http://192.168.57.18:8081/nexus/service/local/repositories/goartifacts/content/marketplace",
"app_artifact_name": "webservice",