Still under construction. Converting my v3 d3 plot to a bl.ock.
This plot demonstrates how to create a very simple grouped bar plot.
#run database updates | |
drush updatedb | |
## Force a specific update to run | |
drush eval "module_load_install('tripal_elasticsearch'); tripal_elasticsearch_update_7201();" | |
drush dre [modulename] #disable, uninstall, re-install, enable module |
docker volume ls #list all volumes | |
docker-compose up #start a container via docker compose | |
#remove all images | |
docker rmi $(docker images -a -q) | |
#stop and remove all containers | |
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) | |
#remove all volumes | |
docker volume rm $(docker volume ls -f dangling=true -q) | |
# List all images | |
docker images |
docker-compose up -d nginx mysql # bring up container with nginx and mysql | |
docker-compose exec workspace bash # enter workspace | |
docker-compose exec --user=laradock workspace bash # To have files created as the host's user, specify user = laradock |
Still under construction. Converting my v3 d3 plot to a bl.ock.
This plot demonstrates how to create a very simple grouped bar plot.
A simple D3 plot for www.bradfordcondon.com. This is for a blog series on breaking down and understanding D3.js, version 3. This is Blog post number one.
require_once '../includes/tripal_alchemist.api.inc'; | |
use PHPUnit\Framework\TestCase; | |
use PHPUnit\DbUnit\TestCaseTrait; | |
//Change this path for the docker! | |
define('DRUPAL_ROOT', '/Users/chet/UTK/tripal'); | |
$start = getcwd(); | |
require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; | |
$_SERVER['REMOTE_ADDR'] = '127.0.0.1'; |
git rebase -i HEAD~4 # rebase branch back the number of commits | |
git commit --amend # make sure the commit message is awesome | |
git push origin branch-name --force # need to force the commits if you've already pushed |
CREATE TRIGGER check_ao_linker | |
AFTER INSERT ON feature | |
FOR ROW | |
EXECUTE PROCEDURE update_ao_linker(); | |
CREATE TRIGGER check_ao_linker_update | |
AFTER UPDATE ON feature ON organism_id | |
FOR ROW | |
EXECUTE PROCEDURE update_ao_linker(); |
{ | |
"#": "cmap-js chinese chestnut configuration file", | |
"header": ": Chinese Chestnut Genetic map", | |
"attribution": "HWG", | |
"initialView": [ | |
{ | |
"source": "Chinese Chestnut Genetic Map", | |
"map": "A" | |
}, | |
{ |