##Monograph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add Shortcode: [player bnumber="b12345678" assetseq="0" asset="0" zoom="(get from address)"] | |
function player_shortcode( $atts ) { | |
$exatts = shortcode_atts( array ( | |
'bnumber' => 'b18035978', | |
'assetseq' => '0', | |
'asset' => '0', | |
'zoom' => '' | |
), $atts); | |
//return '<h1>' . $exatts['bnumber'] . '</h1>'; | |
return '<div class="wellcomePlayer" data-uri="http://wellcomelibrary.org/package/' . $exatts['bnumber'] . '" data-assetsequenceindex="' . $exatts['assetseq'] . '" data-assetindex="' . $exatts['asset'] . '" data-zoom="' . $exatts['zoom'] . '" data-config="/service/playerconfig" style="width: 100%; height: 420px; background-color: #000;"></div><script type="text/javascript" id="embedWellcomePlayer" src="http://wellcomelibrary.org/spas/player/build/wellcomeplayer/js/embed.js"></script>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ScaleTransform = Fayde.Media.ScaleTransform; | |
import TranslateTransform = Fayde.Media.TranslateTransform; | |
import TransformGroup = Fayde.Media.TransformGroup; | |
class Grid extends Fayde.Drawing.SketchContext { | |
// number of units to divide width by. | |
public _Divisor: number; | |
public ScaleToFit: boolean = false; | |
private _InitialUnitWidth: number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## use standard windows command prompt | |
cd C:\Program Files\SlikSvn\bin | |
mkdir c:\dumpRepo | |
svnadmin create c:\dumpRepo | |
type c:\myproject.dump | svnadmin load c:\dumpRepo | |
svn export file:///c:/dumpRepo c:\myproject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reset --hard HEAD~1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in C:\Program Files (x86)\JetBrains\WebStorm 9.0.3\bin\idea.properties | |
# uncomment the following sections and set to: | |
#--------------------------------------------------------------------- | |
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. | |
#--------------------------------------------------------------------- | |
idea.config.path=C:/Users/[user]/.WebStorm10/config | |
#--------------------------------------------------------------------- | |
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule add [email protected]:UniversalViewer/new-theme.git src/themes/new-theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -p | |
then enter an empty string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep path .gitmodules | sed 's/.*= //' |
##Original HTML
<a>link one is really really long <img src="img.png" /></a>
<a>link two</a>
<a>link three</a>
<a>link four</a>
###Initialise
Parse the HTML into DOM elements.