Skip to content

Instantly share code, notes, and snippets.

import System.IO
import XMonad
import XMonad.Config
import XMonad.Config.Desktop
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.SetWMName
import XMonad.Util.Run (spawnPipe)
import XMonad.Util.EZConfig
Config { font = "xft:Migu 1P:size=14:bold:antialias=true"
--font = "-misc-fixed-*-*-*-*-13-*-*-*-*-*-*-*"
, additionalFonts = []
, borderColor = "black"
, border = BottomB
, bgColor = "black"
, fgColor = "grey"
, position = Top
, lowerOnStart = False
, hideOnStart = False
@nakatashi
nakatashi / Reticle.shader
Created May 27, 2018 01:54
Parallax shader for holographic / reflector sight
Shader "Custom/Reticle"
{
Properties
{
_MainTex ("Texture", 2D) = "White" {}
_Emission ("Emission", 2D) = "White" {}
[HDR] _EmissionColor ("Emission Color", Color) = (0,0,0)
_Depth ("Depth", Float) = 0.1
_Scale ("Scale", Float) = 1
}
@nakatashi
nakatashi / init.el
Last active March 13, 2019 06:58
init
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@nakatashi
nakatashi / FABRIK.cs
Last active September 16, 2017 13:02
FABRIK
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.Assertions;
[ExecuteInEditMode]
public class FABRIK_unsafe : MonoBehaviour {
public int ChainLength;
// Target should not be child of root bone
public Transform Target;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
//モーション補間のテスト
namespace TestingEnvironment{
//http://runevision.com/thesis/rune_skovbo_johansen_thesis.pdf を参考にした