Skip to content

Instantly share code, notes, and snippets.

View tf0054's full-sized avatar

Takeshi Nakano tf0054

  • Curious Technology GmbH
  • Berlin, Germany
View GitHub Profile
Terms and Conditions
1. Introduction
Welcome to POEM. Please read these Terms and Conditions carefully before using this application operated by Hachi at UG.
2. Acceptance of Terms
By accessing and using our application, you agree to be bound by these Terms. If you disagree with any part of the Terms, then you may not access this application.
3. Eligibility
You must be at least 18 years old to use our services. By agreeing to these Terms, you represent and warrant to us that: you are at least 18 years old, you have not previously been suspended or removed from our application, and your registration and your use of our application is in compliance with any and all applicable laws and regulations.
@tf0054
tf0054 / gist:5c2aacbe3a6ee3799991b3fb87ab25c3
Last active August 27, 2019 08:29
openwrt wrt1900acs dfs
How to make your router's Wifi(5GHz) channel changes stopped
- - - -
0. Download the os image.
http://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/mvebu/cortexa9/
1. Install the image to your router.
sysupgrade -V xxxx.bin
2. Prepare the sdk environment for your router.
2019-01-27 23:11:22.882 15781-15781/uk.ac.sussex.wear.android.datalogger I/OBD2Reader: Creating BT socket.
2019-01-27 23:11:22.884 15781-15781/uk.ac.sussex.wear.android.datalogger W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback
2019-01-27 23:11:22.993 1000-1757/? W/bt_sdp: process_service_search_attr_rsp
2019-01-27 23:11:22.993 1000-1757/? W/bt_sdp: sdp_copy_raw_data: list_len:73 cpy_len:73 p:0x7314cb2003 p_ccb:0x7306d48d80 p_db:0x7306cc87c8 raw_size:1800 raw_used:0 raw_data:0x7306cc80c0
2019-01-27 23:11:22.997 1000-1757/? I/bt_stack: [INFO:port_api.cc(123)] RFCOMM_CreateConnection BDA: 00:1d:a5:68:98:8a
2019-01-27 23:11:23.022 1000-1757/? W/bt_btif: new conn_srvc id:26, app_id:1
2019-01-27 23:11:23.052 15781-15781/uk.ac.sussex.wear.android.datalogger D/OBD2Service: notifyNewState: STATUS_OBD2_CONNECTING
2019-01-27 23:11:23.052 15781-15781/uk.ac.sussex.wear.android.datalogger W/Notification: Use of stream types is deprecated for operations other than volume control
2019-01-2
@tf0054
tf0054 / batch.ps1
Last active April 27, 2020 17:40
audio to slideo, slides
Start-Process -FilePath 'C:\Program Files\Autodesk\DWG TrueView 2018 - Japanese\dwgviewr.exe' -ArgumentList '/v "shape" /b "C:\Users\tnakano\Desktop\printpng.scr" "C:\Users\tnakano\Desktop\size\BAD-SXL-01-F.ext.dxf"' -Wait
Start-Process -FilePath 'C:\Program Files\Autodesk\DWG TrueView 2018 - Japanese\dwgviewr.exe' -ArgumentList '/v "shape" /b "C:\Users\tnakano\Desktop\printpng.scr" "C:\Users\tnakano\Desktop\size\BAD-SXL-02-F.ext.dxf"' -Wait
Start-Process -FilePath 'C:\Program Files\Autodesk\DWG TrueView 2018 - Japanese\dwgviewr.exe' -ArgumentList '/v "shape" /b "C:\Users\tnakano\Desktop\printpng.scr" "C:\Users\tnakano\Desktop\size\BVB-XXX-01-F.ext.dxf"' -Wait
Start-Process -FilePath 'C:\Program Files\Autodesk\DWG TrueView 2018 - Japanese\dwgviewr.exe' -ArgumentList '/v "shape" /b "C:\Users\tnakano\Desktop\printpng.scr" "C:\Users\tnakano\Desktop\size\BVB-XXX-01.ext.dxf"' -Wait
Start-Process -FilePath 'C:\Program Files\Autodesk\DWG TrueView 2018 - Japanese\dwgviewr.exe' -ArgumentList '/v "shape" /b "C:\Users\t
@tf0054
tf0054 / 0.draft.md
Last active November 13, 2020 17:01
geekbox

** Goal **

  • Make my geekbox run with Linux-mainline with arm64.

** Steps **

  • Make ramfs.img and "reboot ramfs" from android terminal.

** Details **

  • Refer a page from SUSE for geekbox
  • v4.12.0 mainline would have all geekbox specific codes inside?
#!/usr/bin/env inlein
'{:dependencies [[org.clojure/clojure "1.8.0"]
[com.hypirion/primes "0.2.1"]
[org.clojure/tools.logging "0.2.6"]
[org.apache.poi/poi-ooxml "3.13"]
]}
(require '[com.hypirion.primes :as p])
http://poingg.com/burning-subtitles-to-movies-on-mac-osx-36545
ffmpeg -i sourcevideofile.mp4 -vf subtitles=mysubtitlesfile.srt outputwithsubtitles.mp4
@tf0054
tf0054 / core.cljs
Last active August 29, 2015 14:02 — forked from qbg/core.cljs
(ns om-tut.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(enable-console-print!)
(def app-state (atom {:text "Works"}))
(defn handle-change
[e data edit-key owner]
@tf0054
tf0054 / repl.sh
Created July 28, 2013 06:22
Clojure training with nREPL.
#!/bin/bash
# Script to connect to headless nrepl server with leiningen
#
#export HTTP_CLIENT="wget --no-check-certificate -O"
export LEIN_REPL_PORT=35000
export LEIN_REPL_HOST=127.0.0.1
export LEIN_JVM_OPTS=-Duser.home=$HOME
lein repl :connect $LEIN_REPL_HOST:$LEIN_REPL_PORT