Skip to content

Instantly share code, notes, and snippets.

View sharechiwai's full-sized avatar
🏠
Try to learn/ experiment more =P

Chi sharechiwai

🏠
Try to learn/ experiment more =P
View GitHub Profile
import Head from 'next/head';
import { useState, useEffect } from 'react';
export default function WebSpeech() {
let recognition = null;
let SpeechRecognition = null;
let SpeechGrammarList = null;
let speechRecognitionList = null;
let voices = null;
@sharechiwai
sharechiwai / sharechiwai-sp4-boxstarter.ps1
Last active October 4, 2018 02:54
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Alex Ho
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
@sharechiwai
sharechiwai / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console