- Download FFmpeg
- Extract it and save it to C drive ( choose any location - it's optional )
- Set environment variable - copy the location of bin folder which is inside the extracted file and set the location on system path variable.
- Done!
This file contains hidden or 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
| [Unit] | |
| Description=X Virtual Frame Buffer Service | |
| After=network.target | |
| [Service] | |
| ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24 | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or 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
| 0815.ru | |
| 0wnd.net | |
| 0wnd.org | |
| 10minutemail.co.za | |
| 10minutemail.com | |
| 123-m.com | |
| 1fsdfdsfsdf.tk | |
| 1pad.de | |
| 20minutemail.com | |
| 21cn.com |
This file contains hidden or 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
| FROM golang:alpine as builder | |
| RUN mkdir /build | |
| ADD . /build/ | |
| WORKDIR /build | |
| RUN go build -o microserv . | |
| FROM alpine | |
| RUN mkdir /app | |
| ADD . /app/ | |
| COPY --from=builder /build/microserv /app | |
| WORKDIR /app |
This file contains hidden or 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
| type T struct { | |
| A int | |
| B string | |
| } | |
| t := T{23, "skidoo"} | |
| s := reflect.ValueOf(&t).Elem() | |
| typeOfT := s.Type() | |
| for i := 0; i < s.NumField(); i++ { |
This file contains hidden or 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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| func dumpMap(space string, m map[string]interface{}) { | |
| for k, v := range m { | |
| if mv, ok := v.(map[string]interface{}); ok { |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Test struct { | |
| Name string | |
| } |
This file contains hidden or 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
| I'm using scoop for Windows package management, but recently I can't install gcc with the following installation command. | |
| $ scoop install gcc | |
| Installing 'gcc' (9.3.0-2) [64bit] | |
| mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz (13.9 MB) [===================================================] 100% | |
| Checking hash of mingw-w64-x86_64-binutils-2.34-1-any.pkg.tar.xz ... ok. | |
| mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz (3.1 MB) [======================================] 100% | |
| Checking hash of mingw-w64-x86_64-crt-git-8.0.0.5815.9517d302-1-any.pkg.tar.xz ... ok. | |
| The remote server returned an error: (404) Not Found. | |
| URL http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-expat-2.2.9-1-any.pkg.tar.xz is not valid |
Translations: Korean (by Yongwoo Lee)
Laravel has a powerful Inversion of Control (IoC) / Dependency Injection (DI) Container. Unfortunately the official documentation doesn't cover all of the available functionality, so I decided to experiment with it and document it for myself. The following is based on Laravel 5.4.26 - other versions may vary.
I won't attempt to explain the principles behind DI / IoC here - if you're not familiar with them you might want to read What is Dependency Injection? by Fabien Potencier (creator of the Symfony framework).