2021年12月17日 星期五

C sample code for PIC micros and Hi-Tech C usb rs232

 C sample code for PIC micros and Hi-Tech C
https://www.microchipc.com/sourcecode/


C sample code for PIC micros and Hi-Tech C

Sample projects for the Microchip PIC micro series of microcontrollers, including the PIC12x, PIC16x, PIC18x, PIC24x, and dsPICx microcontrollers.

Code is targeted at the Hi-Tech C compiler, from www.htsoft.com, the C18 or C30 compiler from www.microchip.com, or CCS C.

We want to publish your embedded source code for the benefit on the PIC community. Send it to support@microchipc.comand I will post it on the site, together with recognition of your name and website.

    CRC.
    USB serial port for PIC18F4550.
    MMC card.
    Delay routines in C for PIC16Fx core.
    Delay routines in C for PIC18Fx core.
    UART for PIC16F87x and PIC18Fx.
    Bootloader - PIC16F876.
    Bootloader - PIC18F1320.
    Bootloader - PIC18Fx52.
    Bootloader - PIC17C4x.
    Bootloader - dsPIC (all variants).
    EEPROM.
    A/D.
    D/A.
    SPI.
    LCD.
    PIC12C509 logic replacement nitrogen filler.
    I2C.
    Multitasking and RTOS.
    17C4x bootloader.
    16F84 based pulse monitor.
    TRIAC controller
    Dallas DS1821 thermometer.
    Decimal routines.
    PIC16F84 pulse mon date/time RS232 serial port
    PIC16F84 TRIAC / IGBT 50/60Hz control.

    

    Phase Controller for 2kW heater.
    Dallas DS1821 three-pin digital thermostat.
    Gym Timer.
    LCD and keypad project.
    Heater Project - involves 1-wire routines, serial routines, a P.I.D (Proportional, Integral, Derivative) calculation, ADC, and a interrupt driven burst mode heater control.
    dsPIC30Fx "Hello World" example.
    dsPIC30Fx "RC Pulse" example.
    C driver code project for Samsung KS0713 and PIC micros.
    PIC18LF4550 with LCD and temperature sensor.
    MiniBasic example peripheral code in C, for PIC18, PIC24, PIC32. Examine the C source code to work out how to use any peripheral on a PIC18, PIC24 or PIC32. Very useful.
    Interrupt driven serial with circular FIFO for PIC16x micro.
    Tiny threads example - 1 byte per thread.
    The Dot Factory: An LCD Font and Image Generator
    Embedded PIC Programmer
    Portable LCD driver.
    SimpleRTOS. A tiny, portable multitasking OS.
    Improve your programming with the UVa tutorial.
    ... and much, much more.

DISKLESS PXE BOOT Kickstart で CentOS7 自動インストール - Qiita

 https://qiita.com/k-koz/items/846a0d064c51f2937b1f

@k-koz

posted at 2016-05-08

updated at 2016-05-09

Kickstart で CentOS7 自動インストール - Qiita
Kickstart で CentOS7 自動インストール
vsftpd
tftp
dhcpd
kickstart
centos7
【Kickstart で CentOS7 自動インストール】

    Kickstart 環境を構築し、CentOS7 を自動インストールする手順をまとめる


[Server: Kickstart 環境の構築]
1. TFTP server セットアップ
2. DHCP server セットアップ
3. FTP Server セットアップ    (TFTP)
4. Kickstart 設定 (CentOS7インストール用)

[Client: Kickstart 環境の利用]
1. CentOS 自動インストール実行手順

4. Kickstart 設定 (CentOS7インストール用)

f. PXE ブート設定ファイル配置ディレクトリ作成

mkdir -p /var/lib/tftpboot/pxeboot/pxelinux.cfg/

g. PXE ブート設定ファイル作成

i. kickstart ファイル作成

    オプションの詳細は RHEL7インストールマニュアル/23.3. キックスタート構文の参考資料 を参照
    パスワードは下記コマンドで生成可能

http://taeisheauton4programming.blogspot.com/2019/05/pxevirtualboxcentos-7.html

 PXEにより、VirtualBoxでCentOS 7のインストーラーを起動した(図で解説あり)
5月 01, 2019


VirtualBox Version 5.2.20 r125813 (Qt5.6.3)、CentOS Linux release 7.6.1810 (Core)を用いて、PXEによるインストーラーの起動までを試した。
PXEサーバー、PXEクライアントともに、VirtualBoxの仮想マシン。
作業開始時点のPXEサーバーの状態は、Minimal ISOをインストールした直後とする。
SELinuxはEnforcing、firewalldはstopしないで必要なだけ開放した。
基本的に、Redhatの公式ドキュメントのやり方を踏襲した。

PXEについて
PXEは、ネットワークブートを実現する仕組み。
OSやインストーラーを、ネットワーク経由で起動できる。
Kickstartと組み合わせることで、Linux OSのインストールを自動化できる。

PXEに必要なサーバーは、下記の3つ。

    DHCPサーバー - IPアドレス付与、TFTPサーバーとブートローダーの場所を教える
    TFTPサーバー - ブートローダーを提供、インストールソースの場所を教える
    ファイルサーバー(HTTP、FTP、NFSなど) - インストールソースを提供



Diskless Windows 10 PC Setup Procedure

 https://audiophilestyle.com/forums/topic/26705-diskless-windows-10-pc-setup-procedure/

 

https://audiophilestyle.com/forums/topic/26705-diskless-windows-10-pc-setup-procedure/
 Diskless Windows 10 PC Setup Procedure By scan80269,

Gigabit Ethernet NIC with PXE boot support

Gigabit Ethernet NIC, with driver for Windows Server  

DHCP server static IPs

Contents of iscsi.ipxe (text) file: #!ipxe

sanboot iscsi:<server IP>::::iqn.1991-05.com.microsoft:<server name>-win10-target boot

Share iSCSIVirtualDisks folder with rear/write permission for client username

Create TFTProot folder

Put ipxe-undionly.kpxe and iscsi.ipxe files in C:\TFTProot

Download and set up Tiny PXE Server (Tiny PXE Server - reboot.pro)

Enable iSCSI Service


Client Connect network via gigabit Ethernet NIC and cable

Attach local storage (HDD/SSD)

Install Windows 10 OS into hard disk

- Copy OS install files into FAT32 formatted USB flash drive to use for OS installation

Install NIC driver and other device drivers (graphics, audio, etc.) as needed

Ensure client can properly browse on Internet

 Launch iSCSI Initiator

- Type "iscsicpl" <Enter> at the Command Prompt window and answer Yes to the prompt

- This will configure Win10 to auto launch the iSCSI initiator service at OS startup

Launch Registry Editor (regedit.exe) to set boot flag for LAN driver

Locate the LAN driver service name under HKLM\SYSTEM\CurrentControlSet\Services

Example: for motherboards featuring Intel I217V/LM, I218V/LM, I219V/LM LAN the driver service name is: e1dexpress

Click on the driver service name, locate the Start key (REG_DWORD), double-click it and change its value to 0

- Repeat this Start key value change to 0 in HKLM\SYSTEM\ControlSet001\Services and HKLM\SYSTEM\ControlSet002\Services

Close Registry Editor

Download and run Disk2VHD.exe (from Microsoft Sysinternals: https://technet.microsoft.com/en-us/sysinternals/ee656415.aspx)

- Ensure "Use Vhdx" and "Use Volume Shadow Copy" checkboxes are checked

- In "VHD File Name" box, enter "\\<Server IP>\<share name>\Win10.VHDX (e.g. \\192.168.0.100\c\Win10.VHDX)

- Run Disk2VHD to create VHDX file on server

 
Server:

Set up iSCSI target LUN

Use "existing VHDX"

Add MAC address of client to iSCSI initiator list

 

 

Client:

 Launch "iSCSI Initiator"

 On "Discovery" tab, click "Discover Portal" and enter IP address or DNS name of server

 on "Targets" tab, ensure a target appears on "Discovered targets" list

 target name should look like: iqn.1991-05.com.microsoft:<server name>-Win10-target

 Shut down Windows and detach hard disk from client

 Power up client and it should proceed to PXE boot

- PXE boots to iPXE from server, then chains to iSCSI target LUN to start Windows 10 boot

 

 

 

Notes:

A. This procedure sets up a fixed size VHDX on the server. An alternative is to create a new dynamic VHDX (of desired max size) on the server, mount it locally (using iSCSI Initiator running on the server), connect the client disk to the server via USB-to-SATA adapter, then partition copy the client disk to the mounted VHDX. This preserves the dynamic nature of the VHDX file and helps conserve disk space on the server.



 
 

2021年12月16日 星期四

delphi fmx 動畫 Animator Animation Interpolation TAnimator AnimateFloat AnimateFloat TAnimationType TInterpolationType

 https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.Ani.TAnimator.AnimateFloat

 https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.Types.TFmxObject.AnimateFloat

 FMX.Types.TFmxObject.AnimateFloat

 

https://github.com/PacktPublishing/Delphi-Programming-Projects/blob/master/Chapter05/uFrmMenu.pas

 Delphi Programming Projects: Build a range of exciting projects by exploring ...

 https://codeverge.com/embarcadero.delphi.firemonkey/how-to-make-animation-running-s/2000855

 https://www.coursehero.com/file/97111482/Algoritmo5txt/

 https://www.delphican.com/archive/index.php/thread-5493.html

 

 Lesson 8 – Using Image and Animation Effects
http://firemonkey.borlandforum.com › attach › e_...
PDF http%3A%2F%2Ffiremonkey.borlandforum.com%2Fimpboard%2Fattach%2F0000143970%2Fe_learning_series_win_mac_development_coursebook_lesson8.pdf&usg=AOvVaw17vdCnJyJtp5Iybk5US07e

 atIn;. AInterpolation: TInterpolationType = TInterpolationType.itLinear);. // C++ void __fastcall AnimateFloat(const System::UnicodeString.

 

https://www.youtube.com/watch?v=dTP8MfZ5fe4&ab_channel=MuminjonAbduraimov

https://github.com/MuminjonGuru/Mastering-FireMonkey-Delphi/tree/master/AnimateFloat

delphi Navigation Sidebar LIST MENU TCategoryButtons Buttons Category

  delphi Navigation Sidebar LIST MENU

delphi TCategoryButtons Buttons Category

 https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.CategoryButtons.TCategoryButtons.ButtonOptions

https://wiki.freepascal.org/JVCL_Components 

https://stackoverflow.com/questions/18182284/how-to-create-attractive-side-bar-menus-at-delphi

 

JvXPCtrls

Depends on package JvCore and JvStdCtrls.
Several controls imitating the look and feel of Windows XP.

    JvXPButton and JvXPCheckbox: a button and a checkbox in XP-style
    TJvXPProgressBar: Draws a progressbar in XP-style. The color of the the background and of the blocks is configurable. Doesn't support Marquee-style.
    JvXPBar: a container side-bar with collapsable panels. Similar to TJvRollOut-Panel, but with string items instead of controls. Collapsing/Expanding happens smooth and nicely animated.

JvXPBarDemo.png

FMX.Ani.TAnimator.AnimateFloat - RAD Studio API ... AnimateFloat  TAnimationType TInterpolationType   AnimateFloat TAnimationType TInterpolationType

https://www.youtube.com/watch?v=qZj4J1x1v_g&ab_channel=DelphiCreative
https://github.com/DelphiCreative/DemoFree/tree/c8e382d27c14c2083951750d96be6669501ae469


window container control  menu Navigation Sidebar





delphi procedure TNotifyEvent list dynamic script Tlist dynamic

 https://docwiki.embarcadero.com/RADStudio/XE3/en/Procedural_Types#Method_Pointers

 https://stackoverflow.com/questions/8102255/delphi-dynamically-calling-different-functions

 

delphi ActionList Component 

 

blong.com/Articles/Actions/Actions.htm

 Actions, Action Lists And Action Managers 


www.functionx.com/cppbuilder/topics/actions.htm

 The TContainedAction class is derived from the TBasicAction class, which itself is based on the TComponent class.

programming language interface for calling natively compiled RunTime library Loading dynamic link libraries

  programming language interface for calling natively compiled RunTime library Loading dynamic link libraries

https://en.wikipedia.org/wiki/Libffi
https://dyncall.org/
https://www.drdobbs.com/a-dynacall-function-for-win32/184416502
https://docs.python.org/2/library/ctypes.html



Spreadsheet Components Delphi

 TAdvSpreadGrid https://www.tmssoftware.com/site/aspgrid2.asp

TMSSoftware https://www.tmssoftware.com 

Powerful spreadsheet function calculation support added to the full TAdvStringGrid feature set. ... Delphi component VCL Grid. TAdvSpreadGrid extends the ...TAdvSpreadGrid extends the full power of TAdvStringGrid with formulas. Simple formula editing interface
    Auto recalculation
    Native XLS file import and export*
    Single cell recalculation, full recalculation
    Extensive range of mathematical functions
    Save with formulas or formula results only
    Single cell references in formulas
    Cell range formulas
    Formula precision for grid on cell basis
    Display formulas or formula results
    Date / time functions
    Intelligent formula aware copy and paste
    Can be extended with custom functions
    Cell names
    Cell name mode can be RxCy style or A1-style
    Can reference cells from other TAdvSpreadGrids
    Math library infrastructure to allow easy extending
    TAdvSpreadGrid with custom functions
    Includes the free ESBMaths library with 46 scientific constants and 19 mathematical functions from ESB Consultancy
    ESBPCS maths library available for even more statistical functions
    Intelligent and customizable hints while editing formulas

https://github.com/sergio-hcsoft/Delphi-SpreadSheets 

DevExpress components SpreadSheet component (cxSSheet).

https://en.delphipraxis.net/topic/5819-looking-for-spreadsheet-component/

JansFreeware A collection of freeware components including the TJanGrid4 a grid with spreadsheet capabilities. 

 git-bee/janSQL: Fast single user SQL engine for text-based files.

Searching in the Internet I found only commercial components (such TMS and ProfGrid) until I found
TJanGrid4: http://jansfreeware.com/jfdelphi.htm

http://web.tiscalinet.it/patriziotorsa/delphi.html
TjanGrid 4  

TjanGrid is a TStringGrid descendant featuring: AutoCalc Spreadsheet, Named Cells, Cell Info Hints, R1C1 or A1 cell reference, LoadFrom CSV/HTML, SaveTo CSV/HTML/XML, insert/delete/append/autosize columns/rows. cut/copy/paste/clear/fill range. alpha/number/date SORT row/columns. wordwrap. source code included. help file. integral dialogs for : print/preview/zoom/formule/query/cell names. filter/show/hide rows/columns. color bands. http://members.xoom.com/JanVee/jangrid4.zip

 

 

XLGrid http://www.gavina-software.com/components/xlgrid 

https://www.gobestcode.com/html/math_parser_for_delphi.html
TbcParser is a math expression parser VCL component that can be used with Delphi and C++ Builder 4,5,6,7, 2006, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, Delphi 10 Seattle, 10.1 Berlin, 10.2 Tokyo, 10.3 Rio, 10.4 Sydney and most likely any newer version.

split Floating-Point Arithmetic IEEE 754 IEEE 854-1987 Standard for Radix-Independent Floating-Point Arithmetic.

 split
Floating-Point Arithmetic IEEE 754 IEEE 854-1987 Standard for Radix-Independent Floating-Point Arithmetic. 


    32-bit floating point  32-bit Single precision
    64-bit Double precision
    80-bit Extended precision


32-bit floating point  
Sign    Exponent    (Fraction)Mantissa
1    +8    +23    Bits
sign 1=negative 0= positive

[-/+]*[2^ exp]*[frac bin]

General Double Precision  IEEE 754-1985 64 bits
values   Fraction
     Sign    Exponent    Fraction   
    1    +11    +52     Bits
    Sign bit: 1 bit
    Exponent: 11 bits
    Significand precision: 53 bits (52 explicitly stored) fraction

https://en.wikipedia.org/wiki/Single-precision_floating-point_format
https://en.wikipedia.org/wiki/Double-precision_floating-point_format
https://en.wikipedia.org/wiki/Microsoft_Binary_Format#64-bit_MBF
https://en.wikipedia.org/wiki/Exponent_bias

Operations on special numbers are well-defined by IEEE. In the simplest case, any operation with a NaN yields a NaN result.
Encodings of qNaN and sNaN
https://en.wikipedia.org/wiki/NaN#Encoding

http://steve.hollasch.net/cgindex/coding/ieeefloat.html
IEEE Standard 754 Floating Point Numbers
Steve Hollasch  •  Last update 2018-08-24 


https://stackoverflow.com/questions/50975653/convert-extended-80-bit-to-string
https://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SysUtils.FloatToStr
https://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SysUtils.FloatToStrF
https://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SysUtils.FloatToText
https://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SysUtils.FloatToDecimal

https://github.com/JackTrapper/Exact-Float-to-String-Routines
ID: 19421, ExactFloatToStr_JH0 -- Exact Float to String Routines
https://cc.embarcadero.com/Item.aspx?id=19421


decompiles dot net Reverse Engineering

 https://softwarebrother.com/entry/ilspy+dnspy.html

 ilspy dnspy

本文主要介紹ILSpy、dnSpy、JetBrains和Telerik JustDecompile以及可直接修改程序集的reflexil插件和脫殼反混淆的de4Dot插件。 文本的示例程序:.,dnSpy is a debugger and . ... #1392 'mono-2.0-bdwgc.dll' patched for DnSpy - Unity v. 2019.2.4 Opened by carlosnizer 3 months ago #936 Update ILSpy ... , 下載地址:https://github.com/0xd4d/dnSpy/releases無需安裝,和ILSPY同門,感覺比ILSPY還強大. 直接把dll拖拽到程序集資源管理器裏面就可以啦., 三、dnSpy (免费). 这款工具跟ILSpy非常相似,它还支持VB,IL的反编译,页面看起来很舒服, 反编译的质量也很高,代码识别也很高,唯一给我感觉 ...,Memory profiler: Visual Studio embedded profiler, dotMemory, Intel VTune Amplifier, VMMap, Mono Console Tools • C#/VB decompiler: ILSpy, dnSpy,

 

Reverse Engineering - Dotfuscator Professional 6.4
https://www.preemptive.com › userguide
 
NET assemblies into MSIL assembly language. Using ILdasm. Type ildasm in the Developer Command Prompt for VS20xx shortcut in your Start Menu (or Visual Studio ...

dnspy ildasm de4dot ILSpy NET debugger assembly editor Decompilers

 dnspy ildasm  de4dot ILSpy

NET debugger assembly editor Decompilers

https://bytepointer.com/articles/flare2015/index.htm
https://cracklab.team/index.php?threads/7/

dnspy ildasm  de4dot ILSpy NET debugger  assembly editor dnspy ildasm  de4dot ILSpy NET debugger  assembly editor Decompilers   ILSpy PDB generation


ILSpy PDB generation


    Debug .NET and Unity assemblies
    Edit .NET and Unity assemblies
    Light and dark themes

https://github.com/dnSpy/dnSpy
ILSpy

 .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!


    Decompilation to C#
    Whole-project decompilation (csproj, not sln!)
    Search for types/methods/properties (substring)
    Hyperlink-based type/method/property navigation
    Base/Derived types navigation, history
    BAML to XAML decompiler
    Extensible via plugins (MEF)
    Check out the language support status
https://github.com/icsharpcode/ILSpy/wiki/Plugins
https://github.com/icsharpcode/ILSpy/issues/829
https://github.com/icsharpcode/ilspy
Dotnet IL Editor

https://blog.ndepend.com/in-the-jungle-of-net-decompilers/
https://github.com/icsharpcode/ILSpy
https://github.com/icsharpcode/ILSpy/tree/master/ICSharpCode.Decompiler.Console
https://github.com/icsharpcode/AvaloniaILSpy?WT.mc_id=-blog-scottha

Dotnet IL Editor (DILE) allows disassembling and debugging .NET 1.0/1.1/2.0/3.0/3.5/4.0 applications without source code or .pdb files. It can debug even itself or the assemblies of the .NET Framework on IL level.
https://sourceforge.net/projects/dile/

https://github.com/jbevain/cecil/wiki/Users
https://github.com/sponsors/jbevain/
 
CLI tool to compute the TypeRefHash (TRH) for .NET binaries.
https://github.com/GDATASoftwareAG/TypeRefHasher
Simple Assembly Explor (SAE) - Assembler, Disassembler, Deobfuscator, IL editor and more
 
https://sites.google.com/site/simpledotnet/simple-assembly-explorer
https://github.com/wickyhu/simple-assembly-explorer

https://www.gdatasoftware.com/blog/2020/06/36164-introducing-the-typerefhash-trh
TypeRefHash (TRH)
https://sites.google.com/site/simpledotnet/simple-assembly-explorer
https://github.com/wickyhu/simple-assembly-explorer

.Net Reflector
https://www.red-gate.com/products/dotnet-development/reflector/
VB Decompiler
https://www.vb-decompiler.org/
ReSharper
https://www.jetbrains.com/resharper/
JetBrains DotPeak
https://www.jetbrains.com/decompiler/
Telerik JustDecompile
https://www.telerik.com/products/decompiler.aspx
ilasm & ildasm
https://docs.microsoft.com/zh-cn/dotnet/framework/tools/ilasm-exe-il-assembler
https://docs.microsoft.com/zh-cn/dotnet/framework/tools/ildasm -exe-il-disassembler?redirectedfrom=MSDN
CodeReflect
https://devextras.com/decompiler/

https://github.com/0xd4d/de4dot/actions.
https://github.com/de4dot/de4dot
BitDiffer

Homepage: http://reflexil.net
Howto: http://www.codeproject.com/KB/msil/reflexil.aspx

Compatible with:

    ILSpy
    Reflector
    Telerik JustDecompile

Videos:

    Converting a .NET GUI application to console using Reflexil and ILSpy (http://bit.ly/1H5RDdh)
    Unity3D assembly patching (AngryBots game) with Reflexil (http://bit.ly/un1ty)
    Playing with Reflexil and Reflector (http://bit.ly/kill3rv1d)

Download stable releases here: https://github.com/sailro/Reflexil/releases
or nightly releases here: https://sailro.visualstudio.com/Reflexil/_build?definitionId=2&_a=summary&view=runs

https://github.com/sailro/Reflexil/releases

https://bytepointer.com/articles/flare2015/challenge07.htm
FLARE-On 2015 Challenge #7

Date: Aug 19, 2015

CHALLENGE MATERIALS:

filename:            YUSoMeta             https://bytepointer.com/download.php?name=flare2015_07_0CC92381BDCA47754B144A4FC2E41623.zip
md5        d17e49a45830a40c844f2bbf1046c99a
size        16 k (15,872 bytes)
type        .NET 4.0 Console App
Original FLARE Author        Matt Graeber
 
tool:            CFF Explorer / PE Viewer/Editor            Visit  http://www.ntcore.com/
tool:            de4dot / .NET de-obfuscator and unpacker            Visit Website http://de4dot.com/#download
tool:            ILSpy / .NET decompiler            Visit  http://ilspy.net/
tool:            Debugging Tools for Windows / Debugger            Visit  https://msdn.microsoft.com/en-us/library/windows/hardware/ff551063%28v=vs.85%29.aspx
tool:            SOSEX Debugger Extension / Managed Code debugging helper            Visit  http://www.stevestechspot.com/

http://dependencywalker.com/
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.

https://bytepointer.com/articles/flare2015/challenge06.htm
 This is your basic-looking Android app that asks for the password, but you'll find the password is buried pretty deep. Android development skills are not completely necessary, however ARM assembly or C-pseudocode (IDA's C decompiler output) analysis skills are necessary to break this one.

CHALLENGE MATERIALS:

filename:            android.apk            https://bytepointer.com/download.php?name=flare2015_06_63C64502837A89CA0147095726DF8262.zip
md5        8afcfdae4ddc16134964c1be3f741191
size        1.03 mb (1,078,129 bytes)
type        Android 'Froyo' App (Java + Native ARM code)
Original FLARE Author        Moritz Raabe
 
tool:            Android Studio (SDK) / ADB tool / Android Emulator            Visit  https://developer.android.com/studio/index.html
tool:            dex2jar / DEX Converter            Visit  https://github.com/pxb1988/dex2jar
tool:            JD-GUI 1.4.0 / Java Decompiler            Visit  http://jd.benow.ca/
tool:            Apktool / APK Resource Decompiler            Visit  http://ibotpeaches.github.io/Apktool/install/
tool:            IDA / Disassembler            Visit  https://www.hex-rays.com/products/ida/index.shtml

This is your basic-looking Android app that asks for the password, but you'll find the password is buried pretty deep. Android development skills are not completely necessary, however ARM assembly or C-pseudocode (IDA's C decompiler output) analysis skills are necessary to break this one.

NOTE: The compiled Java code for the app is located in classes.dex. We need to convert it from Dalvik bytecode (.DEX) to Java bytecode before we can decompile it. Run the following command to perform the Java conversion:

    d2j-dex2jar classes.dex



     IDA / Disassembler            Visit  https://www.hex-rays.com/products/ida/index.shtml
OllyDbg 2.01 / Debugger            Visit  http://www.ollydbg.de/version2.html


 tool:            IDA / Disassembler            Visit  https://www.hex-rays.com/products/ida/index.shtml
tool:            Exe2Aut / AutoIt3 Decompiler            Visit  https://web.archive.org/web/20140910212943/https://exe2aut.com/downloads/Exe2Aut.zip
tool:            AutoIt 3.3.14.1 / AutoIt Interpreter            Visit  https://www.autoitscript.com/site/
tool:            VMWare Workstation / Guest copy of Windows XP            Visit  http://www.vmware.com/products/workstation/
tool:            Debugging Tools for Windows / WinDbg            Visit  https://msdn.microsoft.com/en-us/library/windows/hardware/ff551063%28v=vs.85%29.aspx
tool:            VirtualKD / Kernel Debug Virtualization Accelerator            Visit  http://virtualkd.sysprogs.org/
 

2021年12月15日 星期三

HBA PXE iSCSI Network booting NIC iSCSI FCoE Protocols Ethernet Ethernet Using PXE with Virtual Machines diskless ipxe xcat gpxe CCBoot Xen Server

 HBA PXE iSCSI Network booting  NIC iSCSI FCoE Protocols  Ethernet

 Ethernet Using PXE with Virtual Machines

https://audiophilestyle.com/forums/topic/26705-diskless-windows-10-pc-setup-procedure/


PXE Server  TFTP  Server DHCP  Server pxe server (serva) - network boot windows 10 - pxe boot (tutorial)
HBA vs. NIC vs. CNA boot

https://en.wikipedia.org/wiki/Preboot_Execution_Environment
預啟動執行環境(Preboot eXecution Environment,PXE
Host Bus Adapter (HBA)
NIC (Network Interface Controller)  Network interface card, short as NIC,
CNA (converged network adapter) Converged network adapter, short as CNA,
PXE (Preboot Execution Environment) is a client-server interface that allows computers in a network to be booted from the server
iPXE is an open-source implementation of the Preboot eXecution Environment (PXE) client software and bootloader  
PXES also known as PXES Universal Linux Thin Client
gPXE is an open-source Preboot eXecution Environment (PXE) client firmware implementation and bootloader derived from Etherboot

While standard PXE clients use TFTP to transfer data, gPXE client firmware adds the ability to retrieve data through other protocols like HTTP

NetBoot was a technology from Apple which enabled Macs

HBA FC , Host Bus Adapter Fibre Channel ,  FC HBA card is preferred in an FC SAN network. While iSCSI HBA card, it comes with an RJ45 port or a fiber port
NIC EC , Ethernet Channel , Based on the Internet Protocol (IP)
CNA , HBA with NIC together.


DellTMQLE8262 Converged Network Adapter 專用10GBps Qlogic QLE8262 10GB 雙口網卡HBA CNA 卡
HPE QLogic Adapters  

https://en.wikipedia.org/wiki/ISCSI

https://en.wikipedia.org/wiki/Category:Network_booting

設定PXE 伺服器以載入Windows PE
使用PXE 與Configuration Manager 部署Windows 10
How to Implement PXE Booting from USB-C and Thunderbolt ...

如何使用 Synology Assistant 來連線網路磁碟機?

Diskless Remote Boot in Linux (DRBL) - for Redhat
免費遠端開機程式AOMEI PXE Boot Tool

遠端重灌os "DRBL"+"Clonezilla" - iT 邦幫忙


Windows Diskless with AoE
A definitive guide to how to boot Windows Diskless with ATA over Ethernet Protocol (AoE)
http://web.archive.org/web/20141106111535/http://windowsdisklessaoe.wordpress.com/
Booting from AoE makes system vBlade AoE Target System  AoE Server for ALL Windows

ATA-over-Ethernet(AoE) : iSCSI  Fibre Channel 


How do I PXE boot multiple Windows 7 desktops off the same image?
https://serverfault.com/questions/415327/how-do-i-pxe-boot-multiple-windows-7-desktops-off-the-same-image

DesignEditors DesignIntf VCLEditors ComponentDesigner MSBuild TFSBuild TFlatDesignRegister Developing Custom VCL and VCL.NET Component Designers.

 DesignIntf
DesignEditors
DesignIntf.pas
DesignEditors.pas

TFlatDesignRegister.pas units DesignIntf DesignEditors VCLEditors
 DesignIDE package  
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Deriving_a_Property-editor_Class
The ComponentDesigner.pas file is in the ToolsAPI folder.

Delphi Flatstyle Component
https://sourceforge.net/projects/flatstyle/
Vcl.WinHelpViewer  delphi
https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.WinHelpViewer.ViewerName

https://docwiki.embarcadero.com/RADStudio/Sydney/en/MSBuild
DS=c:\Programme\Embarcadero\RAD Studio\7.0 FrameworkDir=c:\Windows\Microsoft.NET\Framework FrameworkVersion=v2.0.50727
MSBuild delphi  TFS TFSBuild
MSBuild Azure Pipelines 和Team Foundation Server (TFS 的組建和發行工作) ... msbuild. Azure Pipelines:如果您的小組使用Visual Studio 2017
-Microsoft Build Engine(MSBuild)是用於託管代碼和本機C ++代碼的免費開源構建工具集,是.NET Framework的一部分。

VCLEditors.pas unit is located in C:\Program Files\Embarcadero\Studio\18.0\source\ToolsAPI .

Developing Custom VCL and VCL.NET Component Designers.
https://www.slideserve.com/gaetan/developing-custom-vcl-and-vcl-net-component-designers

units with Delphi, you need to add –LUDesignIDE to the Compiler options:
    In the Project Options dialog box, under Delphi Compiler, click Compiling.
    In the Other options section, next to Additional options to pass to the compiler, enter –LUDesignIDE

EDesignPropertyError    
IDesignGroupChange    
TBoolProperty    
TCharProperty    
TClassProperty    
TComponentEditor    TComponentEditor provides the default implementation for the IComponentEditor interface.
TComponentGuidelines    
TComponentNameProperty    
TComponentProperty    
TCustomModule    
TDateProperty    
TDateTimeProperty    
TDefaultEditor    TDefaultEditor is the component editor for components that do not explicitly register a component editor.
TDesignerOleDropTarget    
TEditActionSelectionEditor    
TEnumProperty    
TFloatProperty    
TInt64Property    
TIntegerProperty    
TInterfaceProperty    
TMethodProperty    
TNestedProperty    
TOrdinalProperty    
TPropertyEditor    TPropertyEditor is a base class for property editors that implements the IProperty interface.
TSelectionEditor    
TSetElementProperty    
TSetProperty    
TStringProperty    
TTimeProperty    
TVariantProperty    
TWideCharProperty    
TWideStringProperty    
Routines
AncestorNameMatches    
ClassInheritsFrom    
FreeEditorGroup    
GetComponentEditor    Returns a component editor for the specified component on the specified form designer.
GetComponentProperties    
GetSelectionEditors    
GuidelinesFor    
NewEditorGroup    
NotifyGroupChange    
PossibleStream    
UnnotifyGroupChange    
Types
PInstPropList    
TBit    
TGetTopLevelComponentFunc    
TGroupChangeProc    
TInstProp    
TInstPropList    
Variables
GetTopLevelComponentFunc

Free Programming Libraries, Components and Source Code (thefreecountry.com)

 https://www.thefreecountry.com/sourcecode/index.shtml

Delphi Code Library Components Source Utilities tools wizard generator Coding

 https://github.com/fundamentalslib/fundamentals5

 

Fundamentals 5 Code Library for Delphi and FreePascal

Includes:

    String, DateTime and dynamic array routines
    Unicode routines
    Hash (e.g. SHA256, SHA512, SHA1, SHA256, MD5)
    Integer (e.g. Word128, Word256, Int128, Int256)
    Huge Word, Huge Integer
    Decimal (Decimal32, Decimal64, Decimal128, HugeDecimal and signed decimals)
    Random number generators
    Cryptographic (Symmetric: AES, DES, RC2, RC4; Asymmetric: RSA, Diffie-Hellman, Elliptic Curve)
    Data structures (array, dictionary and map classes)
    Mathematics (Rational number, complex number, vector, matrix, statistics)
    JSON parser
    Google protocol buffer parser, utilities and Pascal code generator
    Socket library (cross platform - Windows, Linux, OSX, iOS, Android)
    TLS Client
    TLS Server
    TCP Client
    TCP Server
    HTTP Client
    HTTP Server
    HTML Parser
    XML Parser
 

https://torry.net/pages.php?id=673

    Code Banks
    Comments Systems
    Syntax Tools
    Code Generators
    Other
    Code Convertors

Delphi Code Library  
Components
Source
Utilities
tools
wizard
generator
Coding

 

Felix J COLIBRI 巴斯卡 連結 delphi

 http://www.felix-colibri.com/links/valid_delphi_links/valid_delphi_links.html

自然語言處理 Natural Language Processing (NLP) Wikidata

 自然語言處理 Falcon 2.0: An Entity and Relation Linking Tool over Wikidata
https://arxiv.org  
https://arxiv.org/abs/1912.11270
  Abstract: The Natural Language Processing (NLP) community has significantly contributed to the solutions for entity and relation recognition from

Falcon 2.0: An Entity and Relation Linking Tool over Wikidata
Ahmad Sakor, Kuldeep Singh, Anery Patel, Maria-Esther Vidal

    The Natural Language Processing (NLP)
community has significantly contributed to the solutions for
entity and relation recognition
from the text, and possibly linking
them to proper matches in Knowledge Graphs (KGs).
Considering Wikidata as the background KG, still,
 there are limited tools to link knowledge within the text to Wikidata.
In this paper, we present Falcon 2.0, first joint entity,
 and relation linking tool over Wikidata.
 

https://en.wikipedia.org/wiki/Bitext_word_alignment
Bitext word alignment
 natural language processing task of identifying translation relationships among

https://labs.tib.eu/falcon/falcon2/description
FALCON 2.0:

FALCON 2.0 is an entity and relation linking tool over Wikidata. FALCON 2.0 identifies the relations and entities in a short text or question. Then link them to their corresponding URI in Wikidata knowledge graph. FALCON 2.0 links relations based on the recognized entities, which makes the chance of linking the correct relations higher.
FALCON 2.0 can be used in two modes:

Falcon  An Entity and Relation Linking Tool over Wikidata


wikidata Articles  Analytics Deployment relations knowledge graph

extended KG extracting alignments of labels  

Wikidata DBpedia

某些單字翻譯

 Entity Hierarchy 實體層級
hierarchical classification 階層式分類
ERD Entity-relationship model 實體聯絡模型 實體關係模型 實體聯絡模式圖
Inheritance Hierarchy 繼承階層架構
aggregation 聚集
Entity 實體
Relational model 關聯模型
multiset 多重集
relvar 關聯變量
header 表頭
hierarchy  層次
composite class hierarchy復合類層次
Table per class hierarchy每個類分層結構一張表
Class Hierarchy Structure類層次結構
class sony hierarchy類層次結構
class s hierarchy類層次結構
class createsony hierarchy類層次結構
class inheritance hierarchy structure類繼承層次結構
Class Composition Hierarchy類復合層次
Class Hierarchy with Services服務的等級
Data Flow Diagram 資料流程圖
Data structure diagram 數據結構圖
data definition 資料定義
data dictionary 資料字典
data flow 資料流
data flow diagram 資料流程圖
data integration 資料整合
data management 資料管理
data management software 資料管理軟體
data manipulation 資料操縱
data mining 資料挖掘
data processing 資料處理

圖表 chart 複數 charts 流程圖 flow chart 座次表 seating chart 組織結構圖 organizational chart 會計科目 chart of accounts
 graph diagram line graph bar graph pie graph diagram schematic diagram wiring diagram circuit diagram tree diagram  flow diagram  


https://www.google.com/search?q=Hierarchy+naer.edu.tw

集合代數 Algebra of sets 交換律 Commutative property 結合律 associative property 分配律 distributive property 自反關係Reflexive relation反對稱關係 Antisymmetric relation 遞移關係 Transitive relation 集合論 Set theory

個別 individual, few, specific, respective, single, exceptional個體 individual

One-to-many (data model) 一對多(數據模型)
 Numerical relationships 數值關係
cardinality 基數
 absolute maximum絕對最大值absolute minimum 絕對最小值
 arithmetic progression  算術級數disproportion  算術級數
 disproportionate  不成比例disproportionately  不成比例的
 function
 independent variable  自變量
 inverse function 反函數inverse proportion反比例
 monotonic 單調的monotonically  單調地
 percent  百分percent positive  陽性百分比percentile  百分位
 pro rata  按比例
 ratio 比率set a term to  給...定期限 給…定限期,對…加以限制 trinomial三項式  


https://tw.dictionary.search.yahoo.com/
https://tw.ichacha.net/

https://zh.m.wikibooks.org/zh-tw/%E5%A4%A7%E9%99%86%E5%8F%B0%E6%B9%BE%E8%AE%A1%E7%AE%97%E6%9C%BA%E6%9C%AF%E8%AF%AD%E5%AF%B9%E7%85%A7%E8%A1%A8
大陸台灣計算機術語對照表

https://homepage.ntu.edu.tw/~karchung/linguistics%20glossary.htm

https://zh.wikipedia.org/wiki/%E7%BB%9F%E4%B8%80%E5%BB%BA%E6%A8%A1%E8%AF%AD%E8%A8%80

Entity Hierarchy  Knowledge Base through Relation Extraction Wikidata

 Articles Analytics Deployment relations knowledge graph

WikidataToolsVisualize data  https://www.wikidata.org/wiki/Wikidata:Tools/Visualize_data

Relation Linking Tool over Wikidata Hierarchy Dictionary


wiki 屬性分析

https://www.wikidata.org/wiki/User:Joshbaumgartner

https://www.wikidata.org/wiki/User:Joshbaumgartner/property_available_summary

Property discussions      

Wikidata:Properties for deletion     

User:Joshbaumgartner/property proposals

https://www.wikidata.org/wiki/Wikidata:List_of_properties

https://rawgit.com/johnsamuelwrites/wdprop/master/index.html



2021年12月14日 星期二

Using Reference Counting Assign AssignTo

 Making the Assignment (賦值操作)
Most VCL components don't implement any support for assignment between instances.
Most VCL helper classes - TPersistent descendants intended for use as properties in components, such as TFont, TPen,
and TBrush - do support assignment.
A few special classes, such as TClipboard, contain extensive assignment support.
大部份的VCL元件不實作任何支援物件間的賦值操作.

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TPersistent.Assign
System.Classes.TPersistent.Assign

https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_Reference_Counting
Using Reference Counting

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Implementing_Interfaces#Implementing_Interfaces_by_Delegation
Implementing Interfaces by Delegation

https://stackoverflow.com/questions/22649433/delphi-interface-reference-counting
Delegating to an Interface-Type Property

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.Supports
System.SysUtils.Supports

 

2021年12月13日 星期一

delphi 資源

 https://github.com/Fr0sT-Brutal/awesome-delphi

https://asmcn.icopy.site/awesome/awesome-delphi/

Awesome Pascal

https://landof.dev/awesome/pascal/ 
https://sourceforge.net/software/product/Delphi/alternatives