markdown НастройкиVPS

manual.md
`../etc/php/7.0/apache2/php.ini`  
Изменить размер загружаемых файлов

Настроить .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress


markdown 我可以发邮件吗?

https://twitter.com/midudev/status/1171324348688453632 <br/> <br/> CanIEmail es una herramienta,basada enlamítica@ CanIUse,que nos va a ayudar a maquetar emails en los diferentes clientes que existen

can-i-email.md
Can I email? https://www.caniemail.com/
- Based on the original caniuse.com

markdown 获取模型输入和输出元素

get_input_and_outputs.md
# Get input and output nodes from model
You need to compile the 'summarize_graph' app from tools:

```
$ bazel build tensorflow/tools/graph_transforms:summarize_graph
```

Then you can use this app to check the frozen models with:

```
$ bazel-bin/tensorflow/tools/graph_transforms/summarize_graph --in_graph=tensorflow_inception_graph.pb
```

markdown PhotoshopShortcut.md

PhotoshopShortcut.md
|操作|コマンド|
|---|---|
|手のひらツール|space押しっぱなし|
|自由変形|command + T|
|描画色で塗りつぶし|option + delete|
|背景色で塗りつぶし|command + delete|

markdown 在Chome中获取整页截图

foobar.md
**TL;DR;**
1. CTRL+SHIFT+I
2. CTRL+SHIFT+P
3. Type "Capture full size screenshot"
4. ENTER

### Open DevTools Inside Chrome
First, we need to open DevTools inside Chrome. We can open it in different ways:

Main Menu (three vertical dots) in the top-right corner > More tools > Developer tools.

We can also open it using the following keyboard shortcuts: Control+Shift+I in Windows and Linux, or Command+Option+I in Mac.
Another way to open it, is by right-clicking anywhere in the page and select Inspect.

### Open the Command Menu
Now we need to open the command menu. We can do that by pressing Control+Shift+P in Windows and Linux, or Command+Shift+P in Mac.

### Capture Screenshot
Then, we need to write and select Capture full size screenshot. After we have done that, we should get a PNG file as a screenshot for the full page.

_Source: https://www.freecodecamp.org/news/how-to-take-full-page-screenshots-in-chrome-without-extensions/_

markdown keybase.md

keybase.md
### Keybase proof

I hereby claim:

  * I am laurenclark on github.
  * I am dedlymufin (https://keybase.io/dedlymufin) on keybase.
  * I have a public key ASA00sIrjd73MQpT-MbBn3sbVc8uLGRlzVk2qH9kyDfFmwo

To claim this, I am signing this object:

```json
{
  "body": {
    "key": {
      "eldest_kid": "0101ae726b371d5a28eae2d70b4c238caa0bfda9a34108bf8dd99364be8da52971f90a",
      "host": "keybase.io",
      "kid": "012034d2c22b8ddef7310a53f8c6c19f7b1b55cf2e2c6465cd5936a87f64c837c59b0a",
      "uid": "ae46ab9f60234a1321b88d1470284219",
      "username": "dedlymufin"
    },
    "merkle_root": {
      "ctime": 1568074075,
      "hash": "0d74f5d28918ed3ab727a9d82d12b22b7b394cb068d2a6dfe5737f98ba8a627c2d0423cd7b471ad436bc1a13bbdc84987727b504c830080e74686e69a5860ae9",
      "hash_meta": "3a20a3421c76f290c259626692b61a7d2600575067bd0e2bc42e559195a21a31",
      "seqno": 6275768
    },
    "service": {
      "entropy": "XP4nORsan8HmULFECJy6xV8c",
      "name": "github",
      "username": "laurenclark"
    },
    "type": "web_service_binding",
    "version": 2
  },
  "client": {
    "name": "keybase.io go client",
    "version": "4.4.1"
  },
  "ctime": 1568074080,
  "expire_in": 504576000,
  "prev": "7146c21fbdc2a0eb273b484c123471246f4f2f9bde9ecbdaa78e0b4a1f5f1410",
  "seqno": 6,
  "tag": "signature"
}
```

with the key [ASA00sIrjd73MQpT-MbBn3sbVc8uLGRlzVk2qH9kyDfFmwo](https://keybase.io/dedlymufin), yielding the signature:

```
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgNNLCK43e9zEKU/jGwZ97G1XPLixkZc1ZNqh/ZMg3xZsKp3BheWxvYWTESpcCBsQgcUbCH73CoOsnO0hMEjRxJG9PL5vensvap44LSh9fFBDEIOVTbpW1cG2Eas56Xi1zOiK4eVesU4UtyCeejeDdft17AgHCo3NpZ8RA2kRS19lI2ydkq6qZH09Q2fn5SP54KPmwMkDAmZdMhNdhzC2Ty0/+Y46yD1Tcr20P1IVGHfGA2fjr7Nk0rPbQDKhzaWdfdHlwZSCkaGFzaIKkdHlwZQildmFsdWXEILjmQDHZ9AUkM3H3XhOxplqN0hKdD0pMuCfYCnmy0HNzo3RhZ80CAqd2ZXJzaW9uAQ==

```

And finally, I am proving ownership of the github account by posting this as a gist.

### My publicly-auditable identity:

https://keybase.io/dedlymufin

### From the command line:

Consider the [keybase command line program](https://keybase.io/download).

```bash
# look me up
keybase id dedlymufin
```

markdown 配音aws

aws.md
# Login to AWS through the terminal

It is sometimes helpful to run the aws cli as opposed to their webapp. This dub command stores your aws access credentials in your environment given a valid 2 factor auth token. You may need to reach out to the infrastructure to gain access.

```
$(dub aws mfa-login --token <2FA-token>)
```

markdown 网页

pages.md
# Pages

## If Child Page
```php
<?php ${page}_page_id = get_page_by_path( 'page' )->ID; ?>
<?php if ( is_page( 'page' ) || ( $post && ( $post->post_parent === ${page}_page_id ) ) ) : ?>
	
<?php endif; ?>
```

## Get Child Pages
```php
global $post;

// Get Parent Page Id.
$equipment_page_id = get_page_by_path( 'equipment-rates' )->ID;

// Setup Query.
$page_query = new WP_Query();
$pages_all  = $page_query->query(
	[
		'post_type'      => 'page',
		'posts_per_page' => '-1',
	]
);

// Get page children.
$equipment_children = get_page_children( $equipment_page_id, $pages_all );

if ( ! $equipment_children ) {
	return;
}

if ( is_page( 'equipment-rates' ) || ( $post && ( $post->post_parent === $equipment_page_id ) ) ) :
	?>
	<div class="g-row equipment-rates-locations">
		<ul class="equipment-rates-locations">
			<?php foreach ( $equipment_children as $post ) : ?>
				<li class="equipment-rates-locations__item">
					<a href="<?php the_permalink(); ?>" class="equipment-rates-locations__link"><?php the_title(); ?></a>
				</li>
				<?php
			endforeach;
			wp_reset_postdata();
			?>
		</ul>
	</div>
	<?php
endif;
```

## Get Current Page
```php
$current_page = get_queried_object_id();

foreach ( $posts as $key => $post ) :
	$active = get_permalink( $current_page ) === get_the_permalink();
	?>
	<?php echo $active ? 'is-active' : ''; ?>
	<?php
endforeach;
```

markdown 循环列表

Loop list
```
# Python3 code to iterate over a list 
list = [1, 3, 5, 7, 9] 
   
# Using enumerate()  
for i, val in enumerate(list): 
    print (i, ",",val) 
```

markdown 创建类

Create class
# Именовать файл в_таком_формате
# Именовать класс в ТакомФормате

```
class DominantColors:
```