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
# tutorial: https://www.pascallandau.com/blog/php-php-fpm-and-nginx-on-docker-in-windows-10/ | |
version: '3' | |
services: | |
php-fpm: | |
image: php:7.4-fpm-alpine | |
container_name: php-fpm | |
volumes: | |
- type: bind | |
source: $HOME/dev/soap | |
target: /var/www |
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
@echo off | |
for /r %%i in (*.mp4) do ( | |
ffmpeg -i "%%i" -c:a copy -c:v hevc_amf "%%~di%%~pix265\%%~ni.mp4" | |
) |
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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
"os" |
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
package main | |
import ( | |
"bufio" | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" |
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
AJRouter | |
ALG | |
AppMgmt | |
BthHFSrv | |
bthserv | |
PeerDistSvc | |
CertPropSvc | |
NfsClnt | |
MapsBroker | |
lfsvc |
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
// https://tour.go-zh.org/concurrency/10 | |
func Crawl(url string, depth int, fetcher Fetcher) { | |
var wg sync.WaitGroup | |
var mux sync.Mutex | |
fetched := make(map[string]bool) | |
var crawl func(url string, depth int, fetcher Fetcher) | |
crawl = func (url string, depth int, fetcher Fetcher) { | |
defer wg.Done() // ref - 1 | |
if depth <= 0 { | |
return |
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
#include <libavutil/timestamp.h> | |
#include <libavformat/avformat.h> | |
#include <signal.h> | |
#include <unistd.h> | |
#include <pthread.h> | |
#include <errno.h> | |
static volatile int keep_running=1; | |
static AVOutputFormat *ofmt=NULL; |
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
// #pragma newdecls required | |
#include <sourcemod> | |
#include <sdktools> | |
#include <smlib> | |
#define PLUGIN_VERSION "0.1.3" | |
public Plugin myinfo={ | |
name="[L4D] Dissolve Ragdolls", | |
author="hjhee", | |
description="Dissolve Common Infected Ragdolls.", |
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
//# vim: set filetype=cpp : | |
/* | |
ABM a SourceMod L4D2 Plugin | |
Copyright (C) 2016 Victor NgBUCKWANGS Gonzalez | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. |
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
/* _ | |
* ___ _ __ ___ _ __ ___ ___ __| | | |
* / __| '__/ __| '_ ` _ \ / _ \ / _` | | |
* \__ \ | \__ \ | | | | | (_) | (_| | | |
* |___/_| |___/_| |_| |_|\___/ \__,_| | |
* | |
* _| _ _ _ _ _ . _ |` _ __|_ _ _| | |
* (_|(/__\|_)(_|VV| | || |~|~(/_(_ | (/_(_| | |
* | _ _ _ _| | _ | |
* | | |(_)(_||_||(/_ |
NewerOlder