This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
showError = obj => { | |
switch(obj.errCode){ | |
case '1': | |
return 'No table specified' | |
break | |
case '2': | |
return 'Main table has no name' | |
break | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Transpose</title> | |
<style> | |
#main{ | |
display: flex; | |
flex-direction: row; | |
color:chartreuse; | |
} | |
@media screen and (max-width:1000px){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inspect = { | |
isNumber : indexes => { | |
inspect._numberIndexes = indexes | |
return inspect | |
}, | |
setParam : param => { | |
console.log(param) | |
inspect._param = param | |
return inspect | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isEmail = element => { | |
arr1 = element.split('@') | |
if(arr1.length === 0){ | |
return false | |
}else if(arr1[0].trim() === ""){ | |
return false | |
}else if(arr1[1].trim() === ""){ | |
return false | |
}else{ | |
return true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | |
</head> | |
<body> | |
<div> | |
<input type="text" name="user" id="user"><br /> | |
<input type="text" name="pass" id="pass"><br /> | |
<button id="submit" >Login</button> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head>bercanda</head> | |
<body> | |
<form action="index.php" method="post"> | |
Nama <input type="text" name="name"/><br /> | |
Pass <input type="text" name="pass"/> | |
<input type="submit" value="LOGIN"> | |
</form> | |
<?php | |
$users = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var options = { | |
theme: true, | |
header: { | |
left: 'prev,next today', | |
center: 'title', | |
right: 'month,agendaWeek,agendaDay' | |
}, | |
timeFormat: { | |
agenda: 'h(:mm)t{ - h(:mm)t}', | |
'': 'h(:mm)t{-h(:mm)t }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | |
</head> | |
<body> | |
<table id="myTable"> | |
<tr myid=1> | |
<td> hullo 1</td> | |
<td class="clickable"> hullo 1</td> | |
</tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ajax upload | |
* Project page - http://valums.com/ajax-upload/ | |
* Copyright (c) 2008 Andris Valums, http://valums.com | |
* Licensed under the MIT license (http://valums.com/mit-license/) | |
* Version 3.5 (23.06.2009) | |
*/ | |
/** | |
* Changes from the previous version: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#mysql -h localhost -u root -p --execute "create database teknis" | |
mysql -h localhost -u root -p <doquery.sql |
NewerOlder