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
git rm -r --cached . | |
git add . | |
git commit -m "fix .gitignore" |
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
<% flash.each do |type, message| %> | |
<div class="alert <%= bootstrap_class_for(type) %> fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<%= message %> | |
</div> | |
<% 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
group :development | |
gem 'better_errors' # better errors pages (https://github.com/charliesome/better_errors) | |
gem 'binding_of_caller' # console for better errors | |
gem 'jazz_hands' # cool rails console `rails c` (https://github.com/nixme/jazz_hands) | |
gem 'quiet_assets' # speed up assets & clear log (https://github.com/evrone/quiet_assets) | |
gem 'bullet' # optimize queries (https://github.com/flyerhzm/bullet) | |
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
'use strict'; | |
timeout = null; | |
angular.module 'wearedoge' | |
.config [ | |
'$stateProvider', '$urlRouterProvider', | |
($stateProvider, $urlRouterProvider) -> | |
$stateProvider |
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
gem 'request_store' | |
gem 'foreman' | |
gem 'rubocop' | |
gem 'bullet' | |
gem 'quiet_assets' | |
gem 'better_errors' | |
gem 'binding_of_caller' | |
gem 'awesome_print' | |
gem 'lograge' | |
gem 'figaro' |
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
import { captureException } from "@sentry/nextjs" | |
import toast from "react-hot-toast" | |
import { create } from "zustand" | |
import likePhoto from "@/actions/likePhoto" | |
import { ServerAction } from "@/actions/withServerAction" | |
import SignInModal from "@/components/auth/SignInModal" | |
import { getBaseErrorMessage } from "@/lib/helpers/error" | |
import { currentUser } from "@/stores/currentUser" | |
import { openModal } from "@/stores/modal" |
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
directory() { | |
echo "%{$fg[cyan]%}%1~%{$reset_color%}" | |
} | |
current_time() { | |
echo "%{$fg[white]%}[%*]%{$reset_color%}" | |
} | |
git_prompt() { | |
echo "$(git_prompt_info)" |