Skip to content

Instantly share code, notes, and snippets.

Chirag Patel patelc75

Block or report user

Report or block patelc75

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
patelc75 / gist:78b783c14122cec9fe712fecafd96126
Created Jan 14, 2019
`Director of Social Work` in `Chatam, NJ`
View gist:78b783c14122cec9fe712fecafd96126
<![CDATA[Director of Social Work]]>
<![CDATA[Mon, 14 Jan 2019 19:32:20 GMT]]>
patelc75 /
Last active Jan 15, 2018
Video not loading... suddenly showing up as of today

We have been using // for many months now. Today we noticed that the video capture stopped working and showed "Video is loading..." instead of the normal Ziggeo video capture widget, see attachment.

When we switched to //, it started working again. What's strange is that on one of our computers, v1-r25 loaded when pasting in the browser, see attachment.

But on most of our computers, when you put in a browser, it shows v1-r30 with a timestamp of 2018-01-14, which made us think that v1-r30 was launched yesterday and why we're seeing the problem today.

This is confusing and appreciate your help. In the meantime we have hard coded our link to v1-r25 because we think that's what our v1-stable link was pointing to until yesterday, but not positive.

We had several hours of downtime across our entire user base, so this

patelc75 /
Created Sep 15, 2017
export DYLD_LIBRARY_PATH not working
Chirags-MacBook-Pro--Primary:~ chirag$ env | grep DYLD
Chirags-MacBook-Pro--Primary:~ chirag$ export DYLD_LIBRARY_PATH=/usr/local/Cellar/mysql@5.6/5.6.37/lib:$DYLD_LIBRARY_PATH
Chirags-MacBook-Pro--Primary:~ chirag$ env | grep DYLD
Chirags-MacBook-Pro--Primary:~ chirag$ export DYLD_LIBRARY_PATH=/usr/local/Cellar/mysql@5.6/5.6.37/lib
Chirags-MacBook-Pro--Primary:~ chirag$ env | grep DYLD
View factories with non
from flask.ext.script import Command, Option
from permissions import encode_account_token
from flask import current_app
from models.person import Person
from database import db
from import Job
from commands.create_test_data import CreateTestDataCommand
from fixtures.persons import person_factory, education_factory, working_relationship_factory, sample_person
from fixtures.event_mocks import event_queues
import factory
patelc75 / rvm_install
Last active Dec 19, 2015
install rvm with brew
View rvm_install
ruby -e "$(curl -fsSL"
brew update
brew tap homebrew/dupes
brew install autoconf automake apple-gcc42 tcl libksba
export CC=/usr/local/bin/gcc-4.2
\curl -L | bash
source /Users/patelc75/.rvm/scripts/rvm
rvm pkg install openssl
brew install libtool pkg-config libyaml readline libxml2 libxslt openssl sqlite
rvm install 1.9.3
View gist:5786534
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
namespace ConsoleApplication1
class Program
patelc75 / gist:5462973
Created Apr 25, 2013
this will check all the boxes for the Add Contact modal on
View gist:5462973
checkboxes = document.getElementsByClassName("x-form-checkbox-box");
for (var i=0; i < checkboxes.length; i++) {
View gist:5060121
Bundler could not find compatible versions for gem "builder":
In Gemfile:
signal_api (>= 0) ruby depends on
builder (~> 3.0.0) ruby
rails (= 3.0.0.rc) ruby depends on
builder (2.1.2)
View gist:4303144
"this_week": {
"start": "2012-12-09",
"end": "2012-12-16",
"releases": [
"play_count": 38,
"release": "The Odds",
"label": "Dischord",
"id": "bf41b36477eef1e2547e1fdd0aa8af136b1cc860",
View gist:2663130
vagrant@natty:/vagrant/ofa_call_tool$ ab -n 1000 -c 50 -C "caller_session_id=698ed412374494433b8aee1a070e2e31" http://localhost:3030/campaigns/BROOXRULES
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
You can’t perform that action at this time.