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 golang:1.14.3-alpine3.11 AS build | |
RUN apk add --no-cache git | |
RUN go get github.com/docker/docker/api/types | |
RUN go get github.com/docker/docker/client | |
RUN apk del git | |
WORKDIR /go/src/myapp |
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/sh | |
du -sh ./* |
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
const secondsToSkip = 3; | |
let video = document.getElementById("video-player_html5_api"); | |
document.onkeydown = (event) => { | |
if (event.keyCode == 37) video.currentTime = video.currentTime - secondsToSkip; | |
if (event.keyCode == 39) video.currentTime = video.currentTime + secondsToSkip; | |
}; |
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
const express = require('express'); | |
const app = express(); | |
const interceptor = require('express-interceptor'); | |
const responseInterceptor = interceptor((req, res) => { | |
return { | |
isInterceptable: () => true, | |
intercept: (body, send) => { | |
console.log('Intercepted!'); | |
send(body); |
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
REM -------------------------------- | |
REM Script de sincronização do FTP 156 com diretório local | |
REM Autor: Andrew Solera (asolera@prefeitura.sp.gov.br) | |
@ECHO OFF | |
SET connectionname=nome_da_conexao | |
SET remotedir=/path/to/file/ | |
SET localdir=C:\local_dir | |
SET filemask=file_mask_????????.txt |
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
dsquery user -samid d123456 | |
:: Retorno => CN=Fulano da Silva,OU=Users,OU=XYZ,DC=rede,DC=sp |
NewerOlder