Skip to content

Instantly share code, notes, and snippets.

View ivanelson's full-sized avatar

Ivanelson Nunes ivanelson

  • Teresina, PI - BR
View GitHub Profile
@ivanelson
ivanelson / catalina.out.log
Created September 21, 2020 19:28
Jira log not startup
2020-09-21 16:10:04,439-0300 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2020-09-21 16:10:04,442-0300 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Trying to get encrypted password from xml and decrypt it
2020-09-21 16:10:04,442-0300 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Database password decryption not performed.
2020-09-21 16:10:04,950-0300 JIRA-Bootstrap INFO [c.a.jira.upgrade.ConsistencyCheckerImpl] Checking JIRA consistency
2020-09-21 16:10:04,953-0300 JIRA-Bootstrap INFO [c.a.jira.upgrade.ConsistencyCheckerImpl] The Server ID for this JIRA instance is: [BMQ5-ISH7-NHUI-ECF8]
2020-09-21 16:10:05,002-0300 JIRA-Bootstrap INFO [c.a.jira.upgrade.UntranslatedKeyFixer] [KEY-FIXER] Not running untranslated key fixer as it was already run, application property: com.atlassian.jira.upgrade.untranslatedkeyfixer.disabled=t
@ivanelson
ivanelson / arr.sh
Created July 2, 2020 02:04
Round ou Truncate
let vg_juros = 5.5
out vg_juros
out $truncate(vg_juros)
if $modulus(vg_juros,2) <> 0
out 'Arredonda: ', ($truncate(vg_juros)+1)
endif
let vg_juros = 5.4
out vg_juros
out $truncate(vg_juros)
@ivanelson
ivanelson / style.css
Created December 7, 2019 14:29
style css
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 6 Dec, 2019, 10:08:20 AM
Author : ivan
*/
.error {color: #FF0000;}
@ivanelson
ivanelson / index.php
Created December 7, 2019 13:16
index.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>.:: Calculadora de Massa Corporal ::.</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
<script src="main.js"></script>
@ivanelson
ivanelson / session.php
Created November 4, 2019 20:30
start php session
<?php
session_start();
$_SESSION["login"] = $login_banco;
$_SESSION["nome"] = $nome_banco ;
?>
@ivanelson
ivanelson / test.h
Created March 21, 2019 18:51
calcula o algortimo.....
#include <stdio.h>
int main()
{
printf("Hello World numero!!!");
return 0;
}
@ivanelson
ivanelson / test.c
Created February 27, 2019 18:38
Execicio 1
/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
@ivanelson
ivanelson / pg_upgrade.sh
Created February 7, 2019 20:13
run pg_upgrade
/usr/lib/postgresql/11/bin/pg_upgrade -U postgres --old-datadir "/opt/PostgreSQL/9.6/data" --new-datadir "/var/lib/postgresql/11/main" --old-bindir "/opt/PostgreSQL/9.6/bin" --new-bindir "/usr/lib/postgresql/11/bin"
@ivanelson
ivanelson / vetor-nome.c
Created December 17, 2018 14:27
Vetor em "C" usando for e while
#include <stdio.h>
int main() {
char str[10] ; /*reserva espa‡o para 11 caracteres*/
int i;
printf("\nDIGITE Um nome qualquer: ");
gets(str);
i = 0;
@ivanelson
ivanelson / vetor-string.c
Created December 17, 2018 13:46
Vetor de Caracteres (String)
#include <stdio.h>
int main() {
char str[] = "meu string"; /*reserva espaço para 11 caracteres*/
/* Vou alterar o caracter da sexta posição do vetor str[] */
str[5] = 'd';
printf("Ou seja troquei o t pelo d na frase: meu string -> %s ",str);
return 0;
}