How to get data out of a mib file with sharpsnmp? - compilation

I can't figure out how to parse mib files with sharpsnmp, could someone point me to a resource?

The official way of doing so is via SharpSnmpPro.Mib, which is a commercial product,
https://sharpsnmplib.codeplex.com/wikipage?title=SharpSnmpPro.Mib

Related

How to download genetic/SNP data from UK Biobank

For an approved research project, how to download the genetic/SNP data? The tabular data (demographics and clinical) has already been downloaded successfully, but the documentation does not really show how to download the corresponding SNP data. Any directions will be greatly appreciated.
You can check the documentation regarding that from the UKB in the questions 10-15 in the FAQ on that link to I think explain the process: (https://www.ukbiobank.ac.uk/media/cffi4mx5/ukb-genotyping-and-imputation-data-release-faq-v3-2-1.pdf)
In the table in the site below, I see some SNP data is available from UKB directly. I guess it depends what SNP data they are after: https://biobank.ctsu.ox.ac.uk/crystal/crystal/docs/ukbgene_instruct.html
I hope it helps to start!
It turned out to be well-documented here. Using gfetch, genotype data can be downloaded in PLINK binary format (.bed). Then it can be imported into R using packages such as genio and BEDMatrix.

Data in Mbox to JSON or CSV?

I just downloaded all my Gmail with the new download functionality from Google, and it gives me a large .mbox file. What would be a basic shell of a script to start extracting and processing individual emails from the file?
The book "Mining the Social Web" (O'Reilly, 2nd ed.) by Matthew Russell gives some code for doing this in Python. His code is all on github. You will want the files prefixed with 'mailbox'. https://github.com/ptwobrussell/Mining-the-Social-Web/tree/master/python_code
Check out this GitHub repo - https://github.com/PS1607/mbox-to-json
Also extracts the Attachments for you.
If you want to convert it into CSV instead, change line 55 in src/main.py from df.to_json to df.to_csv

How to decode this png file?

Can anyone please help on how to open this png file: https://dl.dropboxusercontent.com/u/23248082/TEST.PNG
Also it would be great if you can tell me how it is enrcrypted or why its not opening.
It opens fine only with Meditech client. It seems Meditech is encrypting in someway.
I tried with different viewers and also tried converting it into differen format but so far no luck.
Iam also a newbie in this area. Any help would be highly appreciated.
Thanks..
Looking at it with tweakpng it seems the format is deliberately corrupted for proprietary use. There's a wrong CRC for the palette (correcting it does no good) and an invalid chunk count.
If your Meditech is the EHR (Electronic Health Record) system then you will only be able to accurately view the image by accessing it from the system. All data is encrypted for the purpose of restricting access to patient records.

Is there any tool to generate a labels.rdf file?

Examining the 404 errors for my website I noticed requests for a "labels.rdf" file. After some digging I think I understand what it is and want to create one for my website. But I don't really understand how to generate it. Is there any tool or a generic file that I can use?
Thanks
RDF is not just one format, but a collection - most likely it's expecting RDF/XML.
IMHO the esiest thing to do is create the data you need in a format called Turtle (http://www.w3.org/TeamSubmission/turtle/) - there's lots of tutorials online, then convert it to RDF/XML with a tool, such as rapper (http://librdf.org/raptor/).
You will need to know a bit about the RDF data model though, and what the labels.rdf file is trying to express.

Parsing external torrent informations

I'm build a a BitTorrent tracker with CodeIgniter, and i'm use Torrent RW class for parsing .torrent files (info hash, read/write tracker url, etc.).
I would like to run external torrents, and i need help: how to parse external torrent stats -> seeders-, leechers number.
Please, help me, and sorry for my bad english.
Thanks!
Save yourself the time and use an existing open php torrent tracker (or better yet, convert it over to CodeIgniter and open source it to contribute back!).
RivetTracker
PHPBTTracker+
TBDEV.net
Most are based on the original PHPBTTracker by DeHackEd.
My recommendation would be to look up the PHP required to do this and then think about implementing it in Codeigniter.
The Torrent RW class will read the torrent but you will need to somehow connect to the torrent and its seeds and leechers in order to get this information.
Check out:
http://sourceforge.net/projects/tbdevnet/

Resources