Skip to content

Instantly share code, notes, and snippets.

View Stephanvs's full-sized avatar

Stephan van Stekelenburg Stephanvs

View GitHub Profile

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@Stephanvs
Stephanvs / INSTALL.md
Last active April 3, 2023 07:55 — forked from thomasheller/INSTALL.md
Install Arch Linux in VirtualBox VM
@Stephanvs
Stephanvs / elasticsearch-docker.yaml
Created February 22, 2022 07:56
Docker Compose for Elastic Search
version: '3'
services:
elasticsearch:
image: elasticsearch:7.1.0
ports:
- '9200:9200'
- '9300:9300'
environment:
- discovery.type=single-node
volumes:
name: NuKeeper Update NuGet Dependencies
on:
schedule:
- cron: 0 11 * * *
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_MULTILEVEL_LOOKUP: false
jobs:
@Stephanvs
Stephanvs / perf.txt
Created April 20, 2021 07:17
SSD Perf
C:
------------------------------------------------------------------------------
CrystalDiskMark 8.0.1 x64 (UWP) (C) 2007-2021 hiyohiyo
Crystal Dew World: https://crystalmark.info/
------------------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes
[Read]
SEQ 1MiB (Q= 8, T= 1): 3562.856 MB/s [ 3397.8 IOPS] < 2353.16 us>
@Stephanvs
Stephanvs / entry.md
Created December 9, 2020 12:44
Saving terminal output to a file

Tags

  • unix
  • terminal
  • stdout
  • stdin
  • redirect

Question

How do I save the output of a command to a file?

@Stephanvs
Stephanvs / capture.js
Last active March 2, 2020 13:56
WebRTC Demos
/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/
'use strict';
@Stephanvs
Stephanvs / sketch.ino
Created August 31, 2019 19:58
Arduino use SD Card
/*
SD card datalogger
This example shows how to log data from three analog sensors
to an SD card using the SD library.
The circuit:
analog sensors on analog ins 0, 1, and 2
SD card attached to SPI bus as follows:
** MOSI - pin 11
@Stephanvs
Stephanvs / sketch.ino
Created August 31, 2019 19:58
Arduino use SD Card
/*
SD card datalogger
This example shows how to log data from three analog sensors
to an SD card using the SD library.
The circuit:
analog sensors on analog ins 0, 1, and 2
SD card attached to SPI bus as follows:
** MOSI - pin 11
@Stephanvs
Stephanvs / sketch.ino
Created August 31, 2019 19:58
Arduino use SD Card
/*
SD card datalogger
This example shows how to log data from three analog sensors
to an SD card using the SD library.
The circuit:
analog sensors on analog ins 0, 1, and 2
SD card attached to SPI bus as follows:
** MOSI - pin 11