Skip to content

Instantly share code, notes, and snippets.

@nomissbowling
nomissbowling / viewer_wx.py
Created July 5, 2020 01:37 — forked from Yamabiko/viewer_wx.py
Python 2.x wxPython 波形を少しずつ変えて描画しようとしたプログラム。日本語を使っているので実行するときはエンコーディングを適当に指定してください。
#!/bin/env python
#
# Written by yamabiko
# 2015/July/03
import wx
import os
import datetime
import math
@nomissbowling
nomissbowling / MeshCut.cs
Created July 8, 2020 05:04 — forked from alexcmd/MeshCut.cs
Mesh cut algorithm for Unity
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class MeshCut
{
private static Plane blade;
private static Transform victim_transform;
private static Mesh victim_mesh;
@nomissbowling
nomissbowling / file0.cpp
Created July 16, 2020 05:05 — forked from loliGothicK/file0.cpp
C++のパラメータパック基礎&パック展開テクニック ref: https://qiita.com/_EnumHack/items/677363eec054d70b298d
template < typename ...Args >
void func( Args ...args );
@nomissbowling
nomissbowling / gist:3c6af0aedab7cc4a83b77e579dd53d98
Created October 3, 2020 01:29 — forked from xl1/gist:940d653451fd96a06618a6df08d5df84
PDF に謎の漢字が含まれるとき

PDF に謎の漢字が含まれるとき

PDF などの中にある一部の日本語の漢字が、見た目は同じだけど異なる謎の文字に変換されていることがある

@nomissbowling
nomissbowling / file0.txt
Created October 4, 2020 03:13 — forked from Yama-to/file0.txt
RubyとPythonでGoogle APIを叩いてみた − データベースをSpreadsheetにしてGoogle Driveで管理する ref: http://qiita.com/Yama-to/items/74273213d5d89db7eb37
require 'google/apis/drive_v3'
require 'googleauth'
require 'googleauth/stores/file_token_store'
require 'fileutils'
credentials_dir = File.join(Dir.home, '.credentials')
CLIENT_SECRETS_PATH = File.join(credentials_dir, 'client_secret.json')
CREDENTIALS_PATH = File.join(credentials_dir, 'sampleApp.yaml')
OOB_URI = 'urn:ietf:wg:oauth:2.0:oob'