Simple Loglevel event log save to text file examlpe.
Looking for a lightweight event logger for JavaScript? look no further then Loglevel.
Loglevel is a minimal lightweight simple logging library for JavaScript. Loglevel replaces console.log() with level-based logging and filtering, with none of console’s downsides.
It’s a bare bones reliable everyday logging library. It does not do fancy things, it does not let you reconfigure appenders or add complex log filtering rules or boil tea (more’s the pity), but it does have all the core functionality that you actually use…
In this example I have implemented Loglevel directly into my browser page:
<script src="loglevel.min.js"></script>
<script>
function Loginfo(){
log.setLevel('info');//2
log.info("log info");
}
</script>
Batch scripts are used to automate redundant tasks such as creating 100 folders or updating 50 servers. Yes you could do this 1 at a time manually but this is inefficient and a waste of time and money + resources.
Example Batch script
A good well written batch file can get a lot done and makes our lives a hell of a lot easier. The Linux equivalent is called a shell script.
Typically batch scripts end with .bat and some with .cmd. Batch scripts are executed.
Many people are familiar with project collaboration apps such as Trello, Slack or KanbanFlow. These platforms are great for discussing projects and planing results + steps etc. However every application needs a design document. This is where markdown comes into play. Markdown is a lightweight and easy-to-use syntax for styling all forms of writing on the GitHub platform. Although you can use any other document format such as MS Words.docx or .xls etc. Markdown is my preferred documentation syntax.
A good README.md will have the following features:
MASM32 also known as Microsoft Macro Assembler is an x86assembler that is still maintained by Microsoft however it is no longer sold as a separate entity but is rather, included in various SDK’s and C compilers.
Beautiful circles are formed while the mouse is moving inside your browser. This short bit of code uses the D3.js library also known as the Data Driven Documents JavaScript library.
D3 examples
D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.
D3 examples
D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. For example, you can use D3 to generate an HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction.
In this case D3 was used to display colorful circular animations behind the mouse while it moves over the browser window.
These are the top 5 free web templates (May 8th 2020) in my opinion. There is millions if not billions of options out there however these are just a few that I have had experience with. They are generally easy to use and modify.
The following is a few examples of web loading animations made entirely in HTML and CSS. jQuery is used to add and remove the CSS animations. For example once the document has loaded a jQuery click event can be triggered like so:
Dark themed control and docking library for .NET WinForms.
DarkUI is an attempt to create a simple, extensible control library which emulates the look and feel of popular tabbed document interfaces such as Visual Studio, Photoshop, WebStorm, and XCode. Originally just a collection of bug fixes and enhancements built on top of WinForms, it has now evolved in to a fully working docking and control library.
It’s an inspiring library displaying the power of Windows Forms.
The best way to learn how to use DarkUI is to check out the Example project included with the source code. It’ll show you how to use the majority of the forms, controls, and docking components.
Once the API key is verified the query will return a JSON string with the specified data returned. For example calling checkApiKey.php will return the JSON {"result": 0,"id": "16"} where result = 0 means success and any other result will be a failure code.
Be sure to import test.sql into your MySQL database. test.sql contains two basic tables namely api_keys and users containing the data we want to query with this API.
Please note this is for demonstration purposes. Quite a few security checks have been left out for simplicity’s sake. I’ll make a sophisticated PHP API at a later stage.
API keys database in PHPMyAdminUsers database in PHPMyAdmin