Writing a plugin http://codex.wordpress.org/Writing_a_Plugin
The plugin API http://codex.wordpress.org/Plugin_API
Post Meta fields http://codex.wordpress.org/Function_Reference/post_meta_Function_Examples
Taxonomies
1. Install sshpass `sudo apt-get update && sudo apt-get install sshpass` | |
2. edit file `~/.bash_aliases` | |
3. add the line `alias name_of_alias='sshpass -f <(printf "%s\n" "our_password") ssh user@hostname' | |
4. compile your `.bash_aliases` file: `source .bash_aliases`` |
Writing a plugin http://codex.wordpress.org/Writing_a_Plugin
The plugin API http://codex.wordpress.org/Plugin_API
Post Meta fields http://codex.wordpress.org/Function_Reference/post_meta_Function_Examples
Taxonomies
drush ev "drupal_set_installed_schema_version('aaa_sigel', 8109);" |
#!/bin/bash | |
# staging or production | |
DB_ENV="staging" | |
##### DO NOT EDIT FROM HERE ##### | |
# Find the container | |
CONTAINER="$(docker ps | grep c-${DB_ENV} | awk '{print $1}')" |
wget -m --user="user@login" --password="Pa$$wo|^D" ftp://server.com/
Need to install these tools: | |
`sudo apt install exfat-utils exfat-fuse` | |
Use software `Disks` |
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
$dbo = $this->Job->getDatasource(); | |
$logs = $dbo->getLog(); | |
$lastLog = end($logs['log']); | |
debug( $lastLog['query'] ); |
**Create a Bing API key** | |
https://www.bingmapsportal.com/application/create/1354301 | |
**Download the plugins** | |
https://github.com/shramov/leaflet-plugins | |
```html | |
<!DOCTYPE html> | |
<html> | |
<head> |