Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
/* | |
* Async.gs | |
* | |
* Manages asyncronous execution via time-based triggers. | |
* | |
* Note that execution normally takes 30-60s due to scheduling of the trigger. | |
* | |
* @see https://developers.google.com/apps-script/reference/script/clock-trigger-builder.html | |
*/ |
/*--- #3. Hack the Tab Labels ---*/ | |
/* Hide Ugly Tab Labels */ | |
.aAy.aIf-aLe .aKx .aKz, | |
.aAy.aJi-aLe .aKx .aKz, | |
.aAy.aH2-aLe .aKx .aKz, | |
.aAy.aHE-aLe .aKx .aKz{ | |
display: none; | |
} |
private static final String SERVICE_INTEGRANTE = "java:global/core/ServiceDeIntegrante"; | |
public Service lookup() { | |
try { | |
Properties properties = new Properties(); | |
properties.put(InitialContext.INITIAL_CONTEXT_FACTORY, | |
"com.sun.enterprise.naming.SerialInitContextFactory"); | |
properties.setProperty("org.omg.CORBA.ORBInitialHost", "localhost"); | |
properties.setProperty("org.omg.CORBA.ORBInitialPort", "3700"); | |
Context context = new InitialContext(properties); |
# Gitlab CI - Build Ionic 3 Project and generates apk files | |
image: beevelop/ionic:latest | |
stages: | |
- deploy | |
cache: | |
untracked: true | |
key: "$CI_PROJECT_ID" | |
paths: |
Para gerar o certificado Lets Encrypt é muito simples, aqui as instruções estão baseadas em um tutorial publicado pela Locaweb. (Web archive)
Primeiro vamos criar um diretório para isso:
# Make sure you grab the latest version | |
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip | |
# Unzip | |
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 | |
# Move protoc to /usr/local/bin/ | |
sudo mv protoc3/bin/* /usr/local/bin/ | |
# Move protoc3/include to /usr/local/include/ |
Configuration Error Secure Admin must be enabled to access the DAS remotely. | |
Para corrigir a mensagem acima ao logar no console do Glassfish 4.0, execute os seguintes passo. | |
./asadmin change-admin-password | |
O assistente vai pedir um nome de usuário coloque Admin pressione enter | |
vai pedir uma senha atual deixe vazio pressione enter | |
em seguida vai pedir a nova senha. |