a document about the tools I use to do my work as a web developer
title | type |
---|---|
oh-my-zsh | terminal flavor |
module.exports = { | |
parser: "postcss-scss", | |
plugins: [ | |
require("postcss-easy-import")({ // Enables globs in @import. See style.css. | |
prefix: false, | |
skipDuplicates: false, | |
warnOnEmpty: false, | |
}), | |
require("postcss-advanced-variables"), // Sass-style @ vars, looping, and @import | |
require("postcss-custom-media"), // Custom reusable media queries |
<templateSet group="Twig - Craft"> | |
<template name="tag" value="{% tag '$END$' with {} %} 	 {% endtag %}" description="{% tag %}...{% endtag %}" toReformat="false" toShortenFQNames="true"> | |
<context> | |
<option name="Twig" value="true" /> | |
</context> | |
</template> | |
</templateSet> |
a document about the tools I use to do my work as a web developer
title | type |
---|---|
oh-my-zsh | terminal flavor |
{"lastUpload":"2020-06-28T00:50:14.414Z","extensionVersion":"v3.4.3"} |
<?php | |
/* | |
--------------------------------------- | |
Custom Routes | |
--------------------------------------- | |
*/ |
#!/bin/bash | |
# Execute via: ./set-project-perms.sh PROJECT_NAME | |
# The paradigm is the entire project dir is owned by $CHOWN_USER with the group set to $CHOWN_GROUP | |
# $CHOWN_USER is an admin or user account that is used to edit files/templates, etc. | |
# $CHOWN_GROUP is the group of the webserver (e.g.: 'apache', 'nginx', 'httpd', etc.) | |
# The project dir permissions are set to 755 (-rwxr-xr-x) for directories and to 644 (-rw-r--r--) for files | |
# The permissions to $DIRS[] that need to be writeable are set to 775 (-rwxrwxr-x) for directories and | |
# 664 (-rw-rw-r--) for files. Add any assets directories, etc. as necessary. | |
# Change $BASE_DIR to the absolute path where your websites are stored (leaving it appended with '/$1') |
/* | |
Purpose: add custom column header and custom column content to respective custom header in Manage Category Editing Page | |
Version Tested: 3.8 | |
Story: | |
Because I found no explanation nor documents in Wordpress.org, I tried to trace the code in wp-admin folder | |
after understanding the operation of apply_filter(), add_action() and add_filter() | |
Logic: | |
The table list in edit_tag.php is based on |
Battery Power: | |
lidwake 1 | |
autopoweroff 1 | |
autopoweroffdelay 14400 | |
standbydelay 900 | |
standby 1 | |
ttyskeepawake 1 | |
hibernatemode 25 | |
darkwakes 0 | |
hibernatefile /var/vm/sleepimage |
Craig Mod does a bigger overhaul with Twitter for Minimalists, but this will only do the following:
You can add this CSS in Safari with this extension. The URL to target is twitter.com/*.