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
@janzenz
janzenz / map-info-container.html
Last active August 4, 2016 12:22
RM Devices - Map Info container
<!--
Important parts here for the map-info-container:
This is the attributes that specify which marker it is linked to.
Make sure to keep the prefix "addr-" the suffix can be anything
for example purposes I used the full name.
id="addr-arizona"
This is the positioning for the marker based on the map and this is using percentage.
@janzenz
janzenz / disable.js
Last active July 6, 2016 19:24
Google Maps Zoom disable
var googleMaps = document.querySelectorAll(".google-maps-container");
for (var i = 0; i < googleMaps.length; i++) {
googleMaps[i].onclick = function(e) {
e.target.getElementsByTagName("iframe")[0].style["pointer-events"] = 'auto';
};
googleMaps[i].onmouseout = function(e) {
e.target.getElementsByTagName("iframe")[0].style["pointer-events"] = 'none';
}
}
---
- hosts: web2
gather_facts: no
remote_user: vagrant
tasks:
- name: debug user 1
shell: "whoami"
- name: debug user 2
@janzenz
janzenz / emailHTML.asp
Created October 1, 2014 15:12
West Coast Finance
With cdoConfig.Fields
.Item(sch & "sendusing") = 2
.Item(sch & "smtpserver") = "localhost" 'mailserver
.Item(sch & "smtpserverport") = 25
.Item(sch & "smtpserver") = "mail.westcoastfinance.com.au" 'mailserver
.Item(sch & "smtpusessl") = false
.Item(sch & "smtpconnectiontimeout") = 60
.Item(sch & "smtpauthenticate") = 1
.Item(sch & "sendusername") = "send@westcoastfinance.com.au"
.Item(sch & "sendpassword") = "update"
<?php
namespace RentalPos\BookingBundle\Security;
use FOS\UserBundle\Security\LoginManagerInterface;
use FOS\UserBundle\Model\UserInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
.jbmm.custom ul.mega-menuh li .sub-container.non-mega li a { /* padding: 7px 5px 7px 22px !important; background: url(/packages/jb_megamenu/blocks/jb_megamenu/css/skins/images/arrow_off.png) no-repeat 7px 10px; */
color: #111 !important;
text-align: left;
font-size: 15px;
padding: 15px !important;
}