32 bits version
$ wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-32.tar.xz -O popcorntime.tar.xz
64 bits version
Picking the right architecture = Picking the right battles + Managing trade-offs
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
module ActiveAdmin | |
module Views | |
class PaginatedCollection < ActiveAdmin::Component | |
protected | |
# modified from will_paginate | |
def page_entries_info(options = {}) | |
if options[:entry_name] | |
entry_name = options[:entry_name] |
Linux
Keyboard code information http://keycode.info/
PostgreSQL (10.4 (Ubuntu 10.4-2.pgdg16.04+1)) Ubuntu 16.04.4 LTS
https://www.postgresql.org/download/linux/ubuntu/
Create the file /etc/apt/sources.list.d/pgdg.list and add a line for the repository
deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
require 'json' | |
x = JSON.parse('{ | |
"@context": [ | |
"https://opencontext.org/contexts/search.json", | |
"http://geojson.org/geojson-ld/geojson-context.jsonld" | |
], | |
"id": "http://opencontext.org/subjects-search/Turkey/Kenan+Tepe.json", | |
"label": "Open Context API", | |
"dcmi:modified": "2018-01-31T03:20:58Z", | |
"dcmi:created": "2012-06-30T00:00:00Z", |
#first generate a key for your domain | |
openssl genrsa -out yourdomain.com.key 2048 | |
#then generate the request | |
openssl req -new -key yourdomain.com.key -out yourdomain.com.csr |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/puma' | |
require 'mina/rvm' | |
require 'yaml' | |
set :user, 'deploy' | |
set :port, '22' | |
set :forward_agent, true | |
set :term, :system |
class RepeatedCharactorFound < StandardError | |
def message | |
"Repeated charactors are not allowed. Please Try again." | |
end | |
end | |
class MinimumLengthRequired < StandardError | |
def message | |
"Charactor length must be equal to four. Please Try again." | |
end | |
end |