gnujoow / bokbut Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://bokboot.me
Home Page: http://bokboot.me
/browse에 들어가면 코드들이 많은데 이를 페이지로 나누어서 보여줘야함
언어를 고르는 란에서 apache를 선택하면 syntax highlighting함수가 작동하지 않는 현상이 일어난다.
그냥 seed에서 빼버리겠음...
서버에 올려서
rake assets:precompile RAILS_ENV=production
을 입력하면 rails가 css와 js를 프리컴파일 해주는데 폰트가 충돌나는지 glyphicon이 안떠요 ㅠㅠ
해결하면 다음 치킨 모임때 회비면제
api문서를 보면 chunk(덩어리)단위로 출력하는 예가 잇다.
이렇게 출력을 할경우 덩어리 단위로 잘 나오지만 우리가 생각하는 덩어리 != 라인순이 아니고
하이라이팅 되는 순이기 때문에 적용하기 어려울것같다.
indentation이 안맞는 문제도 있고 ...
문서의 formatter부분을 더 읽고 연구하는 쪽으로...
https://developers.facebook.com/ 에서
https://developers.facebook.com/quickstarts/?platform=web 를 통해 웹 페이지용 앱을 하나 만들면
해당 앱의 ID 값을 이용해 자바스크립트 sdk로 손쉽게 로그인 구현이 가능합니다.
devise를 이용한 페이스북 로그인 구현은 실패.. 이것도 어짜피 앱은 만들어야 함
따라서, 누군가 페이스북 개발자로 웹 페이지용 앱을 만들어서 키를 얻어야 합니다.
책임자를 누구로 할까요?
로그인을 안해도 글을 쓸수 있게하기
기본으로 제공되는 textArea는 tab을 누르면 버튼으로 옮겨가는데 직접코드를 입력할 경우 상당히 불편하다.
tab을 입력하면 진짜로 \t가 들어가는 거를 찾아보자.
아직 정하지 않았음
어느정도 뷰가 진행되면 이후에 고르는 걸로
rails에서는 crsf공격을 막기위해서 application_controller.rb파일에 protect_from_forgery with: :exception
이 설정되어있는데 이 설정이 되어있으면 html form을 사용하지 못하게 된다.
따라서 추후에 모든 form을 form-helper로 수정해서 짜야한다. 문서를 잘 읽어보았지만 잘 안되서 일단은 html form으로 작성하고 수정하는 방향으로 가야할 듯
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
end
에서
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
# protect_from_forgery with: :exception
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.