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
import android.content.Context; | |
import android.content.ContextWrapper; | |
import android.content.SharedPreferences; | |
import android.support.compat.BuildConfig; | |
/** | |
* | |
* Created by [email protected] |
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
package com.asfrdc.gstockmild.frontend.util; | |
import com.vaadin.data.Validator; | |
import com.vaadin.data.fieldgroup.FieldGroup; | |
import com.vaadin.ui.Field; | |
import com.vaadin.ui.Notification; | |
import java.util.Map; | |
/** |
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
package com.karmasms; | |
import com.karmasms.model.KarmaUser; | |
import com.karmasms.restclient.ApiClient; | |
import com.vaadin.data.validator.EmailValidator; | |
import com.vaadin.data.validator.NullValidator; | |
import com.vaadin.server.FontAwesome; | |
import com.vaadin.ui.Button; | |
import com.vaadin.ui.FormLayout; | |
import com.vaadin.ui.HorizontalLayout; |
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
./asadmin create-domain --adminport [ADMIN_PORT] | |
./asadmin change-admin-password --domain_name [DOMAIN_NAME] | |
./asadmin start-domain [DOMAIN_NAME] | |
./asadmin enable-secure-admin --port [PORT_NAME] | |
./asadmin restart-domain [DOMAIN_NAME] | |
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
# General | |
http_port 3128 | |
visible_hostname Proxy | |
forwarded_for delete | |
via off | |
dns_v4_first on | |
# Log |
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
String textToDisplay=textToTrim.substring(0,(textToTrim.length() > 120) ? 120 : textToTrim.length()); | |
if (not.getQuestionMessage().lastIndexOf(' ') != textToDisplay.length() &&textToDisplay.length()!=textToTrim().length()) { | |
textToDisplay = textToDisplay + textToTrim.substring(textToDisplay.length(),textToTrim.indexOf(" ", textToDisplay.length()-1))+ " ..."; | |
} |
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 http=require("http"); | |
http.createServer(function(request,response){ | |
response.writeHead(200,{"Content-Type":"text/plain"}); | |
response.write("Hello World from a simple Node WebServer"); | |
response.end(); | |
}).listen(8888); | |
console.log("server started"); |
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
node --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
package kannellogsparser; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.StringTokenizer; | |
/** |
NewerOlder