Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
[Desktop Entry] | |
Version=1.0 | |
Name=Telegram Desktop | |
Comment=Official desktop version of Telegram messaging app | |
TryExec=/opt/Telegram/Telegram | |
Exec=/opt/Telegram/Telegram -- %u | |
Icon=telegram | |
Terminal=false | |
StartupWMClass=TelegramDesktop | |
Type=Application |
thuvh ALL=(ALL) NOPASSWD: ALL |
echo "generating sample data for hive table"
echo {-1..-181451}hours | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
echo {-1..-18145}minutes | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
echo {-1..-1825}days | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
cat /tmp/dates.data | while read LINE ; do echo $LINE,"user"$((1 + RANDOM % 10000)),$((1 + RANDOM % 1000)) >> /tmp/hive_user_table.data; done
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
from sys import stdin, stdout | |
from math import floor | |
def main(): | |
global n,m,a | |
n,m=[int(x) for x in stdin.readline().split()] | |
a=[] | |
for i in range(m): | |
a.append([int(x) for x in stdin.readline().split()]) | |
g=[] | |
G=[] |
#include <iostream> | |
using namespace std; | |
int main(){ | |
int a = 3; | |
int *p, *q; | |
p = &a; | |
q = p; |
/* | |
* For your reference: | |
* | |
* SinglyLinkedListNode { | |
* int data; | |
* SinglyLinkedListNode* next; | |
* }; | |
* | |
*/ | |
SinglyLinkedListNode* insertNodeAtTail(SinglyLinkedListNode* head, int data) { |
Below are a set of best practices that I recommend for most customers. This information is based on my experience helping hundreds of Azure Redis customers investigate various issues.
%% -*- mode: erlang -*- | |
%% ---------------------------------------------------------------------------- | |
%% RabbitMQ Sample Configuration File. | |
%% | |
%% Related doc guide: http://www.rabbitmq.com/configure.html. See | |
%% http://rabbitmq.com/documentation.html for documentation ToC. | |
%% ---------------------------------------------------------------------------- | |
[ | |
{rabbit, | |
[%% |