Skip to content

Instantly share code, notes, and snippets.

View thaylongs's full-sized avatar

Thaylon Guedes Santos thaylongs

  • Niterói-RJ, Brasil.
View GitHub Profile
import {Injectable} from '@angular/core';
export type ScriptsNames = 'pdfMake' | 'vfsFonts'
interface Scripts {
name: ScriptsNames;
src: string;
}
export const ScriptStore: Scripts[] = [
import {OnDestroy, OnInit} from '@angular/core';
import {BehaviorSubject, Observable, Subject, Subscription} from 'rxjs';
import {filter, takeUntil} from 'rxjs/operators';
export class GenericController implements OnDestroy, OnInit {
private unsubscribe$ = new Subject<void>();
isLoadingAsync: Observable<boolean>;
/* Is loading */
mkdir ~/Softwares/ -p
cd ~/Softwares/
echo "Instalando Softwares Basicos"
sudo apt install unzip unp unrar python-pip python3-pip net-tools -y
echo "Instalando Visual Studio Code"
sudo apt update
sudo apt install curl
Chiron...
Prepare...
Getting conceptual workflow...
Getting workflow execution...
Open...
Execute...
Rodando esquema de replicação
Executando: 2018-01-28T01:02:18.448 : %=WFDIR%/template_mafft
Executando: 2018-01-28T01:02:18.448 : %=WFDIR%/template_mafft
Executando: 2018-01-28T01:02:18.479 : %=WFDIR%/template_mafft
package br.uff.spark.utils
import java.util.concurrent.TimeUnit
import util.control.Breaks._
import br.uff.spark.DataSource
import com.datastax.driver.core.{BatchStatement, Statement}
class SimpleThreadPool(name: String) extends Thread(name) {
val queue = new java.util.concurrent.ConcurrentLinkedQueue[() => Statement]()
package br.com.dao.GenericDAO;
import br.com.dao.CriarConecao;
import br.com.hibernate.HibernateUtil;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
#define _GNU_SOURCE
#include <dlfcn.h>
#define _FCNTL_H
#include <stdio.h>
#include <stdlib.h>
int (*_open)(const char *name, int flags, ...);
int (*_open64)(const char *name, int flags, ...);
void __attribute__ ((constructor)) setup(void) {
select
ewf.tagexec,
evocount.tree_reference,
evocount.frequency
from
(
select
ewf.ewkfid,
tree.tree_reference,
tree.frequency
<datasource jta="true" jndi-name="java:/Lab" pool-name="LabDS" enabled="true" use-ccm="true">
<connection-url>jdbc:postgresql://localhost:5432/lab</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<driver>postgresql-9.4-1201.jdbc41.jar</driver>
<pool>
<min-pool-size>1</min-pool-size>
<initial-pool-size>4</initial-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
[main]
builtInCacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $builtInCacheManager
myRealm = br.edu.uft.generic.web.security.SecurityAuth
anyroles = br.edu.uft.generic.web.security.AnyRolesAuthorizationFilter
shiro.loginUrl = /index.xhtml
[urls]
/javax.faces.resource/** = anon