I hereby claim:
- I am benjohnde on github.
- I am benjohnde (https://keybase.io/benjohnde) on keybase.
- I have a public key ASAq_bdztZzp96m0JSyP9wsTIH6a8BsHlC06-k_w6RTTFgo
To claim this, I am signing this object:
function exportArtboard(artboard, file_path) { | |
var frame = artboard.frame() | |
var artboardWidth = frame.width() | |
var artboardHeight = frame.height() | |
var overlayName = artboard.name().replace(/\.| /g, "") | |
var shapes = [] | |
var layers = artboard.layers() |
function processShape(part, groupX, groupY, artboardWidth, artboardHeight) { | |
// FIX: due to react-sketchapp rendering everything into a group | |
// we need to set part to the children "ShapeGroup" but remember | |
// the parent's (x, y) | |
if (part.children().length !== 2) { | |
groupX += part.frame().x() | |
groupY += part.frame().y() | |
const name = part.name() | |
part = part.children()[1] | |
part.name = name |
import React from "react"; | |
import { | |
render, | |
Artboard, | |
View, | |
} from "react-sketchapp"; | |
const OverlayTemplate = ({ }) => { | |
const artboardStyle = { | |
width: 720, |
export default function(name, shapes) { | |
const generatedRects = shapes.map(({ | |
shapeName, | |
x, | |
y, | |
width, | |
height, | |
cornerRadius, | |
border | |
}) => { |
#!/bin/bash | |
for ppt in *.ppsx | |
do | |
mkdir tmp | |
cd tmp | |
unzip ../$ppt | |
sed -i '' 's/slideshow/presentation/' \[Content_Types\].xml | |
sed -i '' 's/x-ms-wmv/mp4/' \[Content_Types\].xml |
I hereby claim:
To claim this, I am signing this object:
"-DCMAKE_MAKE_PROGRAM=/usr/bin/xcodebuild", | |
"-DENABLE_CXX11=ON", | |
"-DCMAKE_CXX_FLAGS=\"-stdlib=libc++\"", | |
"-DCMAKE_CXX_COMPILER=clang++", | |
"-DCMAKE EXE LINKER FLAGS=\"-stdlib=libc++\"" , |
[ | |
{ | |
"region":"Europe", | |
"aliases":[ | |
"EU" | |
], | |
"countries":{ | |
"country":"Germany", | |
"aliases":[ | |
"de", |