-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
![forwarding_table.png](https://gist.github.com/DiegoTc/10611140/raw/556f710357ba77cc62eba47010acc244acd2b0c1/forwarding_table.png)
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
<h1>BoneScript Flot Demo</h1> | |
<div id="myplot" style="width:500px;height:300px;"></div> | |
<p><a href="https://gist.github.com/jadonk/9602198">fork me on github</a></p> |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
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
function summernoteLoad() { | |
var $summernoteTextAreas = $('[data-control="summernote"]'); | |
//cargar summernote | |
$summernoteTextAreas.summernote({ | |
onImageUpload: summernoteOnImageUpload, | |
onkeyup: function() { | |
syncSummernoteTextArea($summernoteTextAreas); | |
validate(false); | |
}, |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
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
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">writeTextFile(filename, data, [callback])</h1><p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Write the contents of a text (ASCII) file.</p><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: normal; color: rgb(180, 162, 121); mar |
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
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">writeTextFile(filename, data, [callback])</h1><p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Write the contents of a text (ASCII) file.</p><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: normal; color: rgb(180, 162, 121); mar |
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
You will need a photosensor like this...<div><img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4UZ8RXhpZgAASUkqAAgAAAALAA8BAgAGAAAAkgAAABABAgAUAAAAmAAAABIBAwABAAAAAQAAABoBBQABAAAAuAAAABsBBQABAAAAwAAAACgBAwABAAAAAgAAADIBAgAUAAAAyAAAADsBAgABAAAAAAAAABMCAwABAAAAAgAAAJiCAgABAAAAAAAAAGmHBAABAAAAXAEAAHYiAABDYW5vbgBDYW5vbiBFT1MgUkVCRUwgVDNpAAAAAAAAAAAAAAAAAEgAAAABAAAASAAAAAEAAAAyMDE0OjA1OjAxIDEzOjA5OjUxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJgCaggUAAQAAACoDAACdggUAAQAAADIDAAAiiAMAAQAAAAIAAAAniAMAAQAAAKAAAAAwiAMAAQAAAAIAAAAyiAQAAQAAAKAAAAAAkAcABAAAADAyMzADkAIAFAAAADoDAAAEkAIAFAAAAE4DAAABkQcABAAAAAECAwABkgoAAQAAAGIDAAACkgUAAQAAAGoDAAAEkgoAAQAAAHIDAAAHkgMAAQAAAAUAAAAJkgMAAQAAAAAAAAAKkgUAAQAAAHoDAAB8kgcADB0AAIIDAACGkgcACAEAAI4gAACQkgIAAwAAADA2AACRkgIAAwAAADA2AACSkgIAAwAAADA2AAAAoAcABAAAADAxMDABoAMAAQAAAAEAAAACoAQAAQAAALsEAAADoAQAAQAAAGsCAAAFoAQAAQAAAJYhAAAOogUAAQAAALQhAAAPogUAAQ |
OlderNewer