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: |
ℹ️ There is a newer alternative project that does similar things and more, check it out at https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows
Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)
With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.
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/ |