Skip to content

Commit

Permalink
fix: add lametric policy
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Nov 14, 2018
1 parent 669d147 commit 67f53fe
Show file tree
Hide file tree
Showing 5 changed files with 330 additions and 0 deletions.
20 changes: 20 additions & 0 deletions public/drafts/_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,5 +591,25 @@
"tags": [
"personal"
]
},
"impressions-of-bitsrc": {
"title": "Impressions of bitsrc",
"date": "2018-11-01 13:38:41",
"modified": "2018-11-01 13:38:41",
"complete": false,
"inprogress": true,
"tags": [
"code"
]
},
"ways-to-extract-slides": {
"title": "Ways to extract slides",
"date": "2018-11-13 12:50:55",
"modified": "2018-11-13 12:50:55",
"complete": false,
"inprogress": true,
"tags": [
"code"
]
}
}
11 changes: 11 additions & 0 deletions public/drafts/ffconf-2018-takeaways.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ffconf personal take aways

This an unexhaustive list of single take aways from each talk from ffconf last week. Whilst I remember:

1. Jo Franchetti on "Mentoring: being the help you wish you'd had"

> Someone takes the time to give you criticism, they believe you'll do the right thing with it.
2. AI

> First that machine learning works with numbers, and those numbers represent success. Secondly there's a tonne of pretrained datasets available
12 changes: 12 additions & 0 deletions public/drafts/impressions-of-bitsrc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Impressions of bitsrc

For my most recent client project I've been using [bitsrc.io](https://bitsrc.io) to manage the components for the project. Although I'm the sole developer on the project, it helps me prepare for repurposing the components through the future projects.

I wanted to share my experience of using Bit for project work and a few of the pitfalls I've run into (and workarounds).

<!--more-->

## What is Bit?

> Bit enables you to share and sync source code components between different SCM repositories and projects. React is known for its ease in separation and reuse of components, and as such, it’s perfect for combining with Bit.
35 changes: 35 additions & 0 deletions public/drafts/ways-to-extract-slides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Ways to extract slides

When you run events, once everything is over, it's nice to be able to share the slides both as a single link but also for the video production.

I've personally seen a huge range of slide decks, platforms and delivery formats and with ffconf over last week I had to collect and normalise all the speakers' presentations into a format our video editor could work with.

So this post is reminder for my future self on how to do that.

<!--more-->

## Tools required

Keynote, Speakerdeck, Powerpoint, Google Slides and more export directly to PDF. This is worth doing because firstly it gives me a single downloadable that visitors can use, but it's also a great format for extracting individual image slides.

Along with these PDFs, I'll need the following command line tools (on my mac, installed using `brew install …`):

- `ghostscript`
- `imagemagick` (provides `convert`)
- `wget`
- potentially `jq`

## Images to PDF



## PDF to images

```bash
$ convert slides.pdf slides.png
```

## HTML slides to images

Using the Puppetter project and a relatively small amount of code, it's possible to grab screenshots of each stage of an HTML deck and save those as images.

252 changes: 252 additions & 0 deletions public/lametric.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>LaMetric app policy</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';
}

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol';
background: #fafafa;
color: #212121;
/* font-weight: 300; */
/* max-width: 80%; */
max-width: 720px;
max-width: 60ch;
font-size: 16px;
line-height: 28px;
margin: 40px auto;
}

hr {
border: 0;
border-bottom: 2px solid #ccc;
border-radius: 2px;
}

h1,
h2 {
margin: 42px 0 24px 0;
font-weight: 600;
}

a {
color: blue;
}

strong {
font-weight: 700;
}

mark {
display: block;
padding: 10px;
text-align: center;
background: #ddd;
border-radius: 2px;
}

@media (max-width: 720px) {
body {
margin: 20px;
max-width: 100%;
}

ul,
ol {
padding-left: 20px;
}

li a {
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
}

.if-has-offline {
opacity: 0;
transition: opacity 100ms ease-out;
}

.has-offline .if-has-offline {
opacity: 1;
}

pre code,
pre[class*='language-'] code {
color: #272727;
background: #f3f3f3;
padding: 0.5em;
-webkit-text-size-adjust: none;
}

pre,
pre[class*='language-'] {
padding: 0 0.2em;
margin: 10px 0;
line-height: 1.475;
color: #272727;
background: #f3f3f3;
border: 1px solid #ccc;
position: relative;
border-radius: 3px;
direction: ltr;
text-align: left;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
word-wrap: break-word;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
-o-hyphens: none;
hyphens: none;
overflow-x: scroll;
display: block;
width: 100%;
overflow: auto;
max-width: 100%;
}

pre code,
pre[class*='language-'] code {
word-wrap: -moz-break-word;
word-wrap: break-word;
white-space: pre;
word-wrap: normal;
display: table-cell !important;
-webkit-text-size-adjust: none;
}

code {
font-family: 'ubuntu mono', menlo, monaco, consolas, courier,
'courier new', 'lucida console', monospace;
}
</style>
</head>
<body>
<h1>LaMetric App Privacy Policy</h1>

<p>Effective date: November 14, 2018</p>

<p>
Remy Sharp ("me", "I", "us", "we", or "our") operates the https://remysharp.com
website (the "Service").
</p>

<p>
This page informs you of our policies regarding the collection, use, and
disclosure of personal data when you use our Service and the choices you
have associated with that data.
</p>

<p>
We use your data to provide and improve the Service. By using the Service,
you agree to the collection and use of information in accordance with this
policy. Unless otherwise defined in this Privacy Policy, terms used in
this Privacy Policy have the same meanings as in our Terms and Conditions,
accessible from https://remysharp.com
</p>

<h2>Information Collection And Use</h2>

<p>
We collect several different types of information for various purposes to
provide and improve our Service to you.
</p>

<h3>Types of Data Collected</h3>

<p>No data is collected.</p>

<h2>Use of Data</h2>

<p>
Remy Sharp's LaMetric apps uses the collected data for various purposes:
</p>
<ul>
<li>To display the correct date</li>
</ul>

<h2>Disclosure Of Data</h2>

<h3>Legal Requirements</h3>
<p>
Remy Sharp may disclose your Personal Data in the good faith belief that
such action is necessary to:
</p>
<ul>
<li>To comply with a legal obligation</li>
<li>To protect and defend the rights or property of Remy Sharp</li>
<li>
To prevent or investigate possible wrongdoing in connection with the
Service
</li>
<li>
To protect the personal safety of users of the Service or the public
</li>
<li>To protect against legal liability</li>
</ul>

<h2>Security Of Data</h2>
<p>
The security of your data is important to us, but remember that no method
of transmission over the Internet, or method of electronic storage is 100%
secure. While we strive to use commercially acceptable means to protect
your Personal Data, we cannot guarantee its absolute security.
</p>

<h2>Service Providers</h2>
<p>
We may employ third party companies and individuals to facilitate our
Service ("Service Providers"), to provide the Service on our behalf, to
perform Service-related services or to assist me in analysing how our
Service is used.
</p>
<p>
These third parties have access to your Personal Data only to perform
these tasks on our behalf and are obligated not to disclose or use it for
any other purpose.
</p>

<h2>Children's Privacy</h2>
<p>Our Service does not address anyone under the age of 18 ("Children").</p>
<p>
We do not knowingly collect personally identifiable information from
anyone under the age of 18. If you are a parent or guardian and you are
aware that your Children has provided me with Personal Data, please
contact us. If we become aware that we have collected Personal Data from
children without verification of parental consent, we take steps to remove
that information from our servers.
</p>

<h2>Changes To This Privacy Policy</h2>
<p>
We may update our Privacy Policy from time to time. We will notify you of
any changes by posting the new Privacy Policy on this page.
</p>
<p>
You are advised to review this Privacy Policy periodically for any
changes. Changes to this Privacy Policy are effective when they are posted
on this page.
</p>

<h2>Contact Us</h2>
<p>
If you have any questions about this Privacy Policy, please contact us:
</p>
<ul>
<li>By email: [email protected]</li>
</ul>
</body>
</html>

0 comments on commit 67f53fe

Please sign in to comment.