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
| // EXAMPLE 1 | |
| class Appliance { | |
| name: string; | |
| constructor(name: string){ | |
| this.name = name; | |
| } | |
| getName() { | |
| return this.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
| Index: frontier/backendservice-parent/backendservice-common/src/main/java/com/frontier/exception/common/GlobalBEControllerExceptionHandler.java | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- frontier/backendservice-parent/backendservice-common/src/main/java/com/frontier/exception/common/GlobalBEControllerExceptionHandler.java (date 1509037066000) | |
| +++ frontier/backendservice-parent/backendservice-common/src/main/java/com/frontier/exception/common/GlobalBEControllerExceptionHandler.java (revision ) | |
| @@ -125,7 +125,7 @@ | |
| private ErrorDto createDefaultErrorInfoObject(Exception exception) { |
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
| curl "https://ctc-customs.atlassian.net/rest/api/2/search" -H "Upgrade-Insecure-Requests: 1" -H "Cookie: mywork.tab.tasks=false; ISESSION=""6e5a049ac9b42e3e3d4738f7d5cdac8d64abeba9-xsrf=4cef945d51879c05db047ced5bfac6fc63210a91""; ondemand.signup.enabled=false; __atl_path=172.26.26.14.1441930664089256; studio.crowd.tokenkey=nf1hcjgYvsbdUkmXOtHYGA00; JSESSIONID=E2C90229F8C1DC81ABFBA1B06DCB0CFD; atlassian.xsrf.token=BE6K-ZQR5-NKNV-FREP|8081549e2d184997d9f4456a3a6cea6e3fcfd52b|lin" -H "Connection: keep-alive" -H "Content-Type: application/json" -X POST -d '{"jql": "issuetype = Story","startAt":0,"maxResults":1500,"fields":["id","key","summary","status.id","issuetype"]}' |
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
| ffmpeg -i old.mkv -c copy new.mp4 |
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
| zarar@zarar-ubuntu64:~/test$ ls | |
| sports-scraper.zip | |
| zarar@zarar-ubuntu64:~/test$ unzip sports-scraper.zip | |
| Archive: sports-scraper.zip | |
| creating: sports-scraper/ | |
| creating: sports-scraper/lib/ | |
| inflating: sports-scraper/lib/sports-scraper.jar | |
| inflating: sports-scraper/lib/jsoup-1.7.2.jar | |
| inflating: sports-scraper/lib/commons-lang3-3.3.2.jar | |
| creating: sports-scraper/bin/ |
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
| <meta name="twitter:card" content="summary"> | |
| <meta name="twitter:domain" content="raptorsrepublic.com"> | |
| <meta name="twitter:url" content="http://www.raptorsrepublic.com/2013/10/09/practice-recap-valanciunas-english-cumulative-talent-ross-laid-back/"> | |
| <meta name="twitter:site" content="@raptorsrepublic"> | |
| <meta name="twitter:title" content="Practice Recap, Valanciunas’ English, Cumulative Talent, Ross Laid Back? "> | |
| <meta name="twitter:description" content="Recapping the practice, looking back at some wings and debating whether the current 'big three' is the best one we've had in years, and some Valanciunas and Ross talk, including a GIF or two."/> | |
| <meta property="twitter:image" content="http://www.raptorsrepublic.com/wp-content/uploads/2013/02/ross.jpg"/> | |
| <meta property="twitter:image:src" content="http://www.raptorsrepublic.com/wp-content/uploads/2013/02/ross.jpg"/> |
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
| <?php | |
| while (true) { | |
| $contents = file_get_contents('http://feeds.arsenal.com/arsenal-news'); | |
| if (stripos($contents, 'mesut') !== FALSE) { | |
| echo date(DATE_RFC822) . ": It's official!\n"; | |
| mail('[email protected]', 'Arsenal signed Ozil', ''); | |
| exit(0); | |
| } else { | |
| echo date(DATE_RFC822) . ": Nothing doing.\n"; | |
| sleep(10); |
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
| // #1 - Using a function | |
| function Apple (country) { | |
| this.country = country; | |
| this.color = "red"; | |
| this.getInfo = getAppleInfo; | |
| } | |
| function getAppleInfo() { | |
| return this.country + ' has ' + this.color + 'apples'.; | |
| } |
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
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <h1>Show Random Tip</h1> | |
| <ul id="tips" style="display:none"> | |
| <li>Dinner is good for you.</li> |