On /settings
page Custom HTML head content add paste in the script/style above
The setup will result in a PDF button in the toolbar whenever you open the editor.
#!/bin/bash -x | |
# remove sudo require password | |
sudo vim /etc/sudoers | |
#manjaro-only sudo vim /etc/sudoers.d/10-installer | |
# adjust mirrorlist & update system | |
#manjaro-only sudo pacman-mirrors -i | |
sudo pacman -Syu --noconfirm |
# command line stuff | |
bash-complete-more-git | |
bash-git-prompt | |
# dev tools | |
## build tool | |
apache-ant | |
## SCM (source code management) | |
git | |
## the name says it all |
#!/bin/bash -xe | |
# docker id might be given as a parameter | |
DID=$1 | |
if [[ "$DID" == "" ]]; then | |
# if no id given simply just connect to the first running instance | |
DID=$(docker ps | grep -Eo "^[0-9a-z]{8,}\b") | |
fi |
<template name="booksTemplate"> | |
<div class=".books"> | |
{{#each books}} | |
{{title}} | |
{{/each}} | |
</div> | |
</template> |
// LOAD SDK | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'your-app-id', | |
xfbml : true, | |
version : 'v2.2' | |
}); | |
}; |
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |