Skip to content

Instantly share code, notes, and snippets.

View danielramosbh74's full-sized avatar
✔️
"Persistence is the path to success". Charles Chaplin

Daniel Ramos de Carvalho danielramosbh74

✔️
"Persistence is the path to success". Charles Chaplin
View GitHub Profile
@jonasmalacofilho
jonasmalacofilho / safesign.md
Created July 1, 2014 22:12
Instalando o SafeSign Crypto USB Token no Firefox/Linux

Instalando o SafeSign Crypto USB Token no Firefox/Linux

Hardware: Giesecke & Devrient SafeSign Crypto USB Token

Sistema operacional: Ubuntu 14.04 LTS AMD 64

  1. Dependências: libccid, pcscd e libpcsclite1. Adicionalmente, é interessante instalar o pacote pcsc-tools e executar pcsc_scan para verificar a visibilidade do token.
@rhogeranacleto
rhogeranacleto / mmc.js
Created September 19, 2017 13:08
Calculo de Mínimo Múltiplo Comum em Javascript / Calculation of Common Minimum in Javascript
function divisibleAll(numbers, multiple) {
for (let i = 0; i < numbers.length; i++) {
if (multiple % numbers[i] !== 0) {
return false;
}
}
@gaearon
gaearon / index.html
Last active September 22, 2024 19:21
Add React in One Minute
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add React in One Minute</title>
</head>
<body>
<h2>Add React in One Minute</h2>
<p>This page demonstrates using React with no build tooling.</p>
@danielramosbh74
danielramosbh74 / safesign.md
Created December 18, 2018 13:54 — forked from jonasmalacofilho/safesign.md
Instalando o SafeSign Crypto USB Token no Firefox/Linux

Instalando o SafeSign Crypto USB Token no Firefox/Linux

Hardware: Giesecke & Devrient SafeSign Crypto USB Token

Sistema operacional: Ubuntu 14.04 LTS AMD 64

  1. Dependências: libccid, pcscd e libpcsclite1. Adicionalmente, é interessante instalar o pacote pcsc-tools e executar pcsc_scan para verificar a visibilidade do token.
@foo0x29a
foo0x29a / named.conf.options
Created February 24, 2019 13:05
/etc/bind/named.conf.options
options {
directory "/var/cache/bind";
recursion yes;
listen-on { any; };
forwarders {
8.8.8.8;
8.8.4.4;
};
@foo0x29a
foo0x29a / Dockerfile
Created February 24, 2019 14:00
BIND9
FROM ubuntu:bionic
RUN apt-get update \
&& apt-get install -y \
bind9 \
bind9utils \
bind9-doc
# Enable IPv4
RUN sed -i 's/OPTIONS=.*/OPTIONS="-4 -u bind"/' /etc/default/bind9
@Mattamorphic
Mattamorphic / publish.yml
Last active August 22, 2020 18:34
NPM Publish GitHub Package Registry
name: Deploy package to GitHub package registry
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build: