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
rw | |
cd /lib/firmware/brcm | |
ln -s ../cypress/cyfmac43430-sdio.bin brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.bin | |
ln -s ../cypress/cyfmac43430-sdio.clm_blob brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.clm_blob | |
ln -s brcmfmac43430-sdio.raspberrypi,3-model-b.txt brcmfmac43436s-sdio.raspberrypi,model-zero-2-w.txt | |
ro | |
reboot |
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 { FoobarService } from "./foobar.service" | |
import { FooService } from "./foo.service" | |
import { BarService } from "./bar.service" | |
jest.mock("./foo.service") | |
jest.mock("./bar.service") | |
describe("foobar service", ()=>{ | |
let service:FoobarService | |
let foo:FooService | |
let bar:BarService |
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
/** | |
* 국세청 사업자등록상태조회 Promise Wrapper | |
* | |
* 사용으로 인해 발생하는 문제는 모두 사용 당사자에게 있습니다. | |
*/ | |
function registration() { | |
if (typeof (WebSquare) == "undefined") throw "국세청 모듈이 존재하지 않습니다."; | |
var _eventKey = "fetch" |
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 { Controller, Scope } from '@nestjs/common'; | |
import { Crud } from '@nestjsx/crud'; | |
import { Heros } from '../entity/heros.entity'; | |
import { HerosService } from './heros.service'; | |
@Crud({ | |
model: { | |
type: Heros | |
} |
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 debian:stretch | |
RUN apt-get update && apt-get install -y wget lsb-release gnupg apt-transport-https ca-certificates && \ | |
wget -O - 'https://repo.proxysql.com/ProxySQL/repo_pub_key' | apt-key add - && echo deb https://repo.proxysql.com/ProxySQL/proxysql-2.0.x/$(lsb_release -sc)/ ./ | tee /etc/apt/sources.list.d/proxysql.list && \ | |
apt-get update && apt-get install proxysql && apt-get install -y mysql-client vim && \ | |
rm -rf /var/lib/apt/lists/* | |
ENTRYPOINT ["proxysql", "-f", "-D", "/var/lib/proxysql"] |
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
version: "3.6" | |
services: | |
cats: | |
image: mikesir87/cats | |
networks: | |
- proxy_entry | |
deploy: | |
replicas: 10 | |
labels: |
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
version: "3.6" | |
services: | |
socket-proxy: | |
image: tecnativa/docker-socket-proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
SERVICES: 1 | |
TASKS: 1 |
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
version: "3.6" | |
services: | |
socket-proxy: | |
image: tecnativa/docker-socket-proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
SERVICES: 1 | |
TASKS: 1 |