duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
/**************************************************************************** | |
* Copyright 2009-2015 Jean-Philippe Gravel, P. Eng. CSDP | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
def logIN(): | |
from zabbix_client import ZabbixServerProxy | |
request = ZabbixServerProxy('http://192.168.70.172/zabbix') | |
request.user.login(user='admin', password='zabbix') | |
data = request.host.get(output=['hostid', 'host']) | |
request.user.logout() |
remotes { | |
web01 { | |
role 'webServers' | |
host = 'host.example.com' | |
user = 'userA' | |
knownHosts = allowAnyHosts | |
identity = file('id_rsa') //id_rsa generated file for authentication | |
} | |
} |
#!/bin/bash | |
#/etc/init.d/zookeeper | |
DAEMON_PATH=/opt/kafka/bin | |
DAEMON_NAME=zookeeper | |
PATH=$PATH:$DAMENON_PATH | |
case "$1" in |
#!/bin/bash | |
#/etc/init.d/kafka | |
DAEMON_PATH=/opt/kafka/bin | |
DAEMON_NAME=kafka | |
PATH=$PATH:$DAMENON_PATH | |
case "$1" in |
@echo off | |
setlocal enableextensions enabledelayedexpansion | |
set tm=%time% | |
set hh=!tm:~0,2! | |
set mm=!tm:~3,2! | |
echo "trying to execute.." | |
if !hh! equ 15 ( | |
if !mm! gtr 15 ( |
Though we're focused more on server setup procedure in this document, I will still give a very brief explanation in laymen terms for ELK. To those who are starting new in this stack, must have already heard of MVC (Model View Controller), so take it like this:
=>
Elasticsearch (for Storage, Indexing & Search)=>
Kibana (for DataViz & G-Man, yeah the one in half life 😏)=>
Logstash (For Logs & Filtering)############ REQUIREMENTS #################### | |
# sudo apt-get install python-pip | |
# sudo apt-get install libpq-dev | |
# sudo pip install psycopg2 | |
# sudo pip install sqlalchemy | |
# sudo pip install sqlalchemy-redshift | |
############################################## | |
import sqlalchemy as sa | |
from sqlalchemy.orm import sessionmaker |
<configuration> | |
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | |
<file>myapp.log</file> | |
<encoder><pattern>%logger{35} - [%F:%L] - %msg%n</pattern></encoder> | |
</appender> | |
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender"> | |
<appender-ref ref="FILE" /> | |
<!-- add the following line --> | |
<includeCallerData>true</includeCallerData> |