Describe the happy user story
Describe the problem that turns it into a less than happy user story
Describe how to reproduce
namespace :vimeo do | |
desc "Get Vimeo HTTP Live Streaming link for private Pro videos" | |
task :direct => :environment do |t,args| | |
your_video_id = "66666666" # change this to your video id | |
loginURL = "https://vimeo.com/log_in" | |
videoFormAction = "/#{your_video_id}/settings/file" |
module ApplicationHelper | |
def markdown(text, options = {} ) | |
options = [ | |
:hard_wrap => true, | |
:space_after_headers => true, | |
:filter_html => true, | |
:autolink => true, | |
:no_intraemphasis => true, | |
:fenced_code => true, |
# SSL self signed localhost for rails start to finish, no red warnings. | |
# 1) Create your private key (any password will do, we remove it below) | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
<html> | |
<head> | |
<style> | |
body{ | |
font-family: "Verdana"; | |
} | |
div.row{ | |
height:400px; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
# remove existing folders with unnecessary | |
ϟ sudo rm -rf app/cache/* | |
ϟ sudo rm -rf app/logs/* | |
# get the current apache user | |
ϟ HTTPDUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1` | |
ϟ echo $HTTPDUSER | |
# chmod the folders with the apache user and your current CLI user | |
ϟ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs |
license: gpl-3.0 | |
height: 960 |
on list2string(theList, theDelimiter) | |
-- First, we store in a variable the current delimiter to restore it later | |
set theBackup to AppleScript's text item delimiters | |
-- Set the new delimiter | |
set AppleScript's text item delimiters to theDelimiter | |
-- Perform the conversion | |
set theString to theList as string |