Skip to content

Instantly share code, notes, and snippets.

kibria-khandaker / wp excerpt text limit
Created Aug 26, 2019
replece the_excerpt code with $text_limit code where are you used <?php the_excerpt(); ?>
View wp excerpt text limit
<?php the_excerpt(); ?>
replece the_excerpt code under the with $text_limit code where are you used the_excerpt
$text_limit = substr(get_the_excerpt(), 0, 100);
echo $text_limit;
View wp load more btn
1) ***jekhane Button lagbe **
<!-- Load More Btn start HTML xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<div class="row">
<div class="col-12 text-center" id="loadmore-container">
<a href="<?php // next_posts(get_max_num_pages()); ?>" class="btn btn-danger" id="loadmore">
<?php // _e('Load More', 'textdomain'); ?>
View Potential Maintainers
costrouc: ansible, python27Packages.pytest-ansible, ansible, python27Packages.ansible, python37Packages.ansible, python37Packages.ansible, ansible, python27Packages.ansible, python37Packages.pytest-ansible, python27Packages.pytest-ansible, python27Packages.pytest-ansible, python37Packages.ansible, python27Packages.ansible, python27Packages.ansible, ansible, python37Packages.pytest-ansible, python37Packages.ansible, python27Packages.pytest-ansible, python37Packages.pytest-ansible, python37Packages.pytest-ansible
joamaki: ansible, ansible, python27Packages.ansible, python37Packages.ansible, python37Packages.ansible, ansible, python27Packages.ansible, python37Packages.ansible, python27Packages.ansible, python27Packages.ansible, ansible, python37Packages.ansible
View Changed Paths
i686-linux python37Packages.ansible-kernel
x86_64-darwin ansible
x86_64-linux python27Packages.pytest-ansible
aarch64-linux ansible
i686-linux python37Packages.ansible-runner
i686-linux python27Packages.ansible
x86_64-darwin python37Packages.ansible-lint
aarch64-linux python37Packages.ansible-kernel
i686-linux python37Packages.ansible
aarch64-linux python37Packages.ansible
View A and B.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View operators.go
type Operators interface {
Generate(int, int) string
Degenerate(string) (int, int, error)
View Cool VSCode Settings
"php.validate.executablePath": "C:\\xampp\\php\\php.exe",
"php.executablePath": "C:\\xampp\\php\\php.exe",
"php-cs-fixer.executablePath": "php-cs-fixer-v2.phar",
"php-cs-fixer.executablePathWindows": "php-cs-fixer-v2.phar",
"php-cs-fixer.rules": "@PSR2",
"": "C:\\Program Files\\Git\\bin\\bash.exe",
"workbench.activityBar.visible": true,
"php.suggest.basic": false,
"workbench.statusBar.visible": true,
naxty /
Created Aug 26, 2019
Prediction with onnx model
import numpy as np
from IPython.display import display
from PIL import Image
img ='images/five.png').resize((28, 28)).convert('L')
output =, dtype=np.float32)[np.newaxis, np.newaxis, :, :])
print('The digit is classified as ', np.argmax(output))
markhowellsmead / Vendor_ImageSelector.jsx
Created Aug 26, 2019
Media selector for Say Hello components
View Vendor_ImageSelector.jsx
* Media selector for Say Hello components
* 26.8.2019
* Usage: <ImageSelector
allowed_types={['image/jpg', 'image/jpeg', 'image/png']}
naxty /
Created Aug 26, 2019
Import an onnx model in tensorflow
import onnx
from onnx_tf.backend import prepare
model = onnx.load('output/mnist.onnx')
tf_rep = prepare(model)
You can’t perform that action at this time.