Skip to content

Instantly share code, notes, and snippets.

View mika-f's full-sized avatar
🌸
PLASTIC MEMORIES

MOCHIZUKI Natsune mika-f

🌸
PLASTIC MEMORIES
View GitHub Profile
@mika-f
mika-f / README.md
Created December 11, 2022 13:12
Unity Particle System : やりたいこと別設定逆引き

Unity Particle System : やりたいこと別設定逆引き

これやりたい!から Particle System の設定を逆引きするだけのメモ帳

パーティクルの出現位置を、 Circle の円周上のみにしたい

上記画像のように、ある円の円周上にのみパーティクルを出現させたい場合は以下のように設定する:

@mika-f
mika-f / 📊 Weekly development breakdown
Last active October 30, 2020 15:12
Weekly development breakdown
Other 6 hrs 43 mins ████████████▊░░░░░░░░ 60.7%
C# 4 hrs 21 mins ████████▏░░░░░░░░░░░░ 39.3%
@mika-f
mika-f / gist:8ec8e0c181fc85afbfde2d051383120b
Last active June 21, 2019 10:26
みてるなうブックマークレット
javascript:(
function() {
const host = "https://twitter.com/intent/tweet";
const url = location.href;
const title = document.title;
const text = `${title} ${url} #miteru`;
window.open(`${host}?text=${encodeURIComponent(text)}`, null, 'width=530,height=300,menubar=no,toolbar=no,scrollbars=yes');
}
)()
@mika-f
mika-f / keybase.md
Last active November 11, 2018 11:35

Keybase proof

I hereby claim:

  • I am mika-f on github.
  • I am mika_f (https://keybase.io/mika_f) on keybase.
  • I have a public key ASDBx-Cs5YvCoorRoFJnIrA_uzykZRoOkDgjmb-MwXjesgo

To claim this, I am signing this object:

@mika-f
mika-f / vs.md
Last active February 2, 2020 09:59
Softbank 光 vs Softbank Air

速度比較

Date Softbank Air Softbank Hikari
2018/09/30 18:00 2.6 Mbps 22 Mbps
2018/09/30 21:00 2.8 Mbps 3.9 Mbps
2018/10/01 20:00 2.8 Mbps 180 Mbps
2018/10/02 20:00 2.9 Mbps 220 Mbps

Keybase proof

I hereby claim:

  • I am mika-f on github.
  • I am mikazuki (https://keybase.io/mikazuki) on keybase.
  • I have a public key whose fingerprint is D92B 05EE A4FE 9CFD 6B69 275C F07A 99B6 7B7A 05D1

To claim this, I am signing this object:

@mika-f
mika-f / pure.c
Last active September 21, 2023 12:32
// Compiled on CentOS 7 x64
// $ gcc --version
// gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
// Copyright (C) 2015 Free Software Foundation, Inc.
// This is free software; see the source for copying conditions. There is NO
// warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// $ rm pure.out
// $ gcc pure.c -o pure.out
// $ ./pure.out
#include <stdio.h>
<table>
<thead>
<tr>
<th>Key</th>
<th>Dark</th>
<th>Light</th>
</thead>
<tbody>
<tr>
@mika-f
mika-f / Program.cs
Last active December 7, 2015 14:46
Launch other apps from Xamarin.Forms
// Open Google Chrome from Xamarin.Forms (Simplicity)
var url = "https://google.co.jp";
if(url.StartsWith("https://"))
{
url = url.Replace("https://", "googlechromes://");
}
else
{
url = url.Replace("http://", "googlechrome://");
}
package tk.mikazuki;
import com.google.common.eventbus.Subscribe;
import org.spongepowered.api.event.state.*;
import org.spongepowered.api.plugin.Plugin;
@Plugin(id = "PluginMain", name = "PluginMain", version = "1.0")
public class PluginMain {
@Subscribe