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
//View container.. | |
View rootView = inflater.inflate(R.layout.fragment1, container, false); | |
//Global WebView | |
mWebView = (WebView) rootView.findViewById(R.id.enter_text); | |
//Font must be placed in assets/fonts folder | |
String text = "<html><style type='text/css'>@font-face { font-family: spqr; src: url('fonts/spqr.ttf'); } body p {font-family: spqr;}</style>" | |
+ "<body >" + "<p align=\"justify\" style=\"font-size: 22px; font-family: spqr;\">" + getString(R.string.enter_text) + "</p> "+ "</body></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
/* | |
* Switches default core markup for search form, comment form, | |
* and comments to output valid HTML5. | |
*/ | |
add_theme_support( 'html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption') ); |
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
Background: 245 239 220 alpha:1.0f | |
Text: 63 42 24 alpha:1.0f |
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
extension NSDate | |
{ | |
convenience | |
init(dateString:String) { | |
let dateStringFormatter = NSDateFormatter() | |
dateStringFormatter.dateFormat = "yyyy-MM-dd" | |
dateStringFormatter.locale = NSLocale(localeIdentifier: "en_US_POSIX") | |
let d = dateStringFormatter.dateFromString(dateString) | |
self.init(timeInterval:0, sinceDate:d) | |
} |
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
cd apache-tomcat\bin | |
set JPDA_SUSPEND=y | |
catalina.bat jpda run |
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
Properties prop = new Properties(); | |
InputStream input = null; | |
try { | |
String filename = "config.properties"; | |
input = this.getClass().getClassLoader().getResourceAsStream(filename); | |
if (input == null) { | |
System.out.println("Sorry, unable to find " + filename); | |
throw new java.lang.UnsupportedOperationException("Some errors occurred, please try again later."); |
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
sudo dpkg-reconfigure keyboard-configuration |
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
<select ng-options="option.name for option in $ctrl.teams track by option.id" ng-model="user.team"></select> |
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
ALERT TOPIC | |
docker exec -it kafka bash | |
kafka-console-consumer --zookeeper zookeeper:2181 --topic rule-11835 --from-beginning | |
EMT TOPIC | |
docker exec -it kafka bash | |
kafka-console-consumer --zookeeper zookeeper:2181 --topic rule-46826 --from-beginning |
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
ALTER TABLE NP_SUSP_TRANS_REP ADD ("REASONS_REMIT_BREACH_N" CLOB NULL) LOB | |
( | |
"REASONS_REMIT_BREACH_N" | |
) | |
STORE AS | |
( | |
TABLESPACE "notif_dat" RETENTION ENABLE STORAGE IN ROW NOCACHE | |
); | |
UPDATE NP_SUSP_TRANS_REP SET "REASONS_REMIT_BREACH_N" = "REASONS_REMIT_BREACH"; | |
-- ALTER TABLE "ARIS_STG".trs_fund_storage_unavail MODIFY ("unavailabilityDescrN" NOT NULL); |
OlderNewer