Open ssl.conf
in a text editor.
Edit the domain(s) listed under the [alt_names]
section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
// This file was initially generated by Windows Terminal 0.11.1333.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
// You can add more global application settings here. |
require 'json' | |
require 'hosts' | |
loop do | |
hosts = Hosts::File.read('/etc/hosts') | |
host_elements = hosts.elements | |
all_aliases = [] | |
`docker ps`.split(/\n/).each do |line| | |
cols = line.split(/\s/) | |
next if cols[0] =~ /[^a-f0-9]/ |
package main | |
import ( | |
"fmt" | |
"log" | |
"strconv" | |
"github.com/miekg/dns" | |
) |
// v2 of the great example of SSE in go by @ismasan. | |
// includes fixes: | |
// * infinite loop ending in panic | |
// * closing a client twice | |
// * potentially blocked listen() from closing a connection during multiplex step. | |
package main | |
import ( | |
"fmt" | |
"log" |
#define macros | |
EXE = executable.exe | |
SRC = src | |
BIN = bin | |
INT = obj | |
INCL = include | |
OCV_INC = "$(OPENCV_DIR)\..\..\include" | |
OCV_LIB = "$(OPENCV_DIR)\lib\opencv_world310.lib" |
[Reflection.Assembly]::LoadWithPartialName('System.Drawing'); | |
[Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); | |
$filename = 'C:\Users\Administrator\Pictures\background-logo-1024.png'; | |
$file = get-item($filename); | |
$img = [System.Drawing.Image]::Fromfile($file); | |
[System.Windows.Forms.Clipboard]::SetImage($img); |
user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all
** Don't Re-encode already shitty encodes...get good source!**
# sync everything excluding things in .gitignore | |
# delete anything on target not in source | |
# include dotfiles and symlinks, also use compression | |
rsync -azP --delete --filter=":- .gitignore" . my-target-host:/my/target/directory |
<?php | |
// app/AppKernel.php | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
use Symfony\Component\HttpKernel\Kernel; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ |