Skip to content

Instantly share code, notes, and snippets.

PH-01-0003 A-ferin plus syrup Bottle 17092068A 01/10/21 20
PH-01-0004 Alfuzocine (URITAB) Tab 7TZ053 01/05/19 150
PH-01-0005 Almetamin tab Tab 160721 01/06/19 500
PH-01-0006 Fluoxetine 20mg Tab 21829 01/01/20 100
PH-01-0012 Amilodipine (KARDAM 5MG) Tab AD0517028-A 5/1/2020 500
PH-01-0013 Aminophline inj 250mg/10ml Ampule 170501 01/05/20 40
PH-01-0015 Amitriptyline 25mg 10x11 Tab 69605 01/09/21 8000
PH-01-0026 Amoxacilin +Clavunalic acid 625 (KOACT) Tab HT8316 1/1/2021 1680
PH-01-0030 Amoxacilin 125/5ml(Amoxid) Bottle 22808 01/05/20 140
PH-01-0030 Amoxacilin 125/5ml(Amoxid) Bottle BD7321 5/1/2020 9
PH-01-00001,Acetazolimide 250mg tab,Tab,57754,01-11-2018,660
PH-01-0003,A-ferin plus syrup,Bottle,17092068A,01-10-2021,11
PH-01-0004,Alfuzocine (URITAB),Tab,7TZ053,01-05-2019,90
PH-01-0005,Almetamin tab,Tab,160721,01-06-2019,250
PH-01-0006,Fluoxetine 20mg,Tab,21829,01-01-2020,450
PH-01-0009,Amilodipine (CADILA10mg),Tab,01700ITZ7Z,01-12-2018,130
PH-01-0010,Amilodipine (CADILA5mg),Tab,170021271,01-07-2019,116
PH-01-0011,Amilodipine (KARDAM 10MG),Tab,AD1016049,01-07-2019,130
PH-01-0013,Aminophline inj 250mg-10ml,Ampule,170501,01-05-2020,3
PH-01-0015,Amitriptyline 25mg 10x11,Tab,69605,01-09-2021,1190
@asuraphel
asuraphel / debounce.js
Created September 10, 2015 12:43
Exercise in JS funcition debouncing
var debounce = function (func, threshold, execAsap) {
var timeout;
return function debounced () {
var obj = this, args = arguments;
function delayed () {
if (!execAsap)
func.apply(obj, args);
@asuraphel
asuraphel / wake-up-neo.html
Created August 19, 2015 12:27
Wake up neo editor
data:text/html,%20<style>html,body{margin:%200;%20padding:%200;}</style><textarea%20style="font-size:%201.5em;%20line-height:%201.5em;%20background:%20%23000;%20color:%20%233a3;%20width:%20100%;%20height:%20100%;%20border:%20none;%20outline:%20none;%20margin:%200;%20padding:%2090px;"%20autofocus%20placeholder="wake%20up%20Neo..."%20/>
def treeOld() {
def locale = RequestContextUtils.getLocale(request)
def rootOrg = connectSecurityService.getCurrentUser()?.organization
if( rootOrg ) {
def root = buildTreeNode( rootOrg.name, "#", rootOrg.id.toString(), rootOrg.type.key )
def children = organizationService.getOrganizationChildren(rootOrg)
@asuraphel
asuraphel / gist:9365589
Created March 5, 2014 11:35
JSTree Ajax fetcher
"json_data" : {
"ajax" : {
// the URL to fetch the data
"url" : "/organization/organizationTree",
//?orgId=${ orgId ? orgId : ""}
// the `data` function is executed in the instance's scope
// the parameter is the node being loaded
// (may be -1, 0, or undefined when loading the root nodes)
"data" : function (n) {
// the result is fed to the AJAX request `data` option
@asuraphel
asuraphel / gist:7370028
Created November 8, 2013 11:59
Domain class from Grails in Action book
package com.grailsinaction
class User {
String userId
String password
String homepage
Date dateCreated
static constraints = {
@asuraphel
asuraphel / gist:7320074
Created November 5, 2013 14:44
my Grails controller
package qotd
class QuoteController {
def index() {
redirect( action: "home" )
}
def home() {
@asuraphel
asuraphel / gist:7155131
Created October 25, 2013 13:59
Anon inner classes
//: innerclasses/Parcel7.java
// Returning an instance of an anonymous inner class.
public class Parcel7 {
public Contents contents() {
return new Contents() { // Insert a class definition
private int i = 11;
public int value() { return i; }
}; // Semicolon required in this case
}
public static void main(String[] args) {