Facility-Severity | Emergency(0) | Alert(1) | Critical(2) | Error(3) | Warning(4) | Notice(5) | Info(6) | Debug(7) |
---|---|---|---|---|---|---|---|---|
kernel(0) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
user-level(1) | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
mail(2) | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
system(3) | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
secur/auth(4) | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
syslog(5) | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
lpd/printer(6) | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
news/nntp(7) | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
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
reply_code_id | reply_code | |
---|---|---|
0 | No Error | |
NoError | No Error | |
No Error | No Error | |
1 | Format Error | |
FormErr | Format Error | |
Format Error | Format Error | |
2 | Server Failure | |
ServFail | Server Failure | |
Server Failure | Server Failure |
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
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: n8n-deployment | |
namespace: standard | |
labels: &labels | |
app: n8n | |
component: deployment | |
spec: |
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
# /etc/yum.repos.d/kubernetes.repo | |
[kubernetes] | |
name=Kubernetes | |
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64 | |
enabled=1 | |
gpgcheck=1 | |
repo_gpgcheck=1 | |
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg |
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
/* CREATE a table */ | |
CREATE TABLE [WebsiteDB].[dbo].[empSalary] ( | |
empId int, | |
empSalaryBand char, | |
empSalaryValue int, | |
empCurrency varchar(8) | |
); | |
/* ALTER a table */ | |
ALTER TABLE [empSalary] ALTER COLUMN empSalaryBand varchar(8); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.web> | |
<compilation debug="true" /> | |
<membership> | |
<providers> | |
<clear /> | |
<add name="AspNetSqlMembershipProvider" | |
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" |
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
#!/usr/bin/perl | |
# list all of the perl modules installed | |
use File::Find ; | |
for (@INC) { find(\&modules,$_) ; } | |
sub modules | |
{ | |
if (-d && /^[a-z]/) { $File::Find::prune = 1 ; return } | |
return unless /\.pm$/ ; | |
my $fullPath = "$File::Find::dir/$_"; | |
$fullPath =~ s!\.pm$!!; |
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
#!/usr/bin/ksh | |
# Wrapper to run the java file | |
# Please input the input config file containing epochTimes | |
# The config file should contain only 1 epoch Time per line | |
# Basic Batch Epoch Converter : diaryFolio | |
# Format | |
# ./runThis.ksh <inputFileDateFormat> <inputConfigFilename> |
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
import java.io.*; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import java.util.SimpleTimeZone; | |
import java.util.concurrent.TimeUnit; | |
public class EpochConverterClass { |
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
# An example for rsyslog logrotate daemon config. | |
# Written by isplunker.com | |
#/etc/logrotate.d/myrotate.conf | |
/var/log/syslog/*.log | |
/var/log/syslog/*/*.log | |
/var/log/syslog/*/*/*.log | |
/var/log/syslog/*/*/*/*.log | |
{ | |
notifempty # Do not rotate the log if it is empty | |
compress # Old versions of log files are compressed with gzip |
NewerOlder