This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from "vue"; | |
import Vuex from "vuex"; | |
import createLogger from 'vuex/dist/logger'; | |
Vue.use(Vuex); | |
const debug = process.env.NODE_ENV !== "production"; | |
/** | |
* Automatically imports all the modules and exports as a single module object |
openssl genrsa -out ca.key 2048
openssl req -new -x509 -days 365 -key ca.key -subj "/C=CN/ST=GD/L=SZ/O=Acme, Inc./CN=Acme Root CA" -out ca.crt
openssl req -newkey rsa:2048 -nodes -addext "subjectAltName = otherName:2.16.76.1.3.1;IA5STRING:010119801234567857700000000000000001234567890SSPBA" -keyout person.key -subj "/C=CN/ST=GD/L=SZ/O=Acme, Inc./CN=Acme CTO" -out person.csr
Motion, keyboard commands and shortcuts for VI Improved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"download":{"default_directory":"/home/framon/download"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -n '97623,97667p;97667q' input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<encoder> | |
<charset>UTF-8</charset> | |
<pattern>...</pattern> | |
</encoder> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ch.qos.logback.classic.Level; | |
import ch.qos.logback.classic.Logger; | |
import ch.qos.logback.classic.LoggerContext; | |
import ch.qos.logback.classic.spi.LoggerContextListener; | |
import ch.qos.logback.core.Context; | |
import ch.qos.logback.core.spi.ContextAwareBase; | |
import ch.qos.logback.core.spi.LifeCycle; | |
public class CustomContextListener extends ContextAwareBase implements LoggerContextListener, LifeCycle { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location / { | |
proxy_pass http://my_app_upstream; | |
proxy_set_header Host $host; | |
# ... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i <file>.MTS \ | |
-c:v libx264 -profile:v baseline -crf 18 -s 640x360 \ | |
-c:a aac -ar 44100 -ac 2 -b:a 128k \ | |
-movflags faststart output.mp4 |
NewerOlder