Skip to content
Avatar

Highlights

Pinned

  1. 1
    // sending to sender-client only
    2
    socket.emit('message', "this is a test");
    3
    
                  
    4
    // sending to all clients, include sender
    5
    io.emit('message', "this is a test");
  2. 1
    | **URL** | **HTTP Verb** |  **Action**|
    2
    |------------|-------------|------------|
    3
    | /photos/         | GET       | index  
    4
    | /photos/new         | GET       | new   
    5
    | /photos          | POST      | create   
  3. 1
    #Adding an existing project to GitHub using the command line
    2
    
                  
    3
    Simple steps to add existing project to Github.
    4
    
                  
    5
    ## 1. Create a new repository on GitHub.
  4. 1
    Alex's Rails Cheat Sheet
    2
    ========================
    3
    
                  
    4
    I think the most confusing thing that I have found about Ruby on Rails so far has been the transition from (trying to) write code myself to the use of the fabled "Rails Magic". So, to help my own understanding of a few core Ruby on Rails concepts, I have decided to write something on what I think is a ***CRITICAL*** topic... the idea of **Convention over Configuration** and why (in my mind) it is the most important thing that helps Rails become magic!
    5
    
                  
  5. 1
    Rails Generating & Scaffolding 
    2
    ========================
    3
    
                  
    4
    Rails' use of **strict naming conventions** means a lot of core code SHOULD be in the same format whoever writes it? It could be written by a friend, colleague or a computer... it shouldn't matter because the same Rails rules apply to everyone.
    5
    
                  
  6. 1
    Setting up a new Git Repo
    2
    ========================
    3
    
                  
    4
    ##Create a new repository on the command line
    5
    
                  

24 contributions in the last year

Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Mon Wed Fri

Contribution activity

October 2020

alexpchin has no activity yet for this period.

September 2020

Created an issue in algolia/react-instantsearch that received 12 comments

How to reload Infinite Hits + filters when clicking back in browser

I've currently got gatsby website a react-instantsearch-dom set of results with connectInfiniteHits. There are a couple of filters being applied to…

12 comments

Seeing something unexpected? Take a look at the GitHub profile guide.

You can’t perform that action at this time.