Skip to content

Instantly share code, notes, and snippets.

View shivanibhanwal's full-sized avatar
👩‍💻
Intellectual growth should commence at birth and cease only at death. ~Einstein

Shivani shivanibhanwal

👩‍💻
Intellectual growth should commence at birth and cease only at death. ~Einstein
  • @Lawlytics, ex-Kiprosher
  • Mumbai
View GitHub Profile
@shivanibhanwal
shivanibhanwal / gist:4bbf63b32cbea81d359e
Last active August 29, 2015 14:16
ActiveAdmin View TableFor and AttributesTable class customization
# Add this code to a new file and you can put it under app/admin/lib folder or else config/initializer/actice_admin.rb
module ActiveAdmin
module Views
class TableFor
def html_column(attribute)
column(attribute){ |model| model[attribute].html_safe }
end
def bool_column(attribute)
@shivanibhanwal
shivanibhanwal / gist:c8af52a29406d23df91b
Created August 18, 2015 13:57
-ember-cli-1.13.8.npm-debug.log
npm info it worked if it ends with ok
npm info using npm@2.13.5
npm info using node@v0.12.2
npm info preinstall ember-cli@1.13.8
npm info attempt registry request try #1 at 19:06:28
npm http request GET https://registry.npmjs.org/broccoli
npm info attempt registry request try #1 at 19:06:28
npm http request GET https://registry.npmjs.org/broccoli-caching-writer
npm info attempt registry request try #1 at 19:06:28
npm http request GET https://registry.npmjs.org/broccoli-clean-css
@shivanibhanwal
shivanibhanwal / .zshrc
Last active October 18, 2018 12:51
zshrc file sample
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="random"
@shivanibhanwal
shivanibhanwal / shivanis.md
Last active October 28, 2018 08:34
Trying various images for git api v3