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
var faker = require('faker'); | |
var needle = require('needle'); | |
var contentOptions = ["CORRECT","MISSING_MINIMAL_DETAILS", | |
"MISSING_CRITICAL_DETAILS","NOT_ADDRESSED" | |
]; | |
var skillOptions = ["NOT_ADDRESSED", "NEVER", "CONSISTENTLY", "INCONSISTENTLY" ]; | |
var complaintOptions = [ |
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 java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.PrintWriter; | |
import java.io.UnsupportedEncodingException; | |
import java.lang.reflect.Field; | |
public class Main { | |
private String getMessage() { | |
String teamEscenicName = "Escenic Asia Ltd."; |
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
$("#insertYourFormIdHere").bind("jqv.form.result", function(event, errorFound) { | |
if(!errorFound){ | |
console.log("There is a problem with your form"); | |
iAmValidated(); | |
} | |
}); |
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
$('.buttonClass').click(fucntion(event){ | |
var id = $(this).data('id'); | |
if(isNotAlreadyClicked(id)) | |
doSomething(); | |
else doDifferentThing(); | |
}); | |
fucntion isNotAlreadeyClicked(id){ | |
if(window.localstorage[id] === true) |
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
fdsfkds;lfk;dsl |
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
AddType text/cache-manifest .appcache |
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
App.module("FooModule.Bar", { | |
startWithApp: false, | |
define: function() { | |
// Code of submodule | |
} | |
}); |
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
<iframe width="480" height="302" src="http://www.ustream.tv/embed/13202706?v=3&wmode=direct" scrolling="no" frameborder="0" style="border: 0px none transparent;"> </iframe> | |
<br /><a href="http://www.ustream.tv/" style="padding: 2px 0px 4px; width: 400px; background: #ffffff; display: block; color: #000000; font-weight: normal; font-size: 10px; text-decoration: underline; text-align: center;" target="_blank">Video streaming by Ustream</a> |
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
<?php | |
//this array maps the function with the get parameters | |
$functions = array ( | |
"action" => "do_actions" , | |
"filter" => "do_filters" | |
); | |
foreach ($_GET as $key=>$value) { |
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
<?php | |
//error_reporting (0); | |
$arr = array | |
( | |
0=> array | |
( | |
'id' => 1, | |
'parent' => 0, | |
'status' => 2, | |
'slug' => 'clothes', |