Para instalar o Flash player no Chromium:
Baixe o pacote pelo AUR e instale usando o pacman:
$ cd Downloads/
$ ls
flashplugin-11.2.202.378-1-x86_64.pkg.tar.xz
$ sudo pacman -U flashplugin-11.2.202.378-1-x86_64.pkg.tar.xz
require "instagram" | |
require "restclient" | |
require "twitter" | |
require 'koala' | |
hashtag = "danpluslaura" | |
INSTAGRAM_ACCESS_TOKEN = "############" | |
INSTAGRAM_CLIENT_ID = "###########" | |
INSTAGRAM_CLIENT_SECRET = "###########" |
Para instalar o Flash player no Chromium:
Baixe o pacote pelo AUR e instale usando o pacman:
$ cd Downloads/
$ ls
flashplugin-11.2.202.378-1-x86_64.pkg.tar.xz
$ sudo pacman -U flashplugin-11.2.202.378-1-x86_64.pkg.tar.xz
<!doctype html> | |
<html> | |
<head> | |
<title>Embed youtube video</title> | |
<meta charset="utf-8"> | |
<link href="video.css"> | |
</head> | |
<body> | |
<div id='embed-container'> | |
<div id='ytapiplayer'></div> |
#!/bin/sh | |
# | |
# Creates an installable package containing H.264 and MP3 support | |
# libraries for Opera on Linux | |
# | |
# Note: You will need a suitable development environment to run this | |
# script successfully. Make sure the following is installed before | |
# proceeding: | |
# | |
# * autoconf |
Basically, if you prefer to use DATABASE_URL in your application better than creating the whole database.yml thing, set the following ENV variable in your wercker app settings:
name: DATABASE_URL
source "https://rubygems.org" | |
gem 'activerecord', '~> 5.1' | |
gem 'mysql2', '~> 0.4' | |
gem 'spreadsheet' |
hipchat-notify用の設定。werckerのApplication Settings (右上の歯車アイコン) → Environment variables から、HIPCHAT_TOKEN
とHIPCHAT_ROOM_ID
を追加する。
box: wercker/ruby | |
services: | |
- wunki/elasticsearch@0.0.1 | |
- wercker/postgresql | |
build: | |
steps: | |
# Taken from https://gist.github.com/pjvds/6008266 | |
- script: |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |
# mate ~/.irbrc | |
#!/usr/bin/env ruby | |
if defined? Rails | |
begin | |
require 'factory_girl' | |
Dir[Rails.root.join("spec/factories/**/*.rb")].each { |f| require f } | |
rescue LoadError | |
end |