This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#After Installation Complete. | |
#http://your_server_ip:3000/ | |
#ADD Data Source | |
#Name: Prometheus | |
#Type: Prometheus | |
#URL: http://<your_server_ip>:9090, (default port is 9090) | |
#Access: proxy | |
#Basic Auth: Enabled or Disabled, as your Prometheus server is configured. | |
#Visit http://grafana.org/assets/dashboards/prometheus-dash.json | |
#Import Json File. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vist "http://fontawesome.io/cheatsheet/" then Run this in Console | |
var container = $('.container .page-header').parents('.container'); | |
var ix = ""; | |
container.find('.row > div').each(function(i, e) { | |
$(e).find('i').remove(); | |
$(e).find('.text-muted.pull-right').remove(); | |
let result = $.trim($(e).text()).replace(/(\s|\(alias\))+/g, " "); | |
ix += "," + result; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y | |
#https://github.com/wkhtmltopdf/wkhtmltopdf/releases | |
#replace arch | |
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb | |
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb | |
apt --fix-broken install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Search Engine: | |
keyword: | |
google.co.in | |
Query: | |
{google:baseURL}search?q=%s&tbs=qdr:y&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:iOSSearchLanguage}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}{google:contextualSearchVersion}ie={inputEncoding} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type deployment_cert.der | openssl sha1 -binary | openssl base64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t rsa -b 4096 -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#location ~ \.php$ { | |
# try_files $uri =404; | |
# fastcgi_pass unix:/var/run/php/php7.1-fpm.sock; | |
# fastcgi_index /index.php; | |
# include fastcgi_params; | |
# fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
# fastcgi_param PATH_INFO $fastcgi_path_info; | |
# fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; | |
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Main Domain | |
#https?://www.example.com; | |
server { | |
listen 80; | |
server_name ~^www\.(?<dname>\w+)\.(?<dtype>\w+)$; | |
return 301 $scheme://$dname.$dtype$request_uri; | |
} | |
#Sub Domains if in case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
+------------------------------------------------------------------------+ | |
| Phalcon Framework | | |
+------------------------------------------------------------------------+ | |
| Copyright (c) 2011-2017 Phalcon Team (https://phalconphp.com) | | |
+------------------------------------------------------------------------+ | |
| This source file is subject to the New BSD License that is bundled | | |
| with this package in the file LICENSE.txt. | | |
| | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use DiDom\Document; | |
use Stringy\Stringy as S; | |
class tracker | |
{ | |
public function __construct() | |
{ | |
$this->priceTrack(); |
OlderNewer