Skip to content

Instantly share code, notes, and snippets.

View mh61503891's full-sized avatar
🍣

Masayuki Higashino mh61503891

🍣
View GitHub Profile
@yahonda
yahonda / ruby31onrails.md
Last active April 9, 2024 20:46
Ruby 3.1 on Rails

Ruby 3.1 on Rails

Actions required to use Ruby 3.1.0 with Rails

Rails 7.0.Z

  • Rails 7.0.1 is compatible with Ruby 3.1.0.
  • Rails 7.0.1 addes net-smtp, net-imap and net-pop gems as Action Mailbox and Action Mailer dependency, you do not need to add them explicitly in your application Gemfile anymore.
  • thor 1.2.1 has been released. You will not see DidYouMean::SPELL_CHECKERS.merge deprecate warnings anymore.

Rails 6.1.Z

  • Use Rails 6.1.5 to support database.yml with aliases and secrets.yml with aliases.
@Thorsten1976
Thorsten1976 / CompatUtils.java
Created October 20, 2020 10:24
Detect the interaction mode of the navigation bar (i.e. full screen gesture mode, 2-button navigation, 3-button navigation) in Android: navBarInteractionMode
import android.content.Context;
import android.content.res.Resources;
import androidx.annotation.IntDef;
import androidx.annotation.NonNull;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
public final class CompatUtils {
@Retention(RetentionPolicy.SOURCE)
@azu
azu / browser-resources.md
Last active June 25, 2020 01:57
ブラウザ/セキュリティ/プライバシー周りの一次情報に近い二次情報の情報源をまとめたもの

一次情報に近い二次情報の情報源をまとめたもの。

ここでの一次情報はコミットとかコードのこと。

Browser

@bushidocodes
bushidocodes / wasm-summit-2020-notes.md
Last active July 30, 2020 23:47
WebAssembly Summit 2020 Notes

WebAssembly Summit 2020

https://webassembly-summit.org/

Lin Clark's Talk - "WebAssembly Nanoprocess"

https://www.youtube.com/watch?v=IBZFJzGnBoU

  • the missing functionality alongside WASI and Interface Types is something that provides "capability-based security".
  • Delegation of permissions to propagate down transitive dependencies
  • plan to use fine-grain form of per-module virtualization
  • A "WebAssembly nanoprocess" is just wasm, but follows a particular pattern.

明日の下書き


これはなに

  • 高円寺.dev #3 用の資料 https://koenji.connpass.com/event/160886/
  • フロントエンド専門じゃない人向けの、フロントエンドの最先端〜やや未来の話です
  • このレイヤーでは Node.js を使うべき/使うと強いという部分がありますが、他言語を否定しているわけではありません。むしろ他言語でこのアーキテクチャを模倣してほしいという話です。
E InstrumentationResultPrinter: Failed to mark test No Tests as finished after process crash
03-07 08:53:53.855 20122 20122 E MonitoringInstr: Exception encountered by: Thread[main,5,main]. Dumping thread state to outputs and pining for the fjords.
03-07 08:53:53.855 20122 20122 E MonitoringInstr: java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{org.mozilla.tv.firefox.debug.test/org.mozilla.tv.firefox.FirefoxTestRunner}: java.lang.RuntimeException: Cannot connect to androidx.test.orchestrator.OrchestratorService
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5463)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread.-wrap2(ActivityThread.java)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1556)
03-07 08:53:53.855 20122 20122 E MonitoringInstr: at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 08:53
@roolo
roolo / command.rb
Last active April 2, 2023 16:05
Generate Wifi QR code with Ruby
$ gem install rqrcode
$ irb -r rqrcode
2.5.3 :001 > File.open('/tmp/wifi-connection.png', File::CREAT | File::WRONLY) {|f| f.write RQRCode::QRCode.new('WIFI:S:Wifi name;T:WPA;P:wifi password;;').as_png(size: 400) }
@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API

第1回WebSystemArchitecture(WSA)研究会

  • twitterハッシュタグ #wsa研

日時と場所

  • 日時
    • 2017年12月23日14:00~19:00
    • 日程は23日ですが開始,終了時間はずれる可能性があります.
  • 場所
  • はてな京都オフィス
@kaityo256
kaityo256 / howto.md
Last active April 2, 2024 14:43
研究者として生きていくコツ

研究者として生きていくコツ

これは卜部さんの優秀なプログラマーになるためのコツに影響されて書いたものです。

著者について

自分を構成する要素は、大きい順にシステムエンジニア、プログラマ、研究者だと思っています。でも、おそらく給料は「研究者」として払われているため、研究者として生きていくコツとしました。僕はさほど優秀とは言えませんが、とりあえずそれなりに長いことそれで食っています。大学の教授のウェブサイトに「研究者としてのコツ」みたいなことが書いてあることがありますが、これには「既に大学の教授になっている人が書いている」という強烈なバイアスがかかっています。もちろん参考になることも書いてありますが、「死ぬほど研究しろ、研究のことだけ考えろ」的な文章が多い印象です。これは普通の人にとって役に立たない助言です。これは平均的な研究者として生きていくための戯言、ポエムだと思ってください。

健康第一