create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
<?xml version="1.0" encoding="utf8"?> | |
<!DOCTYPE web-app | |
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd"> | |
<web-app> | |
... | |
<mime-mapping> | |
<extension>html</extension> | |
<mime-type>text/html; charset=utf-8</mime-type> | |
</mime-mapping> |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
mpg | cylinders | displacement | horsepower | weight | acceleration | model_year | origin | name | |
---|---|---|---|---|---|---|---|---|---|
18 | 8 | 307 | 130 | 3504 | 12 | 70 | 1 | chevrolet chevelle malibu | |
15 | 8 | 350 | 165 | 3693 | 11.5 | 70 | 1 | buick skylark 320 | |
18 | 8 | 318 | 150 | 3436 | 11 | 70 | 1 | plymouth satellite | |
16 | 8 | 304 | 150 | 3433 | 12 | 70 | 1 | amc rebel sst | |
17 | 8 | 302 | 140 | 3449 | 10.5 | 70 | 1 | ford torino | |
15 | 8 | 429 | 198 | 4341 | 10 | 70 | 1 | ford galaxie 500 | |
14 | 8 | 454 | 220 | 4354 | 9 | 70 | 1 | chevrolet impala | |
14 | 8 | 440 | 215 | 4312 | 8.5 | 70 | 1 | plymouth fury iii | |
14 | 8 | 455 | 225 | 4425 | 10 | 70 | 1 | pontiac catalina |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
CORS (cross origin resource sharing) is a mechanism to allow client web applications make HTTP requests to other domains. For example if you load a site from http://domainA.com and want to make a request (via xhr or img src, etc) to http://domainB.com without using CORS your web browser will try to protect you by blocking the response from the other server. This is because browsers restrict responses coming from other domains via the Same-Origin-Policy.
CORS allows the browser to use reponses from other domains. This is done by including a Access-Control
headers in the server responses telling the browser that requests it is making is OK and safe to use the response.
Header | Description |
---|---|
Access-Control-Allow-Origin: |
Allow requests from `` to access t |
HTTP status code symbols for Rails | |
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
Status Code Symbol | |
1xx Informational | |
100 :continue | |
101 :switching_protocols | |
102 :processing |
import com.google.common.cache.CacheBuilder; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.cache.CacheManager; | |
import org.springframework.cache.annotation.CachingConfigurer; | |
import org.springframework.cache.annotation.EnableCaching; | |
import org.springframework.cache.guava.GuavaCache; | |
import org.springframework.cache.interceptor.CacheErrorHandler; | |
import org.springframework.cache.interceptor.CacheResolver; | |
import org.springframework.cache.interceptor.KeyGenerator; |
# spec/support/elasticsearch.rb | |
RSpec.configure do |config| | |
config.before :each do | |
stub_request(:any, /localhost:9200/).to_return(body: "<html>a webpage!</html>", status: 200) | |
end | |
end |