Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
/* | |
* Safari and Edge polyfill for createImageBitmap | |
* https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap | |
* | |
* Support source image types Blob and ImageData. | |
* | |
* From: https://dev.to/nektro/createimagebitmap-polyfill-for-safari-and-edge-228 | |
* Updated by Yoan Tournade <yoan@ytotech.com> | |
*/ | |
if (!('createImageBitmap' in window)) { |
import Vue from 'vue' | |
import { Route } from 'vue-router' | |
import { Store } from 'vuex' | |
import { MetaInfo } from 'vue-meta' | |
import { AxiosInstance } from 'axios' | |
interface NuxtContext { | |
isClient: boolean | |
isServer: boolean | |
isStatic: boolean |
from itertools import islice | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import db | |
from firebase_admin import firestore | |
def _split(data, size=500): | |
"""Splits a dictionary into a sequence of smaller dictionaries.""" |
{ | |
"hosting": { | |
"public": "public", | |
"rewrites": [ | |
{ | |
"source": "**", | |
"function": "app" | |
} | |
], | |
"redirects": [{ |
この記事は 高知工科大 Advent Calendar 2017 の17日目の記事です。
昨年度のカレンダーはこちら: 高知工科大 Advent Calendar 2016
趣味で 絵文字ジェネレーター というウェブサービスを開発しています。
まだ ⭐ を付けていない方は、この記事を読む前に Emoji-Web へ ⭐ を付けてください。
なお、:star: を付けた方は、この記事を閉じても構いません。
This is a tutorial for building and installing the latest release version (0.7.3 as of writing) of "ZFS on Linux" on a Raspberry Pi 3 running Raspbian Stretch. Specifically, we'll be building the dkms
version of ZoL, which saves you the hassle of re-compiling the kernel modules after every kernel update. Even though ZoL added support for building dkms packages for debian in version 0.7.3, the build process on a Raspberry Pi 3 is not quite straight-forward. Hopefully, these instructions will make it easier.
$ sudo apt-get update
$ sudo apt-get install build-essential autoconf libtool gawk alien fakeroot
$ sudo apt-get install dkms zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev parted lsscsi wget ksh
const webpack = require('webpack'); | |
require('dotenv').config({ | |
path: process.env.NODE_ENV === 'production' ? '.env.production' : '.env' | |
}); | |
module.exports = { | |
webpack: config => { | |
const env = Object.keys(process.env).reduce((acc, curr) => { | |
acc[`process.env.${curr}`] = JSON.stringify(process.env[curr]); |
# use the latest ubuntu environment (18.04) available on travis | |
dist: bionic | |
language: go | |
# You don't need to test on very old versions of the Go compiler. It's the user's | |
# responsibility to keep their compiler up to date. | |
go: | |
- 1.16.x |