#HTML presentation tools
There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.
##CSSS
CSS-based SlideShow System
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| tell application "Calendar" | |
| -- delete everything from the destination calendar | |
| -- TODO: Change "Destination Calendar" to be the name of your destination calendar | |
| repeat with anEvent in (get events of calendar "Destination Calendar") | |
| delete anEvent | |
| end repeat | |
| -- copy all events from the source calendar to the destination | |
| -- TODO: Change "Source Calendar" to be the name of your source calendar | |
| -- TODO: Change "Destination Calendar" to be the name of your destination calendar |
| #!/bin/sh | |
| if [[ -z "$1" ]]; then | |
| echo "Usage: proxy_switch.sh en 1.1.1.1:8080. | |
| proxy_switch.sh dis" | |
| exit 2; | |
| fi | |
| if [[ "$1" == "en" ]]; then | |
| export http_proxy=http://$2 |
(3)DS is the best system EVER! I love it soooo much. Here are some of my favourite games and why.
Note: Check out http://www.metacritic.com/browse/games/release-date/available/3ds/metascore and http://www.metacritic.com/browse/games/release-date/available/ds/metascore as well. You might have more variety in your game choices than I do, and there are lots of other games rated in the 80s+.
| # in ~/.bashrc or ~/.bash_profile in OSX | |
| # Jump to comment section of d.o issue, if local git branch = issue nid | |
| alias issue='open /Applications/Google\ Chrome.app https://www.drupal.org/node/$(git symbolic-ref -q HEAD 2>/dev/null | sed '\''s/^refs\/heads\/\([0-9]*\).*/\1/'\'')#project-issue-ajax-form' | |
| # Include/Exclude patch directory to PHPStorm to compare two patches. | |
| alias patchl='ln -s /www/htdocs/patches/ /www/htdocs/drupal8/patches' | |
| alias patchul='rm /www/htdocs/drupal8/patches' | |
| <?php | |
| use Drupal\Core\Config\Schema\SchemaCheckTrait; | |
| /** | |
| * Implements hook_drush_command(). | |
| */ | |
| function ef_drush_command() { | |
| $items['schema-validate'] = [ | |
| 'description' => dt('Validates all config schemaj'), | |
| ]; |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:
Placeholder for assets
| git clone --branch 8.6.x https://git.drupal.org/project/drupal.git | |
| cd drupal | |
| composer config platform.php 5.5.9 | |
| composer install | |
| composer outdated -D | |
| // Choose the packages to update. Let's say we want to update symfony packages. | |
| composer update symfony/* | |
| composer config --unset platform | |
| composer update --lock | |
| git add composer.lock |