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
<!-- this gist is public domain --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ImportGroup Label="PropertySheets" /> | |
<PropertyGroup Label="UserMacros"> | |
<ovckinect /> | |
</PropertyGroup> | |
<PropertyGroup /> | |
<ItemDefinitionGroup> | |
<Link> |
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
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"browse": { | |
"path": [ | |
"${workspaceFolder}" | |
], | |
"limitSymbolsToIncludedHeaders": true | |
}, |
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
// SmartHair DBC DEMO Program | |
public static enum VIEWMODE{ | |
rect, | |
circle, | |
animation, | |
shade; | |
private static VIEWMODE[] vals = values(); | |
public VIEWMODE next() | |
{ |
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
using System; | |
using System.IO; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
// mixed these codes | |
// https://qiita.com/Nekomasu/items/dcdf73f221fd64875ef0 | |
// http://entitycrisis.blogspot.com/2017/02/take-unity-screenshot-with-alpha.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
function decrypt-pdf() { | |
command ghostscript -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=${1%.*}-dec.pdf -c .setpdfwrite -f $1 | |
} | |
function unlock-pdf() { | |
command ghostscript -q -dNOPAUSE -dBATCH -sPDFPassword=$2 -sDEVICE=pdfwrite -sOutputFile=${1%.*}-dec.pdf -c .setpdfwrite -f $1 | |
} |
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
''' | |
Blender Script - Copy "Viewer Node" image to clipboard (for blender 2.8) | |
- Windows only | |
- needs: Python module: Pillow (PIL), pywin32 | |
usage: | |
- setup pillow and pywin32 package with pip | |
- import this script as addon | |
- add "Vewer" node to compositor and link it |
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
/* フォントを変える */ | |
:root { | |
--body-font: "Rounded Mplus 1c", Roboto, "Open Sans", "Helvetica Neue", | |
Helvetica, Arial, sans-serif; | |
--monospace-font: "MigMix 1M", Inconsolata, Consolas, Menlo, "Liberation Mono"; | |
--monospace-font-size: 0.8rem; | |
} | |
/* 目次レベルを調整 */ |