Sunday, May 28, 2017
Saturday, May 27, 2017
yap-json
https://github.com/cesarferreira/yap-json
Pipe your
curl -s https://api.github.com/users/cesarferreira | yap-json
Pipe your
json
into yap-json
to make it prettycurl -s https://api.github.com/users/cesarferreira | yap-json
git: View changes in last commit of a file
https://stackoverflow.com/questions/10176601/git-diff-file-against-its-last-change
See last commit's changes: git log -p -1 filename
See last 2 commits' changes: git log -p -2 filename
See last commit's changes: git log -p -1 filename
See last 2 commits' changes: git log -p -2 filename
Tuesday, May 23, 2017
Monday, May 22, 2017
Mavo - A new, approachable way to create Web applications
http://mavo.io/
Mavo helps you turn your static HTML into reactive web applications without a single line of programming code and no server backend.
Developed in the Haystack Group at MIT CSAIL and led by Lea Verou.
Mavo helps you turn your static HTML into reactive web applications without a single line of programming code and no server backend.
Developed in the Haystack Group at MIT CSAIL and led by Lea Verou.
Labels:
javascript,
tools,
web applications
Sunday, May 21, 2017
Code Reviews related
Want to note down this thought so that I can think about it more later:
Problem:
- code review is usually done on a pull-request
- code-reviewer usually feels some pressure to not suggest trivial changes
- developer who wrote the code also feels pressure to not submit anything for code-review until he/she has reached a certain point
- note that the developer is getting too invested in his/her code by the time his/her code goes to code-review
- since the code-reviewer is aware of this, he/she might feel some pressure to mark the pull-request as 'code reviewed'
Possible Solution:
My thought is:
- developer submits a 1st pull-request that is explicitly marked as Temp Pull Request (and Do Not Merge label)
- this 1st pull-request is only for getting feedback (big and small changes)
- this 1st pull-request will not get merged even though it might be good
- developer has to create a second normal Pull Request which he/she is more confident of
- this second normal Pull Request will also have to code-reviewed and will be a candidate for getting merged
Advantages:
- less pressure on developer when giving the Temp Pull Request for review
- less pressure on code-reviewer while offering feedback for a Temp Pull Request
- Based on whether a reviewer is looking at a Temp Pull Request or a Normal Pull Request, he/she can be in the proper mindset to review the code
- The Normal Pull Request can include a link to the Temp Pull Request. Reviewer can see comments of the Temp Pull Request to get more context.
Problem:
- code review is usually done on a pull-request
- code-reviewer usually feels some pressure to not suggest trivial changes
- developer who wrote the code also feels pressure to not submit anything for code-review until he/she has reached a certain point
- note that the developer is getting too invested in his/her code by the time his/her code goes to code-review
- since the code-reviewer is aware of this, he/she might feel some pressure to mark the pull-request as 'code reviewed'
Possible Solution:
My thought is:
- developer submits a 1st pull-request that is explicitly marked as Temp Pull Request (and Do Not Merge label)
- this 1st pull-request is only for getting feedback (big and small changes)
- this 1st pull-request will not get merged even though it might be good
- developer has to create a second normal Pull Request which he/she is more confident of
- this second normal Pull Request will also have to code-reviewed and will be a candidate for getting merged
Advantages:
- less pressure on developer when giving the Temp Pull Request for review
- less pressure on code-reviewer while offering feedback for a Temp Pull Request
- Based on whether a reviewer is looking at a Temp Pull Request or a Normal Pull Request, he/she can be in the proper mindset to review the code
- The Normal Pull Request can include a link to the Temp Pull Request. Reviewer can see comments of the Temp Pull Request to get more context.
The Future of Advertising: Brave and the Basic Attention Token
The Future of Advertising: Brave and the Basic Attention Token
http://sinahab.com/blog/basic-attention-token/
https://basicattentiontoken.org/
https://basicattentiontoken.org/wp-content/uploads/2017/05/BasicAttentionTokenWhitePaper.pdf
http://sinahab.com/blog/basic-attention-token/
https://basicattentiontoken.org/
https://basicattentiontoken.org/wp-content/uploads/2017/05/BasicAttentionTokenWhitePaper.pdf
Saturday, May 20, 2017
Sleep Sort
Found the below here - https://www.quora.com/What-is-the-strangest-sorting-algorithm
I implemented it in javascript below:
JS Bin on jsbin.com
Labels:
algorithms,
computer science,
programming
Thursday, May 18, 2017
Saturday, May 13, 2017
Ruby-Hyperloop
Ruby HyperLoop - The Complete Isomorphic Ruby Framework
http://ruby-hyperloop.io/
http://ruby-hyperloop.io/
Labels:
javascript,
rails,
web applications
ElasticSearch + Ruby-on-Rails
ElasticSearch with Ruby-on-Rails
https://www.pluralsight.com/guides/ruby-ruby-on-rails/elasticsearch-with-ruby-on-rails
https://www.pluralsight.com/guides/ruby-ruby-on-rails/elasticsearch-with-ruby-on-rails
Labels:
performance,
rails,
web applications
Friday, May 12, 2017
Thursday, May 11, 2017
Tuesday, May 9, 2017
Monday, May 8, 2017
Web Application - Kiosk project
Web Application - Kiosk project
Hide Address Bar:
http://stackoverflow.com/a/38853861/637563
Send a custom header:
http://infoheap.com/chrome-add-custom-http-request-headers/
http://stackoverflow.com/questions/7115304/is-there-a-google-chrome-extension-to-inject-custom-http-headers-in-each-request
To create an extension in chrome similar to above:
https://developer.chrome.com/extensions/webRequest
Hide Address Bar:
http://stackoverflow.com/a/38853861/637563
Send a custom header:
http://infoheap.com/chrome-add-custom-http-request-headers/
http://stackoverflow.com/questions/7115304/is-there-a-google-chrome-extension-to-inject-custom-http-headers-in-each-request
To create an extension in chrome similar to above:
https://developer.chrome.com/extensions/webRequest
Sunday, May 7, 2017
7 Awesome Emmet HTML Time-Saving Tips
https://designshack.net/articles/css/7-awesome-emmet-html-time-saving-tips/
https://github.com/sergeche/emmet-sublime
Go to Matching Pair – ⇧⌃T / Ctrl+Alt+J
Wrap With Abbreviation — ⌃W / Shift+Ctrl+G
https://github.com/sergeche/emmet-sublime
Go to Matching Pair – ⇧⌃T / Ctrl+Alt+J
Wrap With Abbreviation — ⌃W / Shift+Ctrl+G
Friday, May 5, 2017
Subscribe to:
Posts (Atom)
Followers
Blog Archive
-
▼
2017
(181)
-
▼
May
(26)
- Nothing Matters More Than Coding Fast
- Flexbox explained using animated gifs
- yap-json
- git: View changes in last commit of a file
- https on StackOverflow
- Mavo - A new, approachable way to create Web appli...
- Rails Active Record: To combat N+1 queries
- Linux tools
- Code Reviews related
- Nothing Matters More Than Coding Fast
- The Future of Advertising: Brave and the Basic Att...
- Sleep Sort
- Web Development… How to get started in 2017?
- Ruby-Hyperloop
- ElasticSearch + Ruby-on-Rails
- The Hitchhiker’s Guide to d3.js
- Page Visibility
- Stackoverflow Trends - RoR vs Asp.Net vs Asp.Net M...
- Asp.net Core related
- Mobile First, Desktop Worst
- 'git stash' related
- Page Visibility
- Web Application - Kiosk project
- integrating-react-with-an-existing-jquery-web-appl...
- 7 Awesome Emmet HTML Time-Saving Tips
- A progressive Web application with Vue JS, Webpack...
-
▼
May
(26)