- cat /etc/os-release
It returns Name, Version, ID, Pretty_Name and other details
- sysctl -a
It returns all available Kernel Parameters
- lscpu
It returns CPU Architecture Information
- cat /proc/cpuinfo | grep processor
It returns the number of available processors
- cat /proc/cpuinfo |grep cpu\ cores |uniq > It returns the number of available cores
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.awt.MouseInfo; | |
import java.awt.Point; | |
import java.awt.PointerInfo; | |
import java.awt.Robot; | |
import java.awt.event.InputEvent; | |
public class MouseClick { | |
public static void main(String[] args) { |
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
package in.flyspark.keywords; // ##package | |
import java.io.File; // ##import | |
public strictfp class Keywords { // ##public ##strictfp ##class | |
public static void main(String[] args) { // ##static ##void | |
Keywords keywords = new Keywords(); // ##new | |
try { // ##try | |
keywords.test(); |
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 BASE_URL = "http://127.0.0.1:15001/mame-rest-api/"; | |
var DRAFT_URL = BASE_URL + "draft"; | |
$("#button-draft").on("click", readEmailBodyAndDraft); | |
//$("#button-summarize").on("click", feedback); | |
function draft(emailBody) { | |
jQuery.ajax({ | |
url: DRAFT_URL, |
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
<a id="button-draft" class="button button-common">Draft</a> | |
</br> | |
<a id="button-summarize" class="button button-common">Summarize</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
body { | |
background: skyblue; | |
align-content: center; | |
text-align: center; | |
} | |
* {box-sizing: border-box;} | |
.button { |