저번주 금요일날 신청해서 USIM 토요일에 받고 주말이라 처리가 안되다가

오늘 점심 시간에 고객센터 전화해서 IMEI 불러주고 하니 4:22 분에 문자 도착

[Web발신][freeT]10분후받아보신유심으로변경후,3-5분정도기다려주시면자동인식후사용가능합니다.

 

아무튼 마음이 급해서 28분에 갈아끼고 껐다켜고 하는데 다른 사람에게 전화걸어달라고 하니

꺼져있다고 나온다고 -ㅁ-

암튼 일하다가 잠시 까먹어서 잠시 후에 다시 한번 껐다켜니

5:24분에 개통되었다고 문자가 온다.

 

아무튼 그래도 나름 3년 넘게 쓰던거 날아가고 새로 가입하게 되는 바람에 계정도 다시 만들게 되고..

 

일할계산인지 먼지 땜시 아무튼 다음과 같이 잔여통화량이 계산되네

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

맥 단축키  (0) 2019.08.28
게임 하나 접음  (2) 2019.07.22
에라이 3g 못써먹겠다!!!  (4) 2019.04.05
VaR VR 플레이어 한글 자막 문제  (0) 2019.03.09
마이크로 SD 64GB에 만원이라니..  (3) 2019.03.09
Posted by 구차니
Programming/node.js2019. 4. 8. 14:28

프록시 설정에서 3128로 모두 처리하도록 하고(http, https 모두 3128 포트)

자동 생성된 인증서를 x509 타입으로 바꾸어서 윈도우에 믿을수 있는 root CA로 등록하면 해결 (HSTS 문제 우회)

$ cd ./.http-mitm-proxy/certs/ca.pem
$ openssl x509 -outform der -in ca.pem -out der.pem

 

아무튼 아래와 같이 하면.. 데이터는 어쩔수 없지만 HTML 등은 볼 수 있을 듯

var Proxy = require('http-mitm-proxy');
var proxy = Proxy();
var path = require('path');

proxy.use(Proxy.wildcard);

proxy.onError(function(ctx, err) {
  console.error('proxy error:', err);
});

proxy.onRequest(function(ctx, callback) {
 {
    ctx.use(Proxy.gunzip);
console.log('');
console.log(ctx.clientToProxyRequest.headers.host);
console.log(ctx.clientToProxyRequest.url);

    ctx.onResponseData(function(ctx, chunk, callback) {
//     chunk = new Buffer(chunk.toString().replace(/<span.*?<\/span>/g, '<span>Pwned!</span>'));

      return callback(null, chunk);
    });
  }
  return callback();
});


proxy.onResponse(function(ctx, callback) {
 return callback();
 });

proxy.onResponseData(function(ctx, chunk, callback) {
console.log(chunk.length);
console.log(chunk.toString());
 return callback(null, chunk);
 });

proxy.onCertificateRequired = function(hostname, callback) {
  return callback(null, {
    keyFile: path.resolve('/ca/certs/', hostname + '.key'),
    certFile: path.resolve('/ca/certs/', hostname + '.crt')
  });
};
proxy.listen({port: 3128});

[링크 : https://www.npmjs.com/package/http-mitm-proxy]

 

+

var Proxy = require('http-mitm-proxy');
var proxy = Proxy();
var path = require('path');
var url = require('url');
var { URLSearchParams } = require('url');
var decode = require('urldecode')

proxy.use(Proxy.wildcard);

proxy.onError(function(ctx, err) {
  console.error('proxy error:', err);
});

proxy.onRequest(function(ctx, callback) {
 {
    ctx.use(Proxy.gunzip);
    console.log(ctx.clientToProxyRequest.headers.host);

    var pback = ctx.clientToProxyRequest.url;
    console.log(ctx.clientToProxyRequest.url);

    var params = new URLSearchParams(url.parse(pback).query);
    params.sort();
    console.log(url.parse(pback).pathname + '?' + decode(params.toString()));

    ctx.onResponseData(function(ctx, chunk, callback) {
//     chunk = new Buffer(chunk.toString().replace(/<span.*?<\/span>/g, '<span>Pwned!</span>'));

      return callback(null, chunk);
    });
  }
  return callback();
});


proxy.onResponse(function(ctx, callback) {
 return callback();
 });

proxy.onResponseData(function(ctx, chunk, callback) {
 return callback(null, chunk);
 });

proxy.onCertificateRequired = function(hostname, callback) {
  return callback(null, {
    keyFile: path.resolve('/ca/certs/', hostname + '.key'),
    certFile: path.resolve('/ca/certs/', hostname + '.crt')
  });
};
proxy.listen({port: 3128});

 

[링크 : https://nodejs.org/docs/latest-v8.x/api/url.html]

[링크 : https://www.npmjs.com/package/urldecode]

[링크 : https://opentutorials.org/module/938/7369]

Posted by 구차니

요즘 메인보드들은 여간해서는 기본으로 다 잡히다 보니

굳이 유지할 필요도 없고 내가 쓰던 녀석들 기록이라고 하기에는 용량이 적진 않아서

훅 지우는데 아쉬움 보다는 이제 홀가분함이 더 강하네

 

+

8개 메인보드, 3.2GB

raid, dual GbE, 그래픽, 사운드카드,  2.9GB

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

NEXT-812FCU3  (1) 2019.04.26
z170 extreme4 1.0 부팅 오래 걸리는 문제  (0) 2019.04.26
2760p 수리! + 상태  (2) 2019.03.27
hp 2760p 획득!  (8) 2019.03.26
2760p 득템 준비?!  (2) 2019.03.25
Posted by 구차니
하드웨어/VR2019. 4. 7. 12:13

결론 : 역시 돈이 최고다(!)

 

장점

1. VaR 플레이어로 하는 것 보다 매우 빠른 헤드 트래킹 지원

   (현실에서 머리를 흔들어 대는 듯한 반응 속도. 자사 제품이라 그런건지

   아니면 기어 VR 쪽에 별도의 가속도 센서를 단건지 미지수. 그리고 드리프트도 거의 발생하지 않음)

2. -8 디옵터 인데 최대로 밀면 안경없이 보이는 신세계

    (다이소 신형 VR안 안써봐서 모르겠음.. 사고 싶은데 아내가 허가를 안해줌 ㅠㅠ)

3. 물리 버튼을 통한 편의

   (VaR 에서는 쳐다봐야 하는데 노트5는 이상하게 자석 버튼이 안 먹는데다가

   기어 VR에서 삼성VR을 통해 바로바로 크기 조절하고 시점 리셋 버튼등이 있으니

    절실하게 컨트롤러가 필요함을 느끼게 됨)

 

단점

0. 덥다!!!!

    정말 덥다 -_-. 아마 폭풍마경 같은 놈들도 비슷하지 않을까

1. 너무 제한된 핸드폰 모델.

   (케이스만 씌워도 안들어간다 -_-)

2. 충전과 동시에 안된다.

   (뒤에 모델들은 된다고 하지만...)

3. 컨텐츠 부족

    (용량대비 플레이 시간도 부족하고, 추천영상으로 뜨는 애들은 화질이 안좋아서 애매한 느낌)

'하드웨어 > VR' 카테고리의 다른 글

Gear VR 리눅스 접속  (0) 2022.11.07
Gear VR controller 윈도우에 접속  (0) 2022.11.07
meta 퀘스트, 가상 데스크탑  (0) 2022.11.06
gear vr with controller  (0) 2022.11.05
기어VR 획득!(for 노트5)  (0) 2019.03.27
Posted by 구차니

오랫만에 부품을 보는데

샀는지도 까먹었던 부품들이 우수수수...

 

아니 이런 센서들은 언제 산거야 ㅋㅋㅋ

아무튼 회사일이 안풀리는게 있음 짜증나네 ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

딸기향이 싫어진다.  (2) 2019.04.17
희한하게 피곤..  (0) 2019.04.09
또 다시 돌아온 지름신..  (3) 2019.03.20
오랫만의 퇴근길 일기 - 7호선 탈선사고  (0) 2019.03.14
7호선 탈선  (0) 2019.03.14
Posted by 구차니
embeded/raspberry pi2019. 4. 5. 22:37

오호.. 3b에 기본으로 장착은 되어 있지 않지만

필요한 부품을 달 수 있는 위치는 있는 듯

[링크 : https://www.mictronics.de/2017/10/raspberry-pi-3-with-external-antenna/]


+

2019.04.06

이걸 달면은 인증이 깨진다고.. 칩 안테나를 기준으로 인증을 한건가?

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=217540]

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=219646]

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이 3.5인치 모니터(SPI)  (0) 2019.04.17
rpi bt  (0) 2019.04.08
라즈베리 서버를 종료합니다  (0) 2019.01.03
rpi mipi dsi lcd  (0) 2018.12.04
rpi face detection & recognition  (4) 2018.11.16
Posted by 구차니
Programming/node.js2019. 4. 5. 15:08

머.. 별건 아니고(?)

path 모듈에서 fs 모듈로 변경되어서 에러난 놈을 열어보고 모듈을 바꾸어주면 일단 ok 인듯?

(만약 그거 하나만 문제라면..)

 

[링크 : https://github.com/horaci/node-mitm-proxy]

'Programming > node.js' 카테고리의 다른 글

node.js mkdir -p 옵션 사용하기  (0) 2019.04.10
http-mitm-proxy 예제  (0) 2019.04.08
node.js mitm proxy (for https)  (0) 2019.04.02
proxy http node.js  (0) 2019.04.01
TypeError: Converting circular structure to JSON  (0) 2019.03.27
Posted by 구차니

요즘에 점점 전화가 안터지는 곳이 많아지고 있어서 도저히 못참겠다!!! 외치면서 3G에서 LTE로 갈아타기 단행!

114로 전화하니 freeT KT로 전화되서 번호이동이니 freeT SK로 전화하라고 해서 물어보니

3개월 가입유지외에는 별거 없대서 일단 갈아타기 ㄱㄱ

 

원래 가고 싶었던건 아래 요금제 인데 신규 가입에 대한 프로모션 요금제라 사용중인 사람은 못 쓴다고.. ㅠㅠ

그래서 과감하게(?) LTE 요금제로 갈아타기! 일단은 freeT KT 망에서 freeT SK 망으로 번호이동!

 

현재 1500원 요금제(VAT 별도, 3G) 에서 한달 싸면 7천 많으면 1.3만 까지 나오는지라(100분 통화하면 1.3만까지 나옴)

일단 만원 근처의 것으로 검색했는데 60분 짜리 해서 40분 통화 더하면 기본료 8000 + 통화료 6000 나오길래 포기하고

소심하게 100분짜리로 일단 ㄱㄱ

 

그나저나 가입비랑 USIM 가격이 문제라니 개꿀이다! (막상 신청하려니까 아.. 전화로 안물어봤네 후회했지만..)

 

이것저것 입력하고 나니 띠링 VAT 포함 10450원에 100분 무료통화

(딱 1년지난) 11G/만원 에그 쓰고 있어서 450MB는 계륵이긴 한데 머 슬슬 외주작업 시작하면 통화비 늘어날테니..

 

아무튼 USIM 발송해서 받고 나면 진행된다고 하니 느긋하게 해봐야지 머

(상담사는 늦어도 1주일 안에는 된다고 하는데, 이번주에는 안되는거죠 했더니 빵 터지신듯 -_ㅠ)

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

게임 하나 접음  (2) 2019.07.22
일단은 freet SKT로 번호이동!  (0) 2019.04.08
VaR VR 플레이어 한글 자막 문제  (0) 2019.03.09
마이크로 SD 64GB에 만원이라니..  (3) 2019.03.09
VR 헬멧  (0) 2019.03.07
Posted by 구차니
프로그램 사용/squid2019. 4. 4. 15:21

음.. parent로 hier_direct를 돌릴순 있는데

그럼 자기 자신 혼자 사용중에는 자신이 parent가 아닌건가?

4.1 How do I join a cache hierarchy?
To place your cache in a hierarchy, use the cache_host directive in squid.conf to specify the parent and sibling nodes.

For example, the following squid.conf file on childcache.example.com configures its cache to retrieve data from one parent cache and two sibling caches:

        #  squid.conf - On the host: childcache.example.com
        #
        #  Format is: hostname  type  http_port  udp_port
        #
        cache_host parentcache.example.com   parent  3128 3130
        cache_host childcache2.example.com   sibling 3128 3130
        cache_host childcache3.example.com   sibling 3128 3130
The cache_host_domain directive allows you to specify that certain caches siblings or parents for certain domains:

        #  squid.conf - On the host: sv.cache.nlanr.net
        #
        #  Format is: hostname  type  http_port  udp_port
        #

        cache_host electraglide.geog.unsw.edu.au parent 3128 3130
        cache_host cache1.nzgate.net.nz          parent 3128 3130
        cache_host pb.cache.nlanr.net   parent 3128 3130
        cache_host it.cache.nlanr.net   parent 3128 3130
        cache_host sd.cache.nlanr.net   parent 3128 3130
        cache_host uc.cache.nlanr.net   sibling 3128 3130
        cache_host bo.cache.nlanr.net   sibling 3128 3130
        cache_host_domain electraglide.geog.unsw.edu.au .au
        cache_host_domain cache1.nzgate.net.nz   .au .aq .fj .nz
        cache_host_domain pb.cache.nlanr.net     .uk .de .fr .no .se .it
        cache_host_domain it.cache.nlanr.net     .uk .de .fr .no .se .it
        cache_host_domain sd.cache.nlanr.net     .mx .za .mu .zm
The configuration above indicates that the cache will use pb.cache.nlanr.net and it.cache.nlanr.net for domains uk, de, fr, no, se and it, sd.cache.nlanr.net for domains mx, za, mu and zm, and cache1.nzgate.net.nz for domains au, aq, fj, and nz.

[링크 : http://www.comfsm.fm/computing/squid/FAQ-4.html]

[링크 : https://www.christianschenk.org/blog/using-a-parent-proxy-with-squid/]

'프로그램 사용 > squid' 카테고리의 다른 글

squid hierarchy와 cache  (0) 2019.04.04
squid storeid... 에러  (0) 2019.04.03
squid storeid  (0) 2019.04.03
squid storeurl_rewrite  (0) 2019.04.02
lynx proxy  (0) 2019.03.27
Posted by 구차니

CIC decimation filter

 

[링크 : https://electronics.stackexchange...mems-digital-microphone-codec-and-raspberry-pi-zero-w]

[링크 : https://en.wikipedia.org/wiki/Cascaded_integrator%E2%80%93comb_filter]

[링크 : https://blog.naver.com/jinohpark79/110189214821]

[링크 : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an455.pdf]

[링크 : http://home.mit.bme.hu/~kollar/papers/cic.pdf]

 

 

'이론 관련 > 전기 전자' 카테고리의 다른 글

역률 개선  (0) 2019.05.09
dc to ac  (0) 2019.05.03
DSD/PDM 그리고 초음파  (0) 2019.04.01
PDM과 DSD  (0) 2019.03.30
pdm - Pulse Width Modulation  (0) 2019.03.29
Posted by 구차니