Skip to content

Instantly share code, notes, and snippets.

View janzenz's full-sized avatar
:octocat:
Working

Janzen Zarzoso janzenz

:octocat:
Working
View GitHub Profile
<style>
#gtm-popup {
width: 70vw;
height: 70vh;
position: fixed;
background-color: gray;
color: white;
/* Align content to the middle. */
display: none; /* hide by default */
@janzenz
janzenz / Form
Created February 18, 2019 10:36
<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 June 11, 2018 06:56
Zocdoc Widget Script
<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 June 29, 2017 16:34
Mongo Query for Patients with invalid MMJ Card
db.getCollection('Patients').find({
mmjCardNumber: { $not: /^[0-9]{7}[a-zA-Z]{4}[0-9]{9}$/ }
})
@janzenz
janzenz / .eslintrc.json
Last active February 20, 2018 05:29
ESLint Config for Meteor + React with Comments
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
@janzenz
janzenz / MyPureComponent.js
Created March 13, 2017 07:35
A stateless Pure Component
import React from 'react';
const MyPureComponent = () => (
<div>This is My Component!</div>
);
export default MyPureComponent;
@janzenz
janzenz / MyComponent.js
Created March 13, 2017 07:33
Sample Component
import React, { Component } from 'react';
class MyComponent extends Component {
static propTypes = {
}
render() {
return (
<div>This is My Component!</div>
);
@janzenz
janzenz / .eslintrc.json
Created March 13, 2017 07:31
ESLint for Meteor + React Development
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
@janzenz
janzenz / README.md
Last active January 23, 2017 00:25
This is my Solution for Pruning the TMUX Saved Sessions in tmux-resurrect

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:

@janzenz
janzenz / asp-form.css
Last active December 12, 2016 16:34
BD Styling
/* ----- 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;
}