Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

#
# https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/spx-basics?tabs=macOS%2Cterminal
# 1. x64むけの.net SDKをダウンロードする
open https://dotnet.microsoft.com/en-us/download
# ".net SDK x64"をダウンロードする
# ".net SDK x64"インストールする
# 2. x64用のdotnetからAzure Speech CLIをインストール
===
Instance details
Image: Oracle-Linux-7.9-aarch64-2021.06.20-0
Launch mode: PARAVIRTUALIZED
Shape configuration
Shape: VM.Standard.A1.Flex
OCPU count: 4
Network bandwidth (Gbps): 4
Memory (GB): 32
Local disk: Block storage only
@odekopoon
odekopoon / appcds-openjdk11.patch
Created August 15, 2020 15:56
kkinnear/zprint with appcds (商用のOracle JDK8以外でどうなるか)
--- appcds 2020-08-16 00:15:45.000000000 +0900
+++ appcds-openjdk11 2020-08-16 00:38:43.000000000 +0900
@@ -100,14 +100,14 @@
echo "Creating loaded class list..."
-java -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:off -XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null
+java -Xshare:off -XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null
echo "Creating loaded class cache from list..."
@odekopoon
odekopoon / note.txt
Last active December 26, 2018 17:11
JVM別の起動時間
$ LANG=C TZ=UTC date && docker run --rm -it --cpuset-cpus=0 -p 3000:3000 -v $(PWD):/opt/app -w /opt/app azul/zulu-openj
dk:8 sh -c "date && java -XX:TieredStopAtLevel=1 -Xbootclasspath/a:/opt/app/target/duct-sample-standalone.jar duct_samp
le.main"
Sat Sep 29 15:35:56 GMT 2018
Sat Sep 29 15:35:57 UTC 2018
18-09-29 15:36:18 3fd9bdc5ecf4 REPORT [duct.server.http.jetty:13] - :duct.server.http.jetty/starting-server {:port 3000} 21
$ LANG=C TZ=UTC date && docker run --rm -it --cpuset-cpus=0 -p 3000:3000 -v $(PWD):/opt/app -w /opt/app azul/zulu-openj
dk:8 sh -c "date && java -XX:TieredStopAtLevel=2 -Xbootclasspath/a:/opt/app/target/duct-sample-standalone.jar duct_samp
le.main"
@odekopoon
odekopoon / comparemerge.rb
Created December 26, 2018 16:42
Update comparemerge to 2.10y
cask 'comparemerge' do
version '2.10y'
sha256 'fa25244eba6609956fb2bbaff363f5829c453b99db08d89b3601e026f6a3c406'
url "https://downloads.sourceforge.net/comparemergenosandbox/CompareMerge%20#{version}.zip"
appcast 'https://sourceforge.net/projects/comparemergenosandbox/rss'
name 'CompareMerge'
homepage 'https://sourceforge.net/projects/comparemergenosandbox/'
app "CompareMerge #{version}.app"
@odekopoon
odekopoon / memo.md
Last active September 18, 2018 08:23
AWS MarketplaceのAzul Zingについて

AWSマーケットプレイスで、AzulのZingのサブスクリプションできる (月10ドル)

サブスクリプションフィー以外は、起動したときに支払いなので、検証用にはいいかも? https://aws.amazon.com/marketplace/seller-profile?id=5829a418-9742-4812-8f88-888a16300847

2018/9/18時点でのバージョン "Usage Instructions: Zing AMIs come preinstalled with Zing 18.06, Azul Inspector v49 and jHiccup 2.0.9. The default Java version is zing-jdk1.8.0-18.06.0.0-5.x86_64. "

AMIのバージョンアップ履歴は、

  • 2018Q3 (Sep 13, 2018)
@odekopoon
odekopoon / memo.md
Last active September 18, 2018 04:27
【雑記】 GraalVM 1.0-RC6のAOTコンパイル
@odekopoon
odekopoon / netlify-deploy.log
Last active September 18, 2018 04:33
netlifyのdeployログを確認したところ、サービス側のドキュメントで説明がなかったと思われるが、clojureやphpのビルドツールも含まれている。
4:00:14 PM: Build ready to start
4:00:15 PM: Fetching cached dependencies
4:00:15 PM: Failed to fetch cache, continuing with build
4:00:15 PM: Starting to prepare the repo for build
4:00:16 PM: No cached dependencies found. Cloning fresh repo
4:00:16 PM: git clone git@gitlab.com:odekopoon/antd
4:00:17 PM: Preparing Git Reference refs/heads/master
4:00:18 PM: Starting build script
4:00:18 PM: Installing dependencies
4:00:19 PM: Downloading and installing node v8.11.3...
@odekopoon
odekopoon / mackerel.memory.sh
Last active July 8, 2018 05:54
Mackerel カスタムメトリック inspired by ZabbixでMuninのMemoryグラフを再現する https://www.riscascape.net/archives/6588
#!/bin/sh
if [ "$MACKEREL_AGENT_PLUGIN_META" = "1" ]; then
/bin/cat << 'EOF';
# mackerel-agent-plugin
{
"graphs": {
"memory": {
"label": "Memory usage - Munin style",
"unit": "bytes",
@odekopoon
odekopoon / zabbix.memory.sh
Last active July 8, 2018 06:08
add some change to ZabbixでMuninのMemoryグラフを再現する https://www.riscascape.net/archives/6588
#!/bin/sh
TEXT=$(/bin/cat /proc/meminfo | /bin/grep -F -e 'MemTotal:' -e 'MemFree:' -e 'Buffers:' -e 'Cached:' -e 'Slab:' -e 'SReclaimable:' -e 'SUnreclaim:' -e 'PageTables:' -e 'SwapCached:' -e 'SwapTotal:' -e 'SwapFree:' | /bin/awk '{print $2 * 1024}'|/usr/bin/tr '\n' ',')
IFS=','
set -- $TEXT
MemTotal=$1
MemFree=$2
Buffers=$3