\documentclass[a4j, twocolumn, 10pt]{jsarticle}
\title{}
\author{}
\date{}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable */ | |
declare module 'vue2-google-maps' { | |
import { PluginFunction } from 'vue' | |
export const install: PluginFunction<{}> | |
export type googleMaps = typeof google.maps | |
namespace google.maps { | |
/** *** Map *****/ | |
class Map extends MVCObject { | |
constructor(mapDiv: Element | null, opts?: MapOptions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: yuhr <sdn.pate(at)gmail.com> | |
pkgname=ttf-cica | |
pkgver=3.0.0 | |
pkgrel=1 | |
pkgdesc="Composite font with Ubuntu Mono and Rounded Mgen+." | |
url="https://github.com/miiton/Cica" | |
license=('custom') | |
arch=('any') | |
depends=('fontconfig' 'xorg-font-utils') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.aruneko.markov | |
import scala.annotation.tailrec | |
import scala.io.Source | |
import scala.util.Random | |
object Main { | |
def main(args: Array[String]): Unit = { | |
val trigrams = Source.fromResource("kokoro.txt") | |
.getLines().filter(_ != "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 参考: http://www.mathgram.xyz/entry/rust/ad/forward | |
data Dual = Dual { x :: Double | |
, dx :: Double | |
} deriving Show | |
instance Num Dual where | |
(Dual x1 dx1) + (Dual x2 dx2) = Dual { x = x1 + x2, dx = dx1 + dx2 } | |
(Dual x1 dx1) * (Dual x2 dx2) = Dual { x = x1 * x2, dx = dx1 * x2 + x1 * dx2 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
double fact_rev(int n) { | |
double result = 1.0; | |
for (int i = 1; i <= n; ++i) { | |
result *= 1.0 / i; | |
} | |
return result; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# インストール先ディレクトリの生成と本体のダウンロード | |
mkdir -p $HOME/opt/latexmk | |
wget -O $HOME/opt/latexmk/latexmk http://mirrors.ctan.org/support/latexmk/latexmk.pl | |
# 実行権限とPATHの設定 | |
chmod +x $HOME/opt/latexmk/latexmk | |
echo 'PATH="$HOME/opt/latexmk:$PATH"' >> $HOME/.bashrc | |
# 設定ファイルの書き込み | |
# 参考:http://konn-san.com/prog/why-not-latexmk.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd | |
mkdir src | |
mkdir opt | |
cd ./src | |
wget http://www.openssl.org/source/openssl-1.1.0b.tar.gz | |
wget https://www.libssh2.org/download/libssh2-1.8.0.tar.gz --no-check-certificate | |
wget https://curl.haxx.se/download/curl-7.50.3.tar.bz2 --no-check-certificate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
g++ -o $1 $1.cpp | |
if [ ! -e ./bin ]; then | |
mkdir bin | |
fi | |
mv $1 ./bin/ |