adb and new learnings

April 19, 2017 Leave a comment

chrome://inspect/#devices -> find the usb devices via browser.

adb doesn’t support under Windows 10 bash. This is due to usb support not available.

As work around for myself had to retrieve for windows version. Here are few commands to remember.

adb start-server.

adb install -r <apk filename> -> install a package to device

adb logcat -c -> this clears the logs.
adb logcat >log.txt -> this writes logs.

adb connect ip_address:port -> connects to remote device

 

Advertisements

Linq vs Foreach

March 28, 2017 Leave a comment

What could be best approach Linq vs Foreach ?

string[] words = { “summer”, “winter”, “spring”, “autumn” };
//Iterate through the words[]
foreach(string s in words)
{
if (s.Contains(“autumn”))
Console.WriteLine(s);
}

// Linq on words
var shortWords =
from word in words
where word.Contains(“autumn”)
select word;

// Print word out
shortWords.Dump();

 

Categories: Uncategorized

schoolin’ with Image Magick

December 13, 2015 Leave a comment

I have been playing around with Image Magick

A handy tool to have for quick image conversion! A well written and awesome program.

for instance making gif from series of images: (ball* the images ball00 ,ball01 etc)

convert   -delay 20   -loop 0   ball*.gif   ballmoving.gif

Details: http://www.imagemagick.org/Usage/color_mods/

Categories: Uncategorized

SED Mirrorlist

October 5, 2015 Leave a comment

sed ‘s/^#//’ /etc/pacman.d/mirrorlist >> /etc/pacman.d/mirrorlist02

for more “SED help” below is a good link:

http://www.theunixschool.com/2014/08/sed-examples-remove-delete-chars-from-line-file.html

Categories: Uncategorized

Mouting Windows phone in Linux

September 29, 2015 Leave a comment

I will be writing the steps so far taken to mount Windows phone to linux machine:

  • lsusb
  • blkid
  • udevadm monitor

The final outcome and failed status will be [between 22:00-23:00 GMT]

Status: failed got stuck after hard hit from flu ;

little obsc:

package-query: Flagged out-of-date (2015-08-21)

Categories: Uncategorized

I like Aria2

September 14, 2015 Leave a comment

Playing with Aria2 for today, wget is away from use.

https://wiki.archlinux.org/index.php/aria2

! Goodday 🙂

Categories: Uncategorized

Schooling with Arch Linux

December 29, 2014 Leave a comment

I decided to get rid of old stuff’s in chirstmas holidays.
What better way to start by removing old things from PC.
Initially removed XP and Fedora. Yeah I gave up on FC 10.
It was just not that playful anymore.
It didn’t took while to decide as being frequent user of Debian & FreeBSD in my past life.
I took no chance grab a copy of Arch and decided it to be my weapon of choice.
Still exploring it, combating with Xorg thinges. Xfce (StartX) has kept me awake last night.
As long as I see shell and command line. It’s fine I still need to explore more terrain in Arch.
Wish you everyone a Happy New Year. Let’s make things better and fun around!

Updates: Missing things were XOrg was not set up correctly. Due to that the XFCE4 was refusing to start. Few other hardware issue’s are still in problematic situation. E.G Wireless / Network control needs to be setup properly.

Categories: Uncategorized