Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
there is more to life than coding

Ashish Dixit tundal45

👻
there is more to life than coding
View GitHub Profile
@tundal45
tundal45 / bundler_network_error_report.md
Last active May 25, 2020
Bundler Network Error Report
View bundler_network_error_report.md
  • What you're trying to accomplish?

    Bundle new gems

  • The command you ran

    ➜ bundle

  • What you expected to happen?

View fire-roasted-eggplant-mash.md

Ingredients

  • 3-4 italian eggplants
  • 3-4 peppers (either Jalapenos or Serano is fine depending on how much kick you want)
  • 1/2 bunch cilantro
  • Salt (according to taste)
  • 1 tbsp mustard oil (can be found in indian stores, really adds to the aroma and flavor)

Directions

@tundal45
tundal45 / command
Created Jul 16, 2012
Get just the ascii middle finger in command line from http://ascii-middle-finger.com/
View command
curl -s http://ascii-middle-finger.com/ | grep -A 10 '<pre>' | grep -v 'pre'
View components.button-with-state.js
import Ember from 'ember';
const { $, Component, computed, observer, RSVP, run } = Ember;
const STATES = {
activating: {
label: 'Activating',
classNames: 'in-progress disabled',
disabled: true
},
error: {
View keybase.md

Keybase proof

I hereby claim:

  • I am tundal45 on github.
  • I am tundal45 (https://keybase.io/tundal45) on keybase.
  • I have a public key ASBbGni76NoHi-VsPkFbixCFmgg7h3emGc7DySRC6DrcWAo

To claim this, I am signing this object:

@tundal45
tundal45 / what_can_we_do.md
Last active Dec 31, 2015
This is an attempt to start a public discussion about how technologists can do better to provide real value & change the world for the better.
View what_can_we_do.md

I am co-opting a question Mathias Meyer asked on twitter. The question, from what I can tell, came after reading the latest on Silicon Valley Myopia/Self-Centeredness. We in the tech industry, myself included, seem to have traded opportunities to use technologies that we love to solve non-problems or create more in the process.

Mike Montiero, who is the author of one of the articles that Mathias links to, also did a fantastic talk at Webstock which I encourage everyone to watch. Though the title might make it sound specific to designers, what I took away from the talk was that everyone that is involved in the product design process should be the biggest advocate of the users. If what's best for the users diverges from what's best for the product or the company, then it's a good sign that you are not solving the right problem

View :(
ExecJS::ProgramError in Jasmine_rails/spec_runner#index
Showing /../gems/jasmine-rails-0.4.9/app/views/layouts/jasmine_rails/spec_runner.html.erb where line #12 raised:
Error: Parse error on line 2: Unexpected '->'
(in ../spec/javascripts/dashboard_spec.coffee)
Extracted source (around line #12):
9: <body>
10: <div id="jasmine_content"></div>
@tundal45
tundal45 / podcasts.md
Last active Dec 27, 2015 — forked from lmarburger/podcasts.md
Below is a subset of podcasts that I am currently subscribed to. I have broken them down to ones that I listen to every episode, even if it means I have to catch up & others that I only listen to selected episodes. I seem to update the list every time myself or someone on twitter is looking for a new podcast recommendation.
View get_grade_array.rb
def get_grade(array)
sum = 0
array.each do |x|
sum += x
end
average = sum / array.length
case average
when 90...100
grade = 'A'
when 80...90
View what_scares_us_about_programming.md

This is the list of programming concepts that Hacker School students have identified as scary. It was originally tweeted in image form by Alex Payne.

What scares us about Programming?

  • Low-level errors
  • Measuring performance
  • Deleting code
  • Getting out of IDEs (Xcode)
  • Unable to build it from scratch
  • Having to copy and paste code that I could not write myself