Skip to content

Instantly share code, notes, and snippets.

View l4km47's full-sized avatar
🏠
Working from home

Lakmal l4km47

🏠
Working from home
View GitHub Profile
@l4km47
l4km47 / README.md
Created June 19, 2017 19:06 — forked from lopspower/README.md
How to Analyze & Manage Memory on Android Like a Boss

Analyze & Manage Memory on Android Like a Boss

This Blog is all about memory management in Android. It provides information about how you can analyze & reduce memory usage while developing an Android app.

Memory management is a complex field of computer science and there are many techniques being developed to make it more efficient. This guide is designed to introduce you to some of the basic memory management issues that programmers face.

Memory Management in Android

Android is a Linux based operating system. It uses native open source C libraries which power Linux machines. All the basic operating system operations like I/O, memory management and so on are handled by the Linux kernel. Like Java and .NET, Android uses its own run time and virtual machine to manage application memory. Unlike either of these frameworks, the Android run time also manages the lifetime processes. Each Android application runs in a separate process within its own Dalvik instance, relinquishing all responsibility for memo

@l4km47
l4km47 / README.md
Created June 19, 2017 19:34 — forked from lopspower/README.md
All Android Directory Path

All Android Directory Path

Twitter

1) System directories

⚠️ We can't write to these folers

Method Result
@l4km47
l4km47 / ConsoleProgressBar.cs
Created February 16, 2018 09:27 — forked from pigeonhands/ConsoleProgressBar.cs
Progress bar for c# console applications displayed at the bottom of the terminal.
using System;
using System.IO;
using System.Text;
/// <summary>
/// Console progressbar
/// </summary>
public class ConsoleProgressBar : IDisposable {
public float CurrentProgress => writer.CurrentProgress;
@l4km47
l4km47 / gist:635b3e86086df87477eefea3ee65f976
Created December 15, 2018 16:16 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
How to install windows on digital ocean,
use this tutorial :
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean
or if you want to create own image :
https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/
this image .gz mirror got from whatuptime :
try first if it working>>
[Microsoft Windows Server 2012]