Tag Archives: scripting

JavaScript – the MathJax display engine .

The MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.
Just download it from official website and used like into the next example:

The result of this script can be see into the next image:

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , .

JavaScript – the glMatrix.

The glMatrix javascript is designed to perform vector and matrix operations very fast.
The official website can be found here.
What’s new in 2.0?
The glMatrix 2.0 is the result of a lot of excellent feedback from the community, and features:

  • Revamped and consistent API (not backward compatible with 1.x)
  • New functions for each type, based on request.
  • New array operations: vec(2/3/4).forEach
  • Even more optimizations!
  • A cleaner code base, broken up by type.
  • A more complete unit testing suite.

Let’s test one example with gl matrix and shaders:

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , .

Using free Greensock and TweenMax .

You can use both Greensock MorphSVGPlugin And TweenMax for free on Codepen.
You need to add this into javascript like resources:

https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js

https://s3-us-west-2.amazonaws.com/s.cdpn.io/939680/MorphSVGPlugin.min.js

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , , , .

Silver the Apple’s Swift programming language on Windows.

NOTE: Good idea , I cannot set into Windows 10 see this (https://forums.realm.io/t/errors-in-trial-settings-elements-with-visual-studio/763/2).

Now you can use the swift programming language to create applications on all platforms.
This will working in Fire (on the Mac OS) or in Visual Studio ( on Windows OS).
This is free to use.
The development team tell us about this tool:

Silver is a free implementation of Apple’s Swift programming language.
Built on over ten years of solid compiler knowledge and technology, with Silver, you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs. And you can also share a lot of non-UI code between platforms.

Now , about the full features and options the pricing is:
You can purchase the full Elements package, with support for Oxygene, C#, Swift, and Java, all four platforms, and both IDEs at $799 per user.

This is a screenshot about start a application for android using swift programming language.

Posted in All, Mac OS, Swift, Windows 10. Tagged with , , , , , , , .

Yara python module – part 002 .

Before we start, I have to tell you that it is the continuation of an older tutorial you find here.
As you know the YARA is tool aimed at helping malware researchers to identify and classify malware samples.
The YARA tool help you to create descriptions of malware families based on textual or binary patterns.
This patterns – rules come with description consists of a set of strings and a boolean expression which determine its logic.
The YARA tool can be found on the official website.
First you need to install the python version
I used the yara-python-3.7.0.win-amd64-py3.5 version.
You need to use Python 3.5.0 version from here.
Let’s test the yara python module:

You can see the yara python module works well.
Let’s make a rule and test with a PDF file. This rule will tell us if the PDF come with links.
The rule is one file named detectpdflinks into this path:
C:\\BackUP\\Tools\\Python35\\detectpdflinks
The source code of this rule is:

Now will make the python script to use this yara rule with one pdf file:

You can see the uri on the variable named $the_uri.

Posted in All, Programming, Python, YARA. Tagged with , , , , , .