background preloader

Natural Docs

Natural Docs

NDoc Online 30 game scripts you can write in PHP, Part 1: Creating 10 fundamental scripts Getting started As both a game master/storyteller and a developer, I frequently find myself writing little utilities and scripts to help me when running, planning, and playing games. Sometimes I need a quick idea. Other times, I just need a whole pile of names for Non-Player Characters (NPCs). Occasionally, I need to geek out on numbers, work out some odds, or integrate some word puzzles into a game. Many of these tasks become more manageable with a little bit of script work ahead of time. This article will explore 10 fundamental scripts that can be used in various types of games. We will blaze through these scripts pretty quickly. Back to top A basic die roller Many games and game systems need dice. In many cases, that would be more or less fine. Listing 1. function roll () { return mt_rand(1,6); } echo roll(); Then we can pass the type of die we want to roll as a parameter to the function. Listing 2. Random name generator Listing 3. Listing 4. Listing 5. Scenario generator Listing 6. Summary

CPU-Z Advertisement What is CPU-Z CPU-Z is a freeware that gathers information on some of the main devices of your system. CPU Name and number. The CPU-Z's detection engine is now available for customized use through the CPUID System Information Development Kit, a professional SDK built for the Microsoft Windows operating systems. ^ back on top ^ Install & configuration Install and Remove Since version 1.51, CPU-Z includes an installer. The installation creates program entries in the start menu and on the desktop. Installation Run the setup executable file, and let it guide you for the installation process. Removal You can remove the program either from the Add or Remove Programs window (from Settings, Control Panel), or choose Uninstall CPU-Z from Start menu, Programs, CPUID, CPU-Z. Configuration file CPU-Z uses a configuration file, cpuz.ini, that allows to set several parameters for the program. Set to 1, uses the display driver to read the display adapters information. 0 to dosable. with:

Aivosto - Analyze, Document and Flowchart Source Code Codecademy Labs Security Tips: Defend Your Code with Top Ten Security Tips Every Developer Must Know -- MSDN Magazine, September 2002 Security Tips Defend Your Code with Top Ten Security Tips Every Developer Must Know Michael Howard and Keith Brown This article assumes you're familiar with C++, C#, and SQL Level of Difficulty 1 2 3 There are many ways to get into trouble when it comes to security. Security is a multidimensional issue. 1. Even if you don't read the rest of this article, remember one thing, "don't trust user input." Trusting that input is well formed can lead to buffer overruns, cross-site scripting attacks, SQL injection attacks, and more. Let's look at each of these potential attacks in more detail. 2. A buffer overrun occurs when the data provided by the attacker is bigger than what the application expects, and overflows into internal memory space. Take a look at the following C++ code snippet: void DoSomething(char *cBuffSrc, DWORD cbBuffSrc) { char cBuffDest[32]; memcpy(cBuffDest,cBuffSrc,cbBuffSrc); } What's wrong with it? 3. How many of you have seen code like this? There are two ways to avoid this. 4.

Comparison of documentation generators - Wikipedia, the free enc The following tables compare general and technical information for a number of documentation generators. Please see the individual products' articles for further information. Unless otherwise specified in footnotes, comparisons are based on the stable versions without any add-ons, extensions or external programs. General information[edit] Basic general information about the generators: creator/company, license/price etc. Operating system support[edit] The operating systems the generators can run on. Note (4): GNU D Compiler. Language support[edit] The programming languages the generators recognize. Note (1): .NET is not a programming language, but is listed here for convenience. Note (2): Though not supported as a native input language, Doxygen can be extended through the use of filters. Note (3): Generators listed here can be extended to support any language that has comments. Input formats[edit] The input formats the generators can read. Output formats[edit] Other features[edit] GhostDoc

Unity Web Player The Unity Web Player enables you to view blazing 3D content created with Unity directly in your browser, and autoupdates as necessary. Unity allows you to build rich 3D games with animated characters, sizzling graphics, immersive physics. Then you can deliver the games to the web or as standalone players. Unity Web Player for Windows Internet Explorer, Firefox, Safari, Opera Requirements Windows XP/Vista/7/8/10 DownloadDownload Unity Web Player for Mac OS X Safari, Firefox Mac OS X 10.7 or newer Download Unity Web Player The Unity Web Player can be downloaded to run browser-based Windows and Mac games and apps made with Unity. Check out Unity's gallery to view and play games and apps on your device.

How to use Xcacls.vbs to modify NTFS permissions There is an updated version of the Extended Change Access Control List tool (Xcacls.exe) that is available as a Microsoft Visual Basic script (Xcacls.vbs) from Microsoft. This step-by-step article describes how to use the Xcacls.vbs script to modify and to view NTFS file system permissions for files or for folders. You can use Xcacls.vbs from the command line to set all the file system security options that are accessible in Microsoft Windows Explorer. Xcacls.vbs displays and modifies the access control lists (ACLs) of files. Note Xcacls.vbs is only compatible with Microsoft Windows 2000, with Microsoft Windows XP, and with Microsoft Windows Server 2003. Xcacls.vbs is not supported by Microsoft. Set Up and Use Xcacls.vbs To set up and to use Xcacls.vbs, follow these steps:Obtain the latest version of Xcacls.vbs from the following Microsoft Web site:Double-click Xcacls_Installer.exe. Syntax for the Xcacls.vbs Command The following output of the xcacls.vbs /? xcacls.vbs c:\test Examples

Doxygen Generate documentation from source code Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, Tcl, and to some extent D. Doxygen can help you in three ways: It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in ) from a set of documented source files. Doxygen is developed under Mac OS X and Linux, but is set-up to be highly portable. Doxygen license Copyright © 1997-2016 by Dimitri van Heesch. Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License is hereby granted. Documents produced by doxygen are derivative works derived from the input used in their production; they are not affected by this license. Sponsored links(not related to doxygen)

The Basics of C Programming" The previous discussion becomes a little clearer if you understand how memory addresses work in a computer's hardware. If you have not read it already, now would be a good time to read How Bits and Bytes Work to fully understand bits, bytes and words. All computers have memory, also known as RAM (random access memory). For example, your computer might have 16 or 32 or 64 megabytes of RAM installed right now. float f; This statement says, "Declare a location named f that can hold one floating point value." While you think of the variable f, the computer thinks of a specific address in memory (for example, 248,440). f = 3.14; The compiler might translate that into, "Load the value 3.14 into memory location 248,440." There are, by the way, several interesting side effects to the way your computer treats memory. int i, s[4], t[4], u=0; for (i=0; i<=4; i++) { s[i] = i; t[i] =i; } printf("s:t\n"); for (i=0; i<=4; i++) printf("%d:%d\n", s[i], t[i]); printf("u = %d\n", u); s[1000000] = 5;

Sky Charts, Free Astronomy software , Celestial atlas New version 3 of Cartes du Ciel / Skychart is now available! You will be automatically redirected to the new page in 10 seconds or click this link. If you want to access the old version 2 pages click this link now. If some link of the old site are brocken try to add "oldversion" in the URL path. Pikauba Software - Application Documentation Solutions

Related: