Skip to content

Instantly share code, notes, and snippets.

@hrendoh
hrendoh / madotsuki-envelope-mini.html
Last active May 18, 2020 23:01
窓付封筒あて名印刷 https://madotsuki-envelope.web.app の簡易版です
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>窓付封筒あて名印刷 簡易版</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
@hrendoh
hrendoh / usageListUI.html
Last active April 14, 2020 22:11
Usage of getListUi function
<template>
<lightning-card title="List view Labels">
<ul>
<li>{contactLabel}</li>
<li>{myObjectLabel}</li>
</ul>
</lightning-card>
</template>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Gamedev Canvas Workshop - lesson 10: finishing up</title>
<style>
* {
padding: 0;
margin: 0;
<head>
<link href="http://handsontable.com//bower_components/handsontable/dist/handsontable.full.min.css" rel="stylesheet">
</head>
<body>
<div id="example1" style="height: 200px; width: 300px; overflow: hidden;" data-originalstyle="height: 200px; width: 300px; overflow: hidden;" class="handsontable htRowHeaders htColumnHeaders">
<div class="ht_master handsontable" style="position: relative;">
<div style="position: relative; width: 300px; height: 200px;" class="wtHolder" id="content" >
<div class="wtHider" style="width: 350px; height: 464px;">
<div class="wtSpreader" style="position: relative; top: 0px; left: 0px;"><table class="htCore table"><colgroup><col class="rowHeader"><col style="width: 50px;"><col style="width: 50px;"><col style="width: 50px;"><col style="width: 50px;"><col style="width: 50px;"><col style="width: 50px;"></colgroup><thead><tr><th class="">
<div class="relative"><span class="colHeader cornerHeader">&nbsp;</span></div></th><th class="">
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.GeneralSecurityException;
import java.security.PrivateKey;
import java.util.Arrays;
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
import java.io.IOException;
import java.security.GeneralSecurityException;
import com.google.api.client.auth.oauth.OAuthHmacSigner;
import com.google.api.client.auth.oauth.OAuthParameters;
import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.api.client.util.ArrayMap;
@hrendoh
hrendoh / gist:2224288
Created March 28, 2012 06:34
daemon script for HAProxy 1.4.20 installed from sources.
#!/bin/sh
### BEGIN INIT INFO
# Provides: haproxy
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: fast and reliable load balancing reverse proxy
# Description: This file should be used to start and stop haproxy.
### END INIT INFO