This file contains hidden or 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
[ | |
{ | |
"name": "sync.sketchplugin", | |
"description": "Use Google Sheets to sync typography across your team.", | |
"author": "Stan", | |
"owner": "nolastan" | |
}, | |
{ | |
"name": "qordoba-for-sketch", | |
"description": "Qordoba’s Sketch plugin allows designers to translate their mockups to other languages, making product internationalization easier.", |
This file contains hidden or 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
Rails.application.routes.draw do | |
# ...snip... | |
resources :plugins, concerns: :paginatable, path_names: { new: 'register' } do | |
get '/search', to: 'plugins#search', on: :collection, as: 'search' | |
end | |
# ...snip... | |
end |
This file contains hidden or 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
class PluginsController < ApplicationController | |
# ...snip... | |
def search | |
redirect_to plugins_path if search_query.blank? | |
@plugins = Plugin.search(search_query).page params[:page] | |
# redirect to plugin if the search returned a direct hit |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<OutputEncoding>UTF-8</OutputEncoding> | |
<InputEncoding>UTF-8</InputEncoding> | |
<AdultContent>false</AdultContent> | |
<Language>en-us</Language> | |
<ShortName>Sketchpacks</ShortName> | |
<LongName>Google Search of Sketchpacks.com</LongName> | |
<Description>Use Google to search Sketchpacks, the Sketch Community's plugin registry and directory</Description> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
<OutputEncoding>UTF-8</OutputEncoding> | |
<InputEncoding>UTF-8</InputEncoding> | |
<AdultContent>false</AdultContent> | |
<Language>en-us</Language> | |
<ShortName>Sketchpacks</ShortName> | |
<LongName>Google Search of Sketchpacks.com</LongName> | |
<Description>Use Google to search Sketchpacks, the Sketch Community's plugin registry and directory</Description> | |
<Tags>sketchapp sketch plugins registry directory search</Tags> |
This file contains hidden or 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
# Attach the scope as part of a chain in an ActiveRecord query: | |
UserFacebookFanpages.valid.tracked.find(:all) |
This file contains hidden or 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
################################################################# | |
# # | |
# A guide to setting up a linode Ubuntu VPS for # | |
# Ruby on Rails hosting with nginx & passenger # | |
# # | |
# Compiled by Chris Toomey [ctoomey.com] on Sept. 9 2011 # | |
# # | |
################################################################# | |
# Start with base 10.04 image. Setup the DNS for any domains you |
This file contains hidden or 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
MOCHIGAMES.namespace(MOCHIGAMES, 'GameRating'); | |
MOCHIGAMES.GameRating = (function(parent, $) { | |
var Settings = { | |
base: window.location.origin, | |
endpoint: 'api/v1/usergamerating' | |
}; | |
var Game = { |
This file contains hidden or 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
DatabaseError at / | |
column profiles_userprofile.date_to_double_purchase_limit does not exist | |
LINE 1: ...s", "profiles_userprofile"."is_banned_from_chat", "profiles_... | |
^ | |
Request Method: GET | |
Request URL: http://localhost:8000/ | |
Django Version: 1.3 SVN-67268 | |
Exception Type: DatabaseError | |
Exception Value: | |
column profiles_userprofile.date_to_double_purchase_limit does not exist |
This file contains hidden or 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="offer-item"> | |
<input type="radio" name="offerURL" class="radio" value="https://buy.boku.com/checkoutidentify/b6e52d180c115a1e28fc4cab/buy.js" /> | |
<label><span class="item-amount">21,592</span> <span class="currency-name">MOCHICOINS</span> for $<span class="item-price">26.99</span></label> | |
</div> |