Skip to content

Instantly share code, notes, and snippets.

@osyoyu
osyoyu / Rodin.xml
Created February 6, 2018 02:30
~/Library/Group Containers/UBF8T346G9.Office/User Content.localized/Themes.localized/Theme Fonts
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:fontScheme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Rodin">
<a:majorFont>
<a:latin typeface="FOT-Rodin ProN EB" />
<a:ea typeface="FOT-Rodin ProN EB" />
<a:cs typeface="" />
</a:majorFont>
<a:minorFont>
<a:latin typeface="FOT-Rodin ProN B" />
<a:ea typeface="FOT-Rodin ProN B" />
@osyoyu
osyoyu / webpack.config.js
Created January 15, 2018 15:42
最近の webpack.config.js
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
const isDevelopment = process.env.NODE_ENV !== 'production';
let config = {
entry: {
app: [
@osyoyu
osyoyu / Dockerfile
Created December 5, 2017 09:17
checking that generated files are newer than configure... で止まるやつ
FROM alpine:3.7
RUN apk update
RUN apk add \
autoconf \
automake \
boost-dev \
curl \
gcc \
g++ \
show interfaces
ethernet eth0 {
description "Internet (ONU)"
dhcpv6-pd {
no-dns
pd 0 {
interface switch0 {
host-address ::1
prefix-id 2
service slaac
@osyoyu
osyoyu / config.json
Created July 1, 2017 14:19
Chinachu用 ACCSチャンネルメモ
{
"channels": [
{ "type": "GR", "channel": "18" }, // 1 NHK東京総合
{ "type": "GR", "channel": "19" }, // 2 NHK東京Eテレ
{ "type": "GR", "channel": "25" }, // 4 日本テレビ
{ "type": "GR", "channel": "24" }, // 5 テレビ朝日
{ "type": "GR", "channel": "22" }, // 6 TBSテレビ
{ "type": "GR", "channel": "23" }, // 7 テレビ東京
{ "type": "GR", "channel": "21" }, // 8 フジテレビ
{ "type": "GR", "channel": "15" }, // 9 TOKYO MX
@osyoyu
osyoyu / git-watch
Created January 28, 2017 13:42
git-watch for macOS
#!/bin/bash
fswatch -0 -e '\.git' . | while read -d "" event
do
git add ${event} && git commit -m `date +%s`
done
@osyoyu
osyoyu / config
Created August 20, 2016 17:59
RTX1100 config
login user osyoyu *
console character ascii
login timer 1800
ip route default gateway tunnel 1
ipv6 route default gateway dhcp lan2
ipv6 prefix 1 dhcp-prefix@lan2::/64
ip lan1 address 192.168.0.1/24
ipv6 lan1 address dhcp-prefix@lan2::1/64
ipv6 lan1 rtadv send 1 o_flag=on
ipv6 lan1 dhcp service server
@osyoyu
osyoyu / sutaazu.css
Created July 18, 2016 15:11
何とは言わないマイページのスクロールを軽くするやつ
#container {
background-attachment: initial !important;
}
.m_bg-star01 {
animation: none !important;
}
#container, #container:before, .l_background-hack {
background-attachment: initial;
animation: none !important;
@osyoyu
osyoyu / build.sh
Created March 14, 2016 12:48 — forked from KOBA789/build.sh
もう Grunt やら Gulp やらで消耗したくない
#!/bin/bash
set -ue
#-------------------------------------------------------------------------------
SOURCE_DIR="."
DESTINATION_DIR="public/assets"
JAVASCRIPTS_DIR="javascripts"
STYLESHEETS_DIR="stylesheets"
@osyoyu
osyoyu / SaikohTk.pm
Created February 10, 2016 02:08
saikoh.tk を Perl で叩くやつ
use strict;
use warnings;
require LWP;
require HTTP::Request;
package SaikohTk;
sub new {
my $class = shift;