Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P
- Popup parameter documentation for method calls
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": "arn:aws:s3:::*" |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: restcomm-core-controller | |
spec: | |
replicas: 1 | |
selector: | |
app: restcomm-core | |
template: | |
metadata: |
ghi list -L LABELTOBEDELETED -s closed -- YOURORGANIZATION/YOURREPO | sed -n '/^[ 0-9 ]/p' | sed -r 's/([^0-9]*([0-9]*)){1}.*/\2/' | xargs -I %issue sh -c 'ghi label "%issue" -d "LABELTOBEDELETED" -- YOURORGANIZATION/YOURREPO' |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: restcomm-core-controller | |
spec: | |
replicas: 1 | |
selector: | |
app: restcomm-core | |
template: | |
metadata: |
package main | |
// See https://www.reddit.com/r/dailyprogrammer/comments/4knivr/20160523_challenge_268_easy_network_and_cards/ | |
import ( | |
"flag" | |
"fmt" | |
"net" | |
"os" | |
"sync" |
Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P
- Popup parameter documentation for method calls<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<!DOCTYPE scenario SYSTEM "sipp.dtd"> | |
<!-- Luis Barreiro - Mobicents QA team --> | |
<scenario name="UAS for SIP-Servlets Tests"> | |
<recv request="INVITE" rrs="true" timeout="5000" /> | |
<send> |
import groovy.lang.GroovyClassLoader | |
// http://docs.groovy-lang.org/latest/html/documentation/index.html#_integrating_groovy_in_a_java_application | |
def gcl = new GroovyClassLoader() | |
def clazz = gcl.parseClass(new File("./template.groovy")) | |
assert clazz.name == 'Env' | |
def o = clazz.newInstance() | |
o.doIt() | |
println o.test |
To solve screen is flickering
sudo -e /etc/default/grub
Add i915.enable_psr=0
to GRUB_CMDLINE_LINUX="...... i915.enable_psr=0"
Disclaimer: I don't believe there is a best architecture. It depends of the business requirements and there are several things to consider, including non-tecnical ones.
List of things I've done to have a reliable, easy to maintain, operate and evolve HA architecture.