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 isInstanceAvailable = function (webPartId, errorMessage) { | |
var status = checkConnection(); | |
if (!status && $("#postError").length == 0) { | |
$('#' + webPartId + ' div[id$=divFeed]').html(''); | |
$('#' + webPartId + ' div[id$=divFeedSettingsContainer]').remove(); | |
var html = "<div id='postError'>" + errorMessage + "</div>"; | |
$('#' + webPartId + ' div[id$=divFeed]').append(html); | |
} | |
} |
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
public class App { | |
public static void main(String[] args) { | |
// create new timer | |
MyTimer timer = new MyTimer(); | |
// add listener | |
timer.addListener(new MyTimer.IMyTimerEventListener() { |
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
server { | |
listen 80; | |
server_name example.com www.example.com; | |
root /var/www/example.com; | |
index index.php; | |
location / { | |
try_files $uri $uri/ =404; | |
} |