Skip to content

Instantly share code, notes, and snippets.

View stories2's full-sized avatar
🐁
아 모르겠다

Kim HyunWoo stories2

🐁
아 모르겠다
View GitHub Profile
import javax.jws.Oneway;

public class TestFireSensor {

    public static void main(String[] args) {
        FireSensor fs = new FireSensor();
        FireSensor fs2 = new FireSensor();

        boolean running = true;

Problem

  • Cannot play any youtube videos.

Solve

  • Check your device set wrong date.
  • If it does, update date manual.

TODO

  • install node js, npm, mongo db

HOW TO

Install Node Js

  • sudo apt-get install curl
  • curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
  • sudo apt-get install -y nodejs

Ubuntu Package Manager Issue


Problem

  • Can't install packages

HOW TO FIX

  • Remove mysql data from /var/lib/dpkg/info/
  • Type apt-get -f install

LOG

@stories2
stories2 / CocoaPodsMacInstall.md
Created May 3, 2017 13:18
Install CocoaPods on Mac

Problem


  • When u about to use firebase on unity it will not complied right away in xcode

HOW TO


  • open terminal
  • type these
sudo gem install -n /usr/local/bin cocoapods
@stories2
stories2 / oom.md
Created May 2, 2017 11:56
futsal manager
05-02 20:55:25.838 29510-31058/com.futsal.manager W/FutsalManager: [CameraOpenCVViewer] {DrawSurfaceView} (surfaceViewCanvas = null)
05-02 20:55:25.848 29510-31058/com.futsal.manager I/FutsalManager: [CameraOpenCVViewer] {MatToBitmap} (channels: 4 cols: 640 rows: 480)
05-02 20:55:25.848 29510-31058/com.futsal.manager I/FutsalManager: [CameraOpenCVViewer] {MatToBitmap} (Convert ok)
05-02 20:55:25.863 29510-29510/com.futsal.manager I/FutsalManager: [UploadNewVideoProcess] {onPostExecute} (Video Upload Done)
05-02 20:55:25.863 29510-31404/com.futsal.manager D/OkHttp: --> POST http://ec2-52-78-237-85.ap-northeast-2.compute.amazonaws.com/auth/login http/1.1
05-02 20:55:25.863 29510-31404/com.futsal.manager D/OkHttp: Content-Type: application/json
05-02 20:55:25.863 29510-31404/com.futsal.manager D/OkHttp: Content-Length: 62
05-02 20:55:25.863 29510-31404/com.futsal.manager D/OkHttp: {"password":"rlagusdn123","username":"[email protected]"}
05-02 20:55:25.863 29510-31404/com.futsal.manager D/OkHttp: --> EN
@stories2
stories2 / index.md
Created April 29, 2017 16:46
Touhou Flight Facebook Privacy Policy

Facebook Privacy Policy


This article describes how to collect, use and share your personal information used in this app.

1. Purpose of Collection and Use of Personal Information

  • The account used in this app is sharing the score between the players, sharing application Facebook and may be updated according to the update later.

2. Consignment processing and handling of personal information

@stories2
stories2 / Solution.md
Created April 27, 2017 14:39
How to show mac hidden library folder using terminal

HOW TO


  • Open the terminal
  • type this
chflags nohidden ~/Library/
04-25 17:34:35.048 16291-16291/com.futsal.manager I/FutsalManager: [BluetoothDeviceFinder] {onItemClick} (Selected Device Address: 8C:8E:F2:B4:E1:FA)
04-25 17:34:35.178 16291-16574/com.futsal.manager E/FutsalManager: [CameraOpenCVViewer] {run} (Error: Attempt to invoke virtual method 'org.opencv.core.Mat com.futsal.manager.OpenCVModule.CalculateBallDetect.DetectBallPositionVer2(org.opencv.core.Mat)' on a null object reference)
04-25 17:34:35.178 16291-16574/com.futsal.manager E/FutsalManager: [CameraOpenCVViewer] {run} (Error: Attempt to invoke virtual method 'org.opencv.core.Mat com.futsal.manager.OpenCVModule.CalculateBallDetect.DetectBallPositionVer2(org.opencv.core.Mat)' on a null object reference)
04-25 17:34:35.178 16291-16574/com.futsal.manager E/FutsalManager: [CameraOpenCVViewer] {run} (Error: Attempt to invoke virtual method 'org.opencv.core.Mat com.futsal.manager.OpenCVModule.CalculateBallDetect.DetectBallPositionVer2(org.opencv.core.Mat)' on a null object reference)
04-25 17:34:35.178 16291-16
@stories2
stories2 / SetGitRemoteFromForkedRepo.md
Created April 19, 2017 01:47
Setting Git Remote Repo From Forked Repo

HOW TO SET


  • first open terminal
  • move to local cloned folder
  • and type these
# Add the remote, call it "upstream":

git remote add upstream https://github.com/whoever/whatever.git