php에서 암호화 mcrypt_encrypt를 사용하지 말고 Libsodium 또는 openssl_encrypt를 사용.

mcrypt_encrypt를 사용하여 암호화 할 때, pkcs7 패딩 처리를 안해주면, openssl_decrypt나, 다른 언어 복호화에서 복호화가 불가능하다.

때문에 되도록 사용을 자제하고, 만약에 레거시 시스템에서 사용하게 되면, pkcs7 처리를 해줘야한다.

https://ko.wikipedia.org/wiki/%EA%B3%B5%EA%B0%9C_%ED%82%A4_%EC%95%94%ED%98%B8_%ED%91%9C%EC%A4%80

 

예제 소스

https://3v4l.org/bdQe9

mcrypt_encrypt를 사용하면 안되는 이유

https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong

 

mcrypt_encrypt 대안

  • Use Libsodium – A PHP extension
  • If you can’t use Libsodium, use defuse/php-encryption – Straight PHP code
  • If you can’t use Libsodium or defuse/php-encryption, use OpenSSL – A lot of servers will already have this installed. If not, it can be compiled with –with-openssl[=DIR]

https://stackoverflow.com/questions/41272257/php-7-mcrypt-deprecated-need-alternative

https://paragonie.com/white-paper/2015-secure-php-data-encryption

 

 

ubuntu에서 mysql 5.7 또는 mariadb 10 이상 root password reset

 

Update the password for the root user.

mysql 재시작

keystone 설치 시 keystone-manage bootstrap 명령어 잘못 입력하였을 경우 이슈 해결 방법.

keystone-manage bootstrap --bootstrap-password ADMIN_PASS \

--bootstrap-admin-url http://controller:35357/v3/ \

--bootstrap-internal-url http://controller:35357/v3/ \

--bootstrap-public-url http://controller:5000/v3/ \

--bootstrap-region-id RegionOne

 

위와 같이 명령어를 호출하여 설정한 endpoint url 변경해야 할 경우 아래와 같은 방법으로 처리 해주면 된다.

> endpoint 조회

openstack endpoint list

> endpint 삭제

openstack endpint [endpoint-id]

 

엘론 머스크처럼 팔방미인이 되는 방법

  1. 다양한 분야에 걸쳐 읽고 경험한다.
  2. 기초원리로 아이디어를 해체하고 새로운 방법으로 재구성해 배운 것을 활용한다.

 

서로 다른 분야를 연결해 원리를 재구성하는 사고방식을 기르기위한 방법.

  1. 이것은 무엇을 생각나게 하는가?
  2. 왜 이것을 생각하게 하는가?

 

출처 : http://www.ttimes.co.kr/view.html?no=2016081609337757706

http://www.ttimes.co.kr/view.html?no=2016070513287789068

 

14 Best Free WordPress Theme Frameworks 2014

Best free wordpress theme frameworks 2014

Free WordPress theme frameworks are on great demand due to increasing popularity of wordpress. WordPress frameworks provides amazing feature and flexibility.

WordPress frameworks are very useful tool for WordPress developers. It is regularly used by WordPress theme developers because it takes a very small amount of time in development. To create WordPress themes, the developers are tired using repetitive codes and here a WordPress framework plays an important role by giving a solution to eliminate this repeating code. WordPress theme frameworks are prepacked with ultimate features and thus can be used for any kind of theme developments like magazine, ecommerce, blog and much more. There are lots of free WordPress theme frameworks are available over the internet which can make your programming life easier. If you need some featured riched WordPress functionality, then go for some premium frameworks. But don’t ignore these free WordPress frameworks which are listed below. They are also packed with amazing features and functionality. Free wordpress theme frameworks 2014 collections.

You may also like these :

Best Free WordPress Theme Frameworks 2014

In this article, we’d like to showcase you a list of some best free WordPress theme frameworks 2014 which may reduce your effort and save your precious time. Enjoy these best collections of free WordPress theme frameworks 2014!

Hybrid Core

Hybrid Core - Best Free WordPress Theme Frameworks 2014

Cheery Framework

Cheery Framework - Best Free WordPress Theme Frameworks 2014

UpThemes Framework

UpThemes Framework - Best Free WordPress Theme Frameworks 2014

Roots Framework

Roots Framework - Best Free WordPress Theme Frameworks 2014

Warp Framework

Warp Framework - Best Free WordPress Frameworks 2014

Simon WordPress Framework

Simon WordPress Framework

Whiteboard Framework

Whiteboard Framework - Best Free WordPress Frameworks 2014

Redux Framework

Redux Framework - Best Free WordPress Frameworks 2014

Wonderflux

wonderflux - Best Free WordPress Frameworks 2014

Thematic Framework

Thematic Framework - Best WordPress Frameworks 2014

Presswork Framework

Presswork Framework - Best WordPress Frameworks 2014

Reverie Framework

Reverie Framework - Best WordPress Frameworks 2014

Bootstrap 3 WordPress Theme Framework

Bootstrap 3 WordPress Theme Framework

Vafpress Framework

Vafpress Framework - Best WordPress Frameworks 2014
출처 : http://webdesigncube.com/2014/free-wordpress-theme-frameworks/