I hereby claim:
- I am dclobato on github.
- I am dclobato (https://keybase.io/dclobato) on keybase.
- I have a public key ASCvwzp_mz3XaA4eKF5fILDBsBZbxUMms4k6mzjFizewzgo
To claim this, I am signing this object:
/* | |
Spark Cyan Flash of Death Killer - by Scott Lichtenstein (StartGroup) | |
Open Sourcec - Please feel free to do whatever you want with this! :) | |
*/ | |
const int resetButton = 0; // pin that will flip the reset switch | |
int sensorValue = 0; // variable to store the value coming from the Spark pin | |
int sensorPin = 3; // pin from Spark Core | |
int sensorState; // holds current state of pin from Spark Core | |
int lastTriggerState = LOW; // the last successful read of the Spark Core pin |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; G-Code de inicio | |
;; Posicionar no home | |
G28 | |
;; Ajustar parametros de aceleracao | |
M204 P750 T1000 ; Acceleration | |
M205 X23 ; Jerk | |
;; Ajuste dos parametros do PID | |
;; Kp: 37.404785 |
using Microsoft.Extensions.Logging; | |
using System; | |
using System.IO; | |
namespace EFCore_NM | |
{ | |
class MeuLogProvider : ILoggerProvider | |
{ | |
public ILogger CreateLogger(string categoryName) | |
{ |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Metadata.Builders; | |
using Microsoft.Extensions.Logging; | |
using System; | |
using System.Collections.Generic; | |
namespace EFCore_NM | |
{ | |
class Program | |
{ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
apt update | |
apt install -y ca-certificates curl gnupg lsb-release | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null |
version: '3.9' | |
services: | |
watchtower: | |
container_name: WatchTower | |
image: containrrr/watchtower | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /opt/docker/watchtower:/config/:ro | |
environment: |
#!/bin/bash | |
read -p "Qual extensao converter? " extensao | |
read -p "Arquivo com o resultado das conversoes? " saida | |
echo Trabalhando nos arquivos *.$extensao | |
echo `date` > $saida | |
find ./ -type f -iname "*.${extensao}" | while IFS= read -r video; do |
import contextlib | |
import os | |
import zipfile | |
from datetime import datetime | |
from pathlib import Path | |
from PIL import ExifTags | |
from PIL import Image | |
from pillow_heif import register_heif_opener | |
register_heif_opener() |
user www; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { |