Library to ease common programming tasks.
skarllot / skllib Goto Github PK
View Code? Open in Web Editor NEWC# helper library for common programming tasks
License: GNU Lesser General Public License v3.0
C# helper library for common programming tasks
License: GNU Lesser General Public License v3.0
What steps will reproduce the problem?
What is the expected output? What do you see instead?
True is expected, but return false.
In IO.cs (b155a81) line 60, is validating section with ']'.
Need change "str.Length - 1)))" to "str.Length - 2)))".
ConfigFileBase should allow to choose config file encoding.
Current release only read and write UTF-8 config files.
Currently, LengthSize class only give GetValue.
Should be created SetValue methods.
The methods GetPixelsByDpi
and GetPixelsByPpm
from LengthSize
should receive float values but receive decimal values.
Should be developed a basic multilocker, based on:
_lock |= 1, _lock |= 2, _lock |= 4
..._lock &= ~1, _lock &= ~2, _lock &= ~4
...(_lock & 1) == 1, (_lock & 2) == 2, (_lock & 4) == 4
...What steps will reproduce the problem?
What is the expected output?
Remove all text like a normal TextBox.
What do you see instead?
Is needed the use of delete key or selected all text and replace.
The core library should give a swap methods, like bellow:
void Swap<T>(ref T var1, ref T var2)
{
T temp = var1;
var1 = var2;
var2 = temp;
}
void Swap(ref object var1, ref object var2)
{
object temp = var1;
var1 = var2;
var2 = temp;
}
This method, to trim memory usage from current process, should be release
on next library release:
void TrimCurrentMemoryUsage()
{
IntPtr hProcess = System.Diagnostics.Process.GetCurrentProcess().Handle;
SetProcessWorkingSetSize(hProcess, new IntPtr(-1), new IntPtr(-1));
}
[DllImport("Kernel32.dll")]
static extern bool SetProcessWorkingSetSize(IntPtr hProcess, IntPtr dwMinimumWorkingSetSize, IntPtr dwMaximumWorkingSetSize);
The class EnumClass should override methods inherited from Object as ToString and GetHashCode.
Should be developed a ConfigFileSerializer class that works as
XmlSerializer class.
Implement a Swush-like reader.
http://swush.firefang.net/what-is-swush/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.