This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.cursorStyle": "line", | |
"editor.cursorBlinking": "smooth", | |
"easycompile.compile": { | |
"ignore": [ | |
"sass", | |
"scss" | |
] | |
}, | |
"editor.lineNumbers": "interval", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://stackoverflow.com/a/65020975 | |
git fetch --all --prune | |
# reset branch only if it has deviated from the remote | |
function update_branch { | |
if git diff --exit-code --quiet $1; then | |
echo "No changes on branch $1" | |
else | |
echo "Resetting branch $1" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let typesList = [ | |
{ | |
"slug": "Anything", | |
"name": "Anything" | |
}, | |
{ | |
"slug": "String", | |
"name": "String", | |
"children": [ | |
{ |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"_wp_admin_bar_init","desc":"<p>UNHOOKING THIS FUNCTION WILL NOT PROPERLY REMOVE THE ADMIN BAR. For that, use show_admin_bar(false) or the {@see 'show_admin_bar'} filter.</p>","summary":"Instantiate the admin bar object and set it up as a global for access elsewhere.","type":"function","category":"Uncategorised","since":"3.1.0","access":"private","return":{"content":"Whether the admin bar was successfully initialized.","types":"bool"}},{"name":"wp_admin_bar_render","desc":"<p>This is called very late on the footer actions so that it will render after anything else being added to the footer.</p> <p>It includes the {@see 'admin_bar_menu'} action which should be used to hook in and add new menus to the admin bar. That way you can be sure that you are adding at most optimal point, right before the admin bar is rendered. This also gives you access to the <code>$post</code> global, among others.</p>","summary":"Renders the admin bar to the page based on the $wp_admin_bar->menu member var.","type":"function |