Skip to content

Instantly share code, notes, and snippets.

View atsushieno's full-sized avatar

Atsushi Eno atsushieno

View GitHub Profile
@atsushieno
atsushieno / community code of conduct.md
Last active April 12, 2023 23:52
Community Code of Conduct日本語訳

これは https://communitycodeofconduct.com/ の日本語訳です。これ自体は各コミュニティでテンプレートとして使用することが期待されるものですが、特定のコミュニティを対象とする(つまり具体的な名宛人がいる)ものではありません。


コミュニティ行動規範

このコミュニティの全メンバーが、以下の行動規範に従う必要があります。このコミュニティの全メンバーが、いかなるイベントにおいても、オーガナイザーによる協力のもと、この行動規範を遵守することが求められています。私たちは、このコミュニティの全ての参加者が、誰にとっても安全な環境を保障するために、協力し合うことを期待しています。

助けが必要ですか?

using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using Irony.Parsing;
namespace FreeActionScript
{
[Language ("ActionScript", "3.0-", "ActionScript pseudo grammar")]
public class ActionScriptGrammar : Grammar
using System;
using System.Collections.Generic;
using System.IO;
using csogg;
using csvorbis;
namespace MoonVorbis
{
public class OggMediaStreamSource
{
@atsushieno
atsushieno / ZipArchivePathHandler.kt
Last active June 29, 2021 09:56
WebView Asset PathHandler that returns contents of a zip archive.
// Licensed under CC-0 terms. https://creativecommons.org/share-your-work/public-domain/cc0/
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.nio.ByteBuffer
import java.util.zip.ZipInputStream
import android.webkit.WebResourceResponse
import androidx.webkit.WebViewAssetLoader
// WebView Asset PathHandler that returns contents of a zip archive.
@atsushieno
atsushieno / gist:1655895
Created January 22, 2012 06:15
Why ObserveOn() returns such an observable that invokes Schedule() only once? There are much more observer methods to invoke!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using System.Text;
using System.Reactive.Subjects;
@atsushieno
atsushieno / Dockerfile
Created April 28, 2019 07:12
fluidsynth for Android docker build
FROM bitriseio/android-ndk
WORKDIR /usr/local/src
ENV ANDROID_NDK_PATH /opt/android-ndk
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
@atsushieno
atsushieno / flatten-sfz.js
Created March 6, 2020 08:19
flatten-sfz.js - resolve #include paths in .sfz and make sfz files loadable on SFZ tools that do not support ARIA extensions.
const fs = require('fs');
const path = require('path');
main();
function main() {
var args = process.argv.slice(2);
var sfzDirPath = args.length == 0 ? process.cwd() : args[0];
~/Desktop/libpng12$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
transfig : Depends: libpng12-0 (>= 1.2.13-4) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
~/Desktop/libpng12$ sudo apt --fix-broken install
Reading package lists... Done
Privacy Badger (www.eff.org/privacybadger) is a browser extension that automatically learns to block invisible trackers. Privacy Badger is made by the Electronic Frontier Foundation, a nonprofit that fights for your rights online.
Privacy Badger found 19 potential trackers on atsushieno.hatenablog.com:
ad.as.amanad.adtdp.com
c.amazon-adsystem.com
bidder.criteo.com
www.google.com
b.hatena.ne.jp
blog.hatena.ne.jp