$ openssl genrsa -des3 -out myCA.key 2048
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
"[php]":{ | |
"editor.rulers": [ | |
{ | |
"column": 80, // spacing of 1st column from left | |
"color": "#555" // orange, Go Vols! | |
}, | |
], | |
} |
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
<?php | |
const START = 'Ë'; | |
const END = 'û'; | |
const MOD = 103; | |
const OFFSET = 32; | |
const SPECIAL_OFFSET = 68; | |
const PACKAGE = '06'; | |
function calcChecksum($value) |
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
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->exclude('bootstrap/cache') | |
->exclude('node_modules') | |
->exclude('storage') | |
->in(__DIR__) | |
->notName('*.blade.php') | |
->notName('.phpstorm.meta.php') | |
->notName('_ide_*.php'); |
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
# Remap prefix 'C-b' to 'C-a' | |
unbind C-b # remove bind for C-b | |
set-option -g prefix C-a | |
bind-key C-a send prefix | |
# Create Panes: window splitting | |
# Split vertically | |
unbind % | |
bind | split-window -h # Prefix | to create vertical split | |
# Split horizontally |
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
zcat /var/log/nginx/access.log.*.gz | goaccess /var/log/nginx/access.log.1 \ | |
/var/log/nginx/access.log \ | |
--log-format=COMBINED \ | |
-o /var/www/html/stats/index.html \ | |
--ws-url=wss://stats.mazedlx.net:7890 \ | |
--real-time-html \ | |
--daemonize \ | |
--ssl-cert=/etc/letsencrypt/live/mazedlx.net/fullchain.pem \ | |
--ssl-key=/etc/letsencrypt/live/mazedlx.net/privkey.pem |
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 { mount } from "@vue/test-utils"; | |
import Component from "../../components/Article/AllDepartmentsSelect.vue"; | |
describe("AllDepartmentsSelect", () => { | |
let $wrapper; | |
beforeEach(() => { | |
$wrapper = mount(Component); | |
}); |
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
<template> | |
<div class="form-group" :class="{ 'has-error': hasError }"> | |
<label class="col-md-3 control-label">Abteilung</label> | |
<div class="col-md-6"> | |
<select id="department_id" class="form-control" v-model="departmentId" @change="setDepartment"> | |
<option v-for="department in departments" :value="department.id" v-text="department.department" :key="department.id"></option> | |
</select> | |
</div> | |
</div> | |
</template> |
This guide refers to Instantclient Version 12.2.0.1.0
Download the latest Oracle Instant Client and SDK from the Oracle website (Yeah, fuck you Oracle, you need to create an account to download the files).
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
NewerOlder