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
/* | |
* Basic sample | |
*/ | |
function addPage(file, pageNumber, book) { | |
var id, pages = book.turn('pages'); | |
var reader = new FileReader(); | |
reader.onload = (function (theImg) { |
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
/* | |
* Basic sample | |
*/ | |
function addPage(file, pageNumber, book) { | |
var id, pages = book.turn('pages'); | |
var reader = new FileReader(); | |
reader.onload = (function (theImg) { |
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
<html> | |
<head> | |
<style type="text/css"> | |
body{ | |
overflow:hidden; | |
} | |
#flipbook{ | |
width:400px; | |
height:300px; |
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
<html> | |
<head> | |
<style type="text/css"> | |
body{ | |
overflow:hidden; | |
} | |
#droparea { | |
width:200px; | |
height:200px; |
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
<div class="stopandrespond" style="text-align:center;background-color:#b0c4de;border:1px solid black;"> | |
<strong><font color="red">Stop and do this now.</font></strong> | |
<br /> | |
If this step doesn't work for you,<a href="#respond">Tell Us!</a> | |
</div> |
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
#!/bin/bash | |
### | |
# | |
# forked from https://gist.github.com/1264701/08f93534ba177f173b9382b53c419cd0de5b07ea | |
# Copyright (c) 2011 Cake Development Corporation (http//cakedc.com) | |
# | |
# Ubuntu 12.10 based web server installation script | |
# Run this by executing the following from a fresh install of Ubuntu 12.10 server: | |
# |
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
#!/bin/bash | |
### | |
# | |
# Copyright (c) 2013 KimSia | |
# | |
# Ubuntu 12.10 based web server VirtualBox Guest Additions installation script on Guest Ubuntu | |
# Run this by executing the following from a fresh install of Ubuntu 12.10 server: | |
# | |
# bash -c "$(curl -fsSL https://raw.github.com/gist/4442745)" |
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
<?php | |
class AclGrantDenyShell extends AppShell { | |
/** | |
* Contains instance of AclComponent | |
* | |
* @var permissions | |
*/ |
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
#!/bin/bash | |
### | |
# | |
# Copyright (c) 2013 KimSia Sim | |
# | |
# Ubuntu 12.10 based install jenkins and other related plugins | |
# Run this by executing the following from a fresh install of Ubuntu 12.10 server: | |
# | |
# bash -c "$(curl -fsSL https://gist.github.com/simkimsia/4473000/raw/5e301a3bd399096e7cbbe3b1a877997a117aa7a3/install-jenkins-on-ubuntu-12-10.sh)" |