Mix with 2 cups white flour:
- 2/3 tablespoon salt
- 1/2 tablespoon thyme
- 1/2 tablespoon basil
- 1/3 tablespoon oregano
- 1 tablespoon celery salt
- 1 tablespoon black pepper
- 1 tablespoon dried mustard
- 4 tablespoons paprika
require "rspec/core/formatters/base_text_formatter" | |
require 'headless' | |
require 'fileutils' | |
class AcceptanceVideoFormatter < RSpec::Core::Formatters::BaseTextFormatter | |
def initialize(output) | |
@headless = Headless.new( | |
video: { | |
nomouse: true, |
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
sudo tail -f /var/log/kern.log | |
run the process who will killed | |
http://stackoverflow.com/questions/726690/who-killed-my-process-and-why |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Workaround for gems that cannot be installed easily on macosx yosemite
gem install nokogiri -v '1.6.6.2' -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 --use-system-libraries
bundle config build.nokogiri --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 --use-system-libraries
if (typeof window.localStorage == 'undefined' || typeof window.sessionStorage == 'undefined') (function () { | |
var Storage = function (type) { | |
function createCookie(name, value, days) { | |
var date, expires; | |
if (days) { | |
date = new Date(); | |
date.setTime(date.getTime()+(days*24*60*60*1000)); | |
expires = "; expires="+date.toGMTString(); |
Note that this validation runs both after the file is uploaded and after CarrierWave has processed the image. If your base uploader includes a filter to resize the image then the validation will be run against the resized image, not the original one that was uploaded. If this causes a problem for you, then you should avoid using a resizing filter on the base uploader and put any specific size requirements in a version instead.
So instead of this:
require 'carrierwave/processing/mini_magick'
SPARQL EXAMPLE WINE.RDF | |
// cari wine yg umurnya > 1997 | |
prefix wine: <http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
SELECT ?subject ?object | |
WHERE { ?subject wine:yearValue ?y . |