This file contains hidden or 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
# coding:utf-8 | |
# pylint: disable=C0111,C0103,E0401 | |
import time | |
import cv2 as cv | |
class App(object): | |
def __init__(self, algorithm): |
This file contains hidden or 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 asus4.videosupportedplugin; | |
import android.media.MediaCodecInfo; | |
import android.media.MediaCodecList; | |
/** | |
* Created by ibu on 2017/03/12. | |
*/ | |
public final class VideoSupportedPlugin { |
This file contains hidden or 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/bash | |
if [ $# -ne 2 ]; then | |
echo "option is ./namae.sh 性 名" 1>&2 | |
exit 1 | |
fi | |
echo "downloading $1 $2" | |
curl "https://enamae.net/download.php?sei=$1&mei=$2" > "$1$2.jpg" |
This file contains hidden or 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
/usr/local/bin/blueutil power 0 | |
sleep 1 | |
/usr/local/bin/blueutil power 1 | |
osascript -e 'display notification "Restarted" with title "Bluetooth" ' |
This file contains hidden or 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; | |
// Port from c++ | |
// https://gist.github.com/asus4/1ec57e68ba9fa1363a6f | |
public class LPF | |
{ | |
double[] ax = new double[3]; | |
double[] by = new double[3]; | |
double[] xv = new double[3]; |
This file contains hidden or 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
/* | |
MIT License | |
Copyright (c) 2021 Koki Ibukuro | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or 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 UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using MiniJSON; | |
namespace AppKit | |
{ | |
public class Slack | |
{ | |
string _webhookUrl; |
This file contains hidden or 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 | |
echo "this is test" |
This file contains hidden or 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 | |
# psdを全部pngで書き出す | |
for f in *.psd; do convert $f[0] ${f/psd/png}; done |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>job.mackerl</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/PATH_TO_MACKEREL_AGENT/mackerel-agent</string> | |
<string>-conf=/Users/USER/Library/mackerel-agent/mackerel-agent.conf</string> |