Skip to content

Instantly share code, notes, and snippets.


Allan Ralph Hutalla aputs

  • Earth
  • Philippines
View GitHub Profile
nrjdalal /
Last active Jul 12, 2022
Create Virtual Machines using QEMU on Silicon based Apple Macs

Install QEMU on Silicon based Apple Macs (June 2021)

Option 1 - Automatically

zsh -c "$(curl -fsSL"

Option 2 - Manually

  • Install Xcode command line tools

xcode-select --install
citruz /
Last active Aug 7, 2022
Create Ubuntu and Windows VMs with QEMU on Apple Silicon

Running Linux and Windows on M1 with QEMU

30.11.2020: Updated with the new patchseries and instructions for Windows

02.12.2020: Added tweaks

08.12.2020: Updated with patchseries v4

31.01.2020: Updated with patchseries v6


Adapted from:

Like this:

# - deps ------------------------------------------------------------------

sudo port install ninja

slikts / Linuxifying
Last active Feb 10, 2022
Linuxifying Windows
View Linuxifying

Linuxifying Windows for development

This guide is for 'linuxing-up' Windows as a development environment; it focuses on setting up [WSL], an Ubuntu Hyper-V virtual machine, [wsltty] (a nice terminal emulator) and various tweaks.


aelbore /
Last active Apr 25, 2022
Step by Step creating web components in typescript using rollup

Getting Started

  • Install Dependencies
    npm init
    npm install --save-dev ts-node typescript tslib express @types/express

Create your web server

  • Create server.ts in root folder of your app.
floringogianu / conda-env-autodetect.plugin.zsh
Last active Jul 18, 2018
zsh plugin for autodetecting conda environments based on a .venv file in your project
View conda-env-autodetect.plugin.zsh
# conda-env-autodetect.plugin.zsh
# Copy this file to ~/.oh-my-zsh/plugins/conda-env-autodetect/
# And make sure you have a .venv file with your env's name in your
# preject's root folder.
_conda_env_auto_activate() {
if [ -f ".venv" ]; then
# check conda is active
ahmetb /
Last active Jul 12, 2022
Script to clean up Google Container Registry images pushed before a particular date
# Copyright © 2017 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
singledigit / cognito.yaml
Last active Jul 2, 2022
Create a Cognito Authentication Backend via CloudFormation
View cognito.yaml
AWSTemplateFormatVersion: '2010-09-09'
Description: Cognito Stack
Type: String
Description: Unique Auth Name for Cognito Resources
# Creates a role that allows Cognito to send SNS messages

GZ. "ssd" is my scratch pool, mounted at /nfs/scratch

$ zfs set sharenfs=ro=@ ssd
$ >/nfs/scratch/testfile
$ ls -l /nfs/scratch/testfile
-rw-r--r--   1 root     root           0 Nov  7 14:47 /nfs/scratch/testfile

Create zone and test read-only mount