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
FROM quay.io/opencars/opencv:4.4-alpine AS openalpr | |
ENV OPENALPR_VERSION=2.3.0 | |
ENV LEPTONICA_VERSION=1.80.0 | |
ENV LOG4CPLUS_VERSION=2.0.5 | |
ARG LD_LIBRARY_PATH=/usr/local/lib | |
ARG MAKEFLAGS="-j2" | |
ARG PKG_CONFIG_PATH="/usr/local/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig" | |
ARG PREFIX=/usr/local |
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
FROM alpine:3.12 | |
ENV OPENCV_VERSION=4.4.0 | |
ARG LD_LIBRARY_PATH=/usr/local/lib | |
ARG MAKEFLAGS="-j2" | |
ARG PKG_CONFIG_PATH="/usr/local/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig" | |
ARG PREFIX=/usr/local | |
ARG LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64:/usr/lib64:/usr/lib:/lib64:/lib" |
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 ( | |
"fmt" | |
"os" | |
"github.com/aliyun/aliyun-oss-go-sdk/oss" | |
) | |
func main() { | |
// Create an OSSClient instance. |
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
#!/bin/bash | |
update_system() { | |
apt-get update && apt-get -y upgrade | |
} | |
download_video() { | |
wget --progress=dot -O input.mp4 "https://hls-jmind-test.s3.eu-central-1.amazonaws.com/example/full_2160p_60fps.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 ( | |
"fmt" | |
"runtime" | |
"time" | |
) | |
func cpuIntensive(p *int) { | |
for i := 1; i <= 100000000000; i++ { |
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 ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
) |
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
// Parser is a command line tool for parsing big XML file. | |
// Author: Ali Shanaakh <[email protected]> | |
// Usage: go run parse.go -path=./15-ufop/15.1-EX_XML_EDR_UO_03.10.2019.xml | |
package main | |
import ( | |
"encoding/xml" | |
"flag" | |
"fmt" | |
"io" |
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 ( | |
"errors" | |
"fmt" | |
"os" | |
"reflect" | |
"strconv" | |
"strings" | |
) |
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 { check } from "k6"; | |
import http from "k6/http"; | |
import { hmac } from "k6/crypto"; | |
export let options = { | |
// simulate rampup of trafficm 1 to 200 users over 5 minutes. | |
stages: [ | |
{ duration: "12m", target: 50 }, | |
] | |
}; |
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
#!/usr/bin/env ruby | |
# Author: Ali Shanaakh <[email protected]> | |
# Usage: import_members.rb --path=users.yml | |
require 'optparse' | |
options = {} | |
option_parser = OptionParser.new do |opts| | |
opts.banner = 'Usage: import_members.rb [options]' |
NewerOlder