I hereby claim:
- I am napolux on github.
- I am napolux (https://keybase.io/napolux) on keybase.
- I have a public key whose fingerprint is 546D 114A BE39 4F1A AB54 5D7F 8035 7961 09AE FC24
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Francesco subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="Apple" title="Apple"> | |
<outline type="rss" text="MacRumors : Mac News and Rumors" title="MacRumors : Mac News and Rumors" xmlUrl="http://www.macrumors.com/macrumors.xml" htmlUrl="http://www.macrumors.com"/> | |
<outline type="rss" text="Gioxx's Wall" title="Gioxx's Wall" xmlUrl="http://feeds2.feedburner.com/gioxx" htmlUrl="http://gioxx.org"/> |
# Installa git | |
sudo apt-get update | |
sudo apt-get install git | |
# Clona il repo di letsencrypt.org | |
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
# Crea il certificato per il tuo dominio | |
cd /opt/letsencrypt | |
./letsencrypt-auto --apache -d tuodominio.it |
version: '3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: wordpress |
const puppeteer = require('puppeteer'); | |
const URL = 'https://coding.napolux.com'; | |
puppeteer.launch({ headless: true, args: ['--no-sandbox', '--disable-setuid-sandbox'] }).then(async browser => { | |
const page = await browser.newPage(); | |
await page.setViewport({width: 320, height: 600}) | |
await page.setUserAgent('Mozilla/5.0 (iPhone; CPU iPhone OS 9_0_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13A404 Safari/601.1') | |
await page.goto(URL, {waitUntil: 'networkidle0'}); | |
await page.waitForSelector('body.blog'); |
<?php | |
namespace API\Middleware; | |
use \Psr\Http\Message\ServerRequestInterface as Request; | |
use \Psr\Http\Message\ResponseInterface as Response; | |
/** | |
* Class AmazonMiddleware | |
* @package API\Middleware | |
*/ | |
class AmazonMiddleware |
#!/bin/sh | |
for SET in `redis-cli --scan --pattern 'set:*'` | |
do | |
printf "%s\t%s\n" $SET `redis-cli SCARD $SET` | |
done | |
# example output | |
# set:2454148031 33 | |
# set:1497228031 1932 | |
# set:524015031 418 |
{ | |
"name": "napolux-frontend", | |
"version": "1.0.0", | |
"description": "it's a test", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "MIT", |
package napodate | |
import "context" | |
// Service provides some "date capabilities" to your application | |
type Service interface { | |
Status(ctx context.Context) (string, error) | |
Get(ctx context.Context) (string, error) | |
Validate(ctx context.Context, date string) (bool, error) | |
} |
type dateService struct{} | |
// NewService makes a new Service. | |
func NewService() Service { | |
return dateService{} | |
} | |
// Status only tell us that our service is ok! | |
func (dateService) Status(ctx context.Context) (string, error) { | |
return "ok", nil |