sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y apache2
/** | |
* | |
* Gulpfile setup | |
* | |
* @since 1.0.0 | |
* @authors Ahmad Awais, @digisavvy, @desaiuditd, @jb510, @dmassiani and @Maxlopez | |
* @package neat | |
* @forks _s & some-like-it-neat | |
*/ |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.
cherry-pick
does support a range of commits, but if you have merge commits in that range, it gets really complicated
git checkout branch-B
git cherry-pick X
git cherry-pick Y
/** | |
* Example how to setup up multiple comment forms and comments lists | |
* | |
* @version 0.0.5 | |
* @file functions.php | |
* @see http://www.wpquestions.com/question/showLoggedIn/id/9749 | |
*/ | |
/** |
/** | |
* Returns an array of field groups with fields for the passed CPT, where field group ACF location rule of "post_type == CPT" exists. | |
* - each field group points at an array of its fields, in turn pointed at an array of that field's detailed information: | |
* - array of info for each field [ ID, key, label, name, type, menu_order, instructions, required, id, class, conditional_logic[array()], etc. ] | |
* | |
* @since 1.0.0 | |
*/ | |
function get_acf_field_groups_by_cpt($cpt) { | |
// need to create cache or transient for this data? | |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Lower bound of Wilson score confidence interval for a Bernoulli parameter
All implementations use 95% probability.
pos
is the number of positive votes, n
is the total number of votes.
I want to start writing libraries and large applications using the JavaScript language. However, I don't know how to setup the project and which build tools to use. What I do know is that the JavaScript community has moved way beyond using browser developer tool plugins and strategically-placed console.log()
statements to debug, test, and build code.
I need help.
Below, I will keep track of articles, tutorials and tools I come across as I search for a way to bring my front-end development chops up-to-date.