Skip to content

Instantly share code, notes, and snippets.

@5st7
5st7 / manifest.yaml
Created March 25, 2024 01:21
cilium l7 load balancer testing
apiVersion: apps/v1
kind: Deployment
metadata:
name: grpc-java-example-hostname
spec:
replicas: 3
selector:
matchLabels:
app: grpc-java-example-hostname
template:
<!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= render 'layouts/shim' %>
</head>
" for Python
let g:python_host_prog = $PYENV_ROOT.'/versions/neovim2/bin/python'
let g:python3_host_prog = $PYENV_ROOT.'/versions/neovim3/bin/python'
" for dein.vim
if &compatible
set nocompatible
endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.cache/dein')

Keybase proof

I hereby claim:

  • I am 5st7 on github.
  • I am 5st7 (https://keybase.io/5st7) on keybase.
  • I have a public key ASAxVNt-zajANZuq-Zfn5KWXQp_niS9bKaI03plR65btjQo

To claim this, I am signing this object:

@5st7
5st7 / docomo_voiceroid.py
Last active December 11, 2017 16:12
docomoの音声合成でウェイってする感じのアレです
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import requests
import json
import types
import ffmpy
import struct
import subprocess
@5st7
5st7 / record.html
Created June 15, 2016 05:55
06/15日のC#勉強会で使ったダミーデータ
@5st7
5st7 / Example1.cs
Last active June 15, 2016 05:45
06/15日のC#勉強会で出した課題の解答例
using System;
using CampusSquare;
class Example1
{
static void Main(string[] args)
{
var grades = new CampusSquare.DummyCampusSquare("record.html").GetGrades();
double creditSum = 0, gradeSum = 0;