Skip to content

Instantly share code, notes, and snippets.

<date><![CDATA[Wed, 22 Apr 2020 05:00:05 GMT]]></date>
<date><![CDATA[Fri, 24 Apr 2020 05:00:05 GMT]]></date>
<date><![CDATA[Thu, 23 Apr 2020 05:00:07 GMT]]></date>
<date><![CDATA[Tue, 21 Apr 2020 05:00:03 GMT]]></date>
<date><![CDATA[Mon, 20 Apr 2020 05:00:03 GMT]]></date>
<date><![CDATA[Sun, 26 Apr 2020 05:00:02 GMT]]></date>
<date><![CDATA[Sat, 18 Apr 2020 05:00:04 GMT]]></date>
<date><![CDATA[Sun, 19 Apr 2020 05:00:03 GMT]]></date>
<date><![CDATA[Mon, 27 Apr 2020 13:35:02 GMT]]></date>
<date><![CDATA[Thu, 23 Apr 2020 05:00:07 GMT]]></date>
@patelc75
patelc75 / gist:78b783c14122cec9fe712fecafd96126
Created January 14, 2019 19:35
`Director of Social Work` in `Chatam, NJ`
<job>
<title>
<![CDATA[Director of Social Work]]>
</title>
<date>
<![CDATA[Mon, 14 Jan 2019 19:32:20 GMT]]>
</date>
<referencenumber>
<![CDATA[1000483064]]>
</referencenumber>
@patelc75
patelc75 / ziggeo.md
Last active January 15, 2018 17:50
Video not loading... suddenly showing up as of today

We have been using //assets-cdn.ziggeo.com/v1-stable/ziggeo.js 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 //assets-cdn.ziggeo.com/v1-r27/ziggeo.js, it started working again. What's strange is that on one of our computers, v1-r25 loaded when pasting http://assets-cdn.ziggeo.com/v1-stable/ziggeo.js in the browser, see attachment.

But on most of our computers, when you put http://assets-cdn.ziggeo.com/v1-stable/ziggeo.js 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
patelc75 / env.sh
Created September 15, 2017 18:30
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
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 models.jobs 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
patelc75 / rvm_install
Last active December 19, 2015 00:19
install rvm with brew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew update
brew tap homebrew/dupes
brew install autoconf automake apple-gcc42 tcl libksba
export CC=/usr/local/bin/gcc-4.2
\curl -L https://get.rvm.io | 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
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
namespace ConsoleApplication1
{
class Program
{
@patelc75
patelc75 / gist:5462973
Created April 25, 2013 20:41
this will check all the boxes for the Add Contact modal on http://www.ringcentral.com/
checkboxes = document.getElementsByClassName("x-form-checkbox-box");
for (var i=0; i < checkboxes.length; i++) {
checkboxes[i].getElementsByTagName("img")[0].click();
};
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)
{
"this_week": {
"start": "2012-12-09",
"end": "2012-12-16",
"releases": [
{
"play_count": 38,
"release": "The Odds",
"label": "Dischord",
"id": "bf41b36477eef1e2547e1fdd0aa8af136b1cc860",