Skip to content

Instantly share code, notes, and snippets.

View rkyymmt's full-sized avatar

Rikiya Yamamoto rkyymmt

View GitHub Profile
@rkyymmt
rkyymmt / .gitignore
Created December 29, 2022 08:21 — forked from zeero/.gitignore
Auto-generate mermaid class diagram powered by Sourcery
class_diagram.md
@rkyymmt
rkyymmt / README.md
Created September 21, 2019 08:00 — forked from davideicardi/README.md
Alpakka Kafka connector (akka-stream-kafka) example. Produce and consumer kafka messages using Akka Stream.

Alpakka Kafka connector (akka-stream-kafka) example

Simple solution to use Alpakka Kafka connector to produce and consume kafka messages.

I assume that you have 2 scala apps, a producer and a consumer.

Producer

Add the following dependencies:

@rkyymmt
rkyymmt / camera.ino
Created June 29, 2018 06:02 — forked from ksasao/camera.ino
Grove Serial Camera Kit demo for M5Stack
//
// Grove Serial Camera Kit demo for M5Stack
//
// !! CAUTION !!
// This code uses M5Stack Grove I2C as Grove UART (serial port).
// REMOVE all I2C devices.
//
// original code:
// https://github.com/Seeed-Studio/Grove_Serial_Camera_Kit/blob/master/SerialCameral_DemoCode_CJ_OV528_SoftSer/SerialCameral_DemoCode_CJ_OV528_SoftSer.ino
// File SerialCamera_DemoCode_CJ-OV528.ino
@rkyymmt
rkyymmt / README.md
Last active August 29, 2015 14:22 — forked from denji/README.md

Quick uninstall JetBrains settings:

curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../code-mirror/code-mirror.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@rkyymmt
rkyymmt / 0_reuse_code.js
Created February 6, 2014 09:53
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
$ vagrant plugin install vagrant-proxyconf --debug
INFO global: Vagrant version: 1.4.1
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_HTTP_PROXY="http://10.10.10.10:8080/"
INFO global: VAGRANT_HTTPS_PROXY="http://10.10.10.10:8080/"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
@rkyymmt
rkyymmt / jetty
Created September 27, 2013 02:51 — forked from peterc/jetty
#!/usr/bin/env bash
#
# Startup script for jetty under *nix systems (it works under NT/cygwin too).
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Jetty 7 webserver
# processname: jetty
# ========================
@rkyymmt
rkyymmt / jetty
Created September 27, 2013 02:50 — forked from peterc/jetty
#!/usr/bin/env bash
#
# Startup script for jetty under *nix systems (it works under NT/cygwin too).
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Jetty 7 webserver
# processname: jetty
# ========================
@rkyymmt
rkyymmt / gist:3653719
Created September 6, 2012 09:27
Syntax Sugar of FunctionN
...