Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am pekala on github.
  • I am pekala (https://keybase.io/pekala) on keybase.
  • I have a public key ASDwEPPNl5rDpjjXQaL7euCJaOllRqTUekZ2oWo1e7yKAwo

To claim this, I am signing this object:

View responsive-embed.html
<style>
.issuu-embed-container {
position: relative;
padding-bottom: 56.25%; /* set the aspect ratio here as (height / width) * 100% */
height: 0;
overflow: hidden;
max-width: 100%;
}
.issuu-embed-container iframe {
position: absolute;
View unexpected-to-jest.js
const getExpectExpression = (j, actualValue, expectedValue, methodName) => {
const innerCallExpression = j.callExpression(
j.identifier('expect'),
[actualValue]
);
const memberExpression = j.memberExpression(
innerCallExpression,
j.identifier(methodName)
);
@pekala
pekala / Info.plist
Last active Aug 29, 2015
Remove app from dock
View Info.plist
<key>LSUIElement</key>
<true/>