Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓

jiikko jiikko

🤓
View GitHub Profile
View bypass_procon.rb
class ProconSimulator
attr_accessor :gadget, :procon
MAC_ADDR = '00005e00535e'
UART_INITIAL_INPUT = '81008000f8d77a22c87b0c'
UART_DEVICE_INFO = '0348030298b6e942bd2d0301'
def initialize
@response_counter = 0
@procon_simulator_thread = nil
View my_pbm_setting.yml
---
version: 1.0
setting: |-
fast_return = ProconBypassMan::Splatoon2::Macro::FastReturn
guruguru = ProconBypassMan::Splatoon2::Mode::Guruguru
install_macro_plugin fast_return
install_macro_plugin ProconBypassMan::Splatoon2::Macro::JumpToUpKey
install_macro_plugin ProconBypassMan::Splatoon2::Macro::JumpToRightKey
install_macro_plugin ProconBypassMan::Splatoon2::Macro::JumpToLeftKey
View add_procon_gadget.sh
#!/bin/bash
cd /sys/kernel/config/usb_gadget/
mkdir -p procon
cd procon
echo 0x057e > idVendor
echo 0x2009 > idProduct
echo 0x0200 > bcdDevice
echo 0x0200 > bcdUSB
echo 0x00 > bDeviceClass
@jiikko
jiikko / mastodon-start-on-docker.md
Last active September 16, 2020 02:56
docker環境を開発環境として使うための差分
View mastodon-start-on-docker.md
diff --git a/Dockerfile b/Dockerfile
index c52f89fdc..5001fc94b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -72,7 +72,6 @@ COPY Gemfile* package.json yarn.lock /opt/mastodon/
 
 RUN cd /opt/mastodon && \
   bundle config set deployment 'true' && \
-  bundle config set without 'development test' && \
View rvm_in_docker.md
$ docker run -it debian:sid bash 
apt-get update && apt-get install curl procps -y
\curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh

rvm use 2.7 --install --fuzzy
View how_to_install_nokogiri.md

bundle config build.nokogiri --use-system-libraries --with-xml2-include=$(brew --prefix libxml2)/include/libxml2

View android_installation.md