Skip to content

Instantly share code, notes, and snippets.

View roxigonzalez's full-sized avatar
🏠
Working from home

Roxana González roxigonzalez

🏠
Working from home
  • 15:47 (UTC -06:00)
View GitHub Profile
@roxigonzalez
roxigonzalez / Update remote repo
Created February 24, 2021 16:22 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
@roxigonzalez
roxigonzalez / _vue-rails.md
Created July 16, 2019 19:51 — forked from przbadu/_vue-rails.md
Vue js and Rails integration

Setup Rails and Vuejs

  1. Generate new rails app using --webpack flag
rails new myApp --webpack=vue

Note:

  1. You can use --webpack=angular for angular application and --webpack=react for react.
@roxigonzalez
roxigonzalez / MetaTest.rb
Created July 10, 2019 15:08 — forked from daqing/MetaTest.rb
understanding-class_eval-instance_eval-and-define_method
class Test
class_eval <<-END
def self.a
puts "a"
end
END
instance_eval <<-END
def b
puts "b"
@roxigonzalez
roxigonzalez / font-awesome-and-laravel.md
Created June 2, 2019 03:44 — forked from levlaz/font-awesome-and-laravel.md
How To Use Font Awesome With Laravel

For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.

Install Font Awesome with NPM

npm install font-awesome

Import font-awesome in your app.scss file