Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Working

Janzen Zarzoso janzenz

:octocat:
Working
View GitHub Profile
View GTM Popup.html
<style>
#gtm-popup {
width: 70vw;
height: 70vh;
position: fixed;
background-color: gray;
color: white;
/* Align content to the middle. */
display: none; /* hide by default */
View Form
<form action="/en/referring-doctors/#wpcf7-f156-p298-o1" method="post" class="wpcf7-form" enctype="multipart/form-data" novalidate="novalidate">
<div style="display: none;">
<input type="hidden" name="_wpcf7" value="156">
<input type="hidden" name="_wpcf7_version" value="5.0.3">
<input type="hidden" name="_wpcf7_locale" value="en_US">
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f156-p298-o1">
<input type="hidden" name="_wpcf7_container_post" value="298">
</div>
<div class="row">
<div class="form-group col-md-6">
@janzenz
janzenz / zocdoc.js
Created Jun 11, 2018
Zocdoc Widget Script
View zocdoc.js
<script>
(function (d) {
var script = d.createElement('script'); script.type = 'text/javascript'; script.async = true;
script.src = '//offsiteschedule.zocdoc.com/plugin/embed';
var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
})(document);
</script>
@janzenz
janzenz / gist:85cb6bbcdff1cedcb860352df6373cda
Created Jun 29, 2017
Mongo Query for Patients with invalid MMJ Card
View gist:85cb6bbcdff1cedcb860352df6373cda
db.getCollection('Patients').find({
mmjCardNumber: { $not: /^[0-9]{7}[a-zA-Z]{4}[0-9]{9}$/ }
})
@janzenz
janzenz / .eslintrc.json
Last active Feb 20, 2018
ESLint Config for Meteor + React with Comments
View .eslintrc.json
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
@janzenz
janzenz / MyPureComponent.js
Created Mar 13, 2017
A stateless Pure Component
View MyPureComponent.js
import React from 'react';
const MyPureComponent = () => (
<div>This is My Component!</div>
);
export default MyPureComponent;
View MyComponent.js
import React, { Component } from 'react';
class MyComponent extends Component {
static propTypes = {
}
render() {
return (
<div>This is My Component!</div>
);
@janzenz
janzenz / .eslintrc.json
Created Mar 13, 2017
ESLint for Meteor + React Development
View .eslintrc.json
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
@janzenz
janzenz / README.md
Last active Jan 23, 2017
This is my Solution for Pruning the TMUX Saved Sessions in tmux-resurrect
View README.md

Make sure the shell is executable chown <userid>:<userid> tmux-resurrect-prune.sh chmod 4750 tmux-resurrect-prune.sh to make sure this is runnable and that you alone can run it under your user.

Load the .plist file, ironically you have to run this outside of tmux or you will get Operation not permitted error: http://superuser.com/questions/879640/error-while-trying-to-start-postgres-installed-via-homebrew-operation-not-permi/898585 launchtl load tmux-resurrect-prune.plist http://stackoverflow.com/questions/4485972/library-launchagents-plist-runs-manually-but-not-automatically I was looking for a way to do this run at machine wake:

View asp-form.css
/* ----- FORM Syling ----- */
/* Define the form frame */
.frm__frame {
background-color: #fcfcfc;
border-color: none; /* This should be changed. Based on the site's overall color see here: https://drive.google.com/open?id=0B2MfNegiYrF_bXgza1RaNG1sdXM */
border-style: solid;
border-width: 1px;
border-radius: .5rem;
}
You can’t perform that action at this time.