This file contains 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
/******************************************************** | |
COPYRIGHTS http://www.ranjithk.com | |
*********************************************************/ | |
ALTER PROCEDURE [dbo].[CleanUpSchema] | |
( | |
@SchemaName varchar(100) | |
,@WorkTest char(1) = 'w' -- use 'w' to work and 't' to print | |
) | |
AS | |
/*----------------------------------------------------------------------------------------- |
This file contains 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
/** | |
* jscolor, JavaScript Color Picker | |
* | |
* @version 1.3.1 | |
* @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html | |
* @author Jan Odvarko, http://odvarko.cz | |
* @created 2008-06-15 | |
* @updated 2010-01-23 | |
* @link http://jscolor.com | |
*/ |
This file contains 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
function walkScope(scope) { | |
function processLevel(scope, idCache) { | |
if (scope == null) | |
return null; | |
if (idCache.indexOf(scope.$id) >= 0) | |
return null; | |
idCache.push(scope.$id); |
This file contains 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
@Component(...) | |
@RouteConfig(const [ | |
const Route( path: '/', name: 'Home', component: HomeView ), | |
const Route( path: '/search', name: 'Search', component: SearchView ), | |
const Route( path: '/error', name: 'Error', component: ErrorView ), | |
const Route( path: '/shop/...', name: 'Shop', component: ShopView ), | |
const Route( path: '/:slug', name: 'Page', component: PageView ), | |
]) | |
class AppComponent { | |
// ... |
This file contains 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
class Consumer { | |
String name; | |
String connectionName; | |
String consumerTag; | |
bool isAckRequired; | |
bool isExclusive; | |
Consumer.fromJson(Map<String, dynamic> map) { | |
name = map["name"]; | |
connectionName = map["connectionName"]; |
This file contains 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
import 'dart:html'; | |
void main() { | |
var elm = querySelector('html'); | |
elm.style.backgroundColor = '#ff0000'; | |
} |
This file contains 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
void main() { | |
List<int> list = new List(); | |
list.add("c"); | |
list.add(2); | |
print(list); | |
} |
This file contains 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
<script> | |
window.callback = null; | |
function callCallback(e) { | |
callback(e); | |
} | |
</script> | |
<button onclick="callCallback()"></button> |
This file contains 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 | |
USER="root" | |
PASSWORD="" | |
OUTPUT="/tmp/dbbackup/" | |
DATE=`date +%Y-%m-%d_%H-%M` | |
FOLDER="$OUTPUT" | |
rm -rf "$FOLDER" | |
mkdir "$OUTPUT" |
OlderNewer