Skip to content

Instantly share code, notes, and snippets.

View pives's full-sized avatar

Phil Ives pives

  • Los Angeles, CA
View GitHub Profile
https://mk-webcards-cz0bfkmvj-meetkai.vercel.app/
https://mk-webcards-cz0bfkmvj-meetkai.vercel.app/download
https://mk-webcards-cz0bfkmvj-meetkai.vercel.app/about
https://mk-webcards-cz0bfkmvj-meetkai.vercel.app/demo
https://mk-webcards-cz0bfkmvj-meetkai.vercel.app/contact
some test
<?php
use Phalcon\Mvc\Micro,
Phalcon\Logger as Logger,
Phalcon\Logger\Adapter\File as FileLogger,
Phalcon\Events\Manager as EventsManager,
Phalcon\Filter as Filter;
$loader = new \Phalcon\Loader();
date_default_timezone_set("UTC");
[
{
"type": "post",
"url": "/api/auth/login",
"title": "Login",
"name": "Login",
"version": "0.9.1",
"group": "Auth",
"examples": [
{
package com.nemt.mmsweb.client.commands;
import net.customware.gwt.dispatch.shared.ActionException;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.SerializationException;
/**
* @author Philip Ives
public abstract class CommandResponseHandler {
/**
* Only logs the throwable via GWT.log
*
* @param callFailure
*/
public void onFailure(Throwable callFailure) {
if (Log.isDebugEnabled()) {
Log.debug("Call Failure",callFailure);
package com.nemt.mmsweb.client.util.core;
public final class PDGKeyCodes {
private PDGKeyCodes() {}
public final static int KEY_A = 65;
public final static int KEY_B = 66;
public final static int KEY_C = 67;
public final static int KEY_D = 68;
Event.addNativePreviewHandler(new Event.NativePreviewHandler() {
@Override
public void onPreviewNativeEvent(NativePreviewEvent event) {
if (event.isFirstHandler()){
if (Log.isDebugEnabled())
Log.debug("" +event.getTypeInt());
if (event.getTypeInt() == Event.KEYEVENTS) {
int dakey = event.getNativeEvent().getKeyCode();
if (Log.isDebugEnabled() && dakey > 1)
/**
* Copyright 2010 Philip Ives, Philadelphia, PA
* You may reproduce, reuse and alter this code provided you keep this entire attribution.
* No warranty expressed or Implied.
* @author Philip Ives
*
* class used to bind longs to text boxes.
*
*/
package com.nemt.mmsweb.client.util;
@pives
pives / ValueListBox.java
Created March 19, 2010 02:28 — forked from lplotni/ValueListBox.java
add HasChoices<K,V> interface
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.HasValue;