La base de datos que elegí, es una recopilacion de 24 horas de produccion, en la compañia en la que laboro, para un proceso en particular.
Contenido:
- Tiempo de ciclo
- Si pasó o falló
<?php | |
try | |
{ | |
//open the database | |
$db = new PDO('sqlite:dogsDb_PDO.sqlite'); | |
//delete the table if exists so I can start with a fresh table | |
$db->exec("drop table if exists Dogs"); | |
//create the database |
// Step 1: Check for Notifications API support | |
// check for notifications support | |
// you can omit the 'window' keyword | |
if (window.webkitNotifications) { | |
console.log("Notifications are supported!"); | |
} | |
else { | |
console.log("Notifications are not supported for this Browser/OS version yet."); | |
} | |
// Step 2: Let the user grant permissions to a website to show notifications. |
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: myservice | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Put a short description of the service here | |
# Description: Put a long description of the service here |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<polymer-element name="my-element"> | |
<template> |
[ Launch: bonderDeadTimes ] beddf36d60746f255ad0 by aldomendez
<div id="container" style="margin-top:50px;"></div> | |
<template class="column" id="template"> | |
<div class="ui grid text container"> | |
<div class="row"> | |
<div class="column"> | |
<h1>Pomodoro</h1> | |
<div class="ui centered card"> | |
<div class="content"> | |
<div class="header"> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.1.8/semantic.css" rel="stylesheet" type="text/css" /> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.ui.card>.progress { | |
background:rgba(120, 202, 41, 1); |
After my dad died, I wanted to be able to have access any of his online accounts going forward. My dad was a Safari user and used iCloud Keychain to sync his credentials across his devices. I don’t want to have to keep an OS X user account around just to access his accounts, so I wanted to export his credentials to a portable file.
This is the process I used to create a CSV file of his credentials in the format “example.com,user,pass”. This portable format would be pretty easy to import into 1Password or Safari in the future.
The way I went about this isn’t great; it opens up more opportunities for apps to control one’s Mac through Accessibility APIs, it writes plaintext passwords to disk, and it could use some cleaning up. A better approach might leverage the security
command line tool that ships with OS X. That said, I found this method to be a fun illustration of what’s possible us