Skip to content

Instantly share code, notes, and snippets.

View hibiarata's full-sized avatar

Kenzoh Sekitoh hibiarata

  • KallasCommunio
  • Okayama, Japan
View GitHub Profile
@hibiarata
hibiarata / AnkiMultipleChoiceTemplate.html
Created September 1, 2023 06:09 — forked from josephmisiti/AnkiMultipleChoiceTemplate.html
A Multiple Choice Template for Anki Cards
<script>
// MULTIPLE CHOICE TEMPLATE v1.2 {{{
// https://gist.github.com/hgiesel/2e8361afccca5713414a6a4ee66b7ece
const query = 'div#thecard'
const colors = ['orange', 'olive', 'maroon', 'aqua', 'fuchsia', 'navy', 'lime']
const fieldPadding = '4px'
const syntax = {
openDelim: '(^',
closeDelim: '^)',
@hibiarata
hibiarata / company-tern.el
Created April 27, 2022 14:03 — forked from okomestudio/company-tern.el
Emacs company-tern mode source
;;; company-tern.el --- Tern backend for company-mode -*- lexical-binding: t -*-
;; Copyright (C) 2013-2016 by Artem Malyshev
;; Author: Artem Malyshev <proofit404@gmail.com>
;; URL: https://github.com/proofit404/company-tern
;; Version: 0.3.0
;; Package-Requires: ((company "0.8.0") (tern "0.0.1") (dash "2.8.0") (dash-functional "2.8.0") (s "1.9.0") (cl-lib "0.5.0"))
;; This program is free software; you can redistribute it and/or modify
@hibiarata
hibiarata / index.html
Last active December 18, 2017 15:20
React Dropdown Menu
<header>
<h1>React Dropdown Menu Example</h1>
</header>
<div id="main"></div>
<footer>
<a href="https://github.com/mlaursen/react-dd-menu" target="_blank">
<span class="fa fa-github fa-4x"></span>
</a>
</footer>
var Col = require('react-bootstrap/lib/Col')
var PageHeader = require('react-bootstrap/lib/PageHeader')
var React = require('react')
var Row = require('react-bootstrap/lib/Row')
var {connect} = require('react-redux')
var {reduxForm} = require('redux-form')
var DateInput = require('./DateInput')
var FormField = require('./FormField')
var LoadingButton = require('./LoadingButton')
@hibiarata
hibiarata / gist:6266846
Created August 19, 2013 08:28
PHP 5.5. Compile error.
Macbook:~% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc47/4.7.3/gcc/libexec/gcc/x86_64-apple-darwin11.4.2/4.7.3/lto-wrapper
Target: x86_64-apple-darwin11.4.2
Configured with: ../configure --build=x86_64-apple-darwin11.4.2 --prefix=/usr/local/Cellar/gcc47/4.7.3/gcc --datarootdir=/usr/local/Cellar/gcc47/4.7.3/share --bindir=/usr/local/Cellar/gcc47/4.7.3/bin --enable-languages=c,c++,fortran,java,objc,obj-c++ --program-suffix=-4.7 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-ppl=/usr/local/opt/ppl011 --with-cloog=/usr/local/opt/cloog-ppl015 --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --with-ecj-jar=/usr/local/opt/ecj/share/java/ecj.jar --disable-multilib
Thread model: posix
gcc version 4.7.3 (GCC)
Macbook:~% php -v