Skip to content

Instantly share code, notes, and snippets.

View muthu32's full-sized avatar

Muthu Kumar muthu32

  • Selvam Softech
  • TamilNadu
View GitHub Profile
@muthu32
muthu32 / ext core mit.js
Created March 8, 2019 05:26
ext core mit
/*!
* Ext Core Library 3.0
* http://extjs.com/
* Copyright(c) 2006-2009, Ext JS, LLC.
*
* MIT Licensed - http://extjs.com/license/mit.txt
*/
// for old browsers
window.undefined = window.undefined;
@muthu32
muthu32 / index.html
Last active March 21, 2019 08:16
bar chart & Pie chart using chart.js
<!--- https://blockbuilder.org/muthu32/6bd29d851a506f06b9f21b5ac9c814c9 ---->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js" ></script>
<script>
function svgBarChartEntry()
{
get_heat_staytime_list();
}
@muthu32
muthu32 / html2img.html
Created April 12, 2019 09:30
html to image
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>
display/box/float/clear test
</title>
<style type="text/css">
/* last modified: 1 Dec 98 */
html {
@muthu32
muthu32 / My Class Loader.php
Last active May 1, 2019 07:38
class_loader.php
function Loader($className,$includePath)
{
$fileName = '';
$separator = '\\';
if (false !== ($lastNsPos = strripos($className, $separator))) {
$namespace = substr($className, 0, $lastNsPos);
$className = substr($className, $lastNsPos + 1);
$fileName = str_replace($separator, DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
}
<?php
namespace db;
class mysqli
{
private $conn;
private $temp;
private $data;
protected static $_instance;
function __construct(
$database = "wo",
@muthu32
muthu32 / Quasar.css
Last active May 3, 2019 02:04
Quasar Bar
.bg-blue {
background: #2196f3!important
}
.no-transition {
transition: none!important
}
.q-loading-bar {
position: fixed;
@muthu32
muthu32 / vue.tsx
Created May 23, 2019 11:25
Vue typescript
interface Props {
tmp: string
alpha?: boolean
}
interface Events {
click: string
something: boolean
a: number
b: void
@muthu32
muthu32 / index.html
Created July 10, 2019 11:50
Vue TinyMce v5 in V-for two way editable
<div id="example">
<div class="heading">
<h1>TinyMCE v5 & Vue.js v2</h1>
<h4>An example of TinyMCE editor working in Vue.js with v-for and two way editable.</h4>
</div>
<input type="button" value="Remove Editor" @click="remove" class="btn btn-xs btn-danger" />
<input type="button" value="Add Editor" @click="add" class="btn btn-xs btn-success" />
<div v-for="(col,index) in cols">
<div class="heading"><h1>V-for Tinymce {{index}}:</h1></div>
@muthu32
muthu32 / cloudSettings
Last active July 19, 2019 11:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-07-11T10:24:38.502Z","extensionVersion":"v3.3.1"}