Export from Bitcoin — import to Bitcoin Cash

You are likely importing it as a legacy address, since Bitcoin Cash does not support segwit scripts.

In this scenario, you cannot actually recover the coins yourself. Since segwit isn’t activated on the Bitcoin Cash chain, the coins are essentially anyone-can-spend – if you try and build a transaction yourself to move them, other parties on the network will notice that they can be spent by anyone, and there will likely be a few malicious ones who will attempt to take the coins for themselves.

Your best bet, if the value is significant, is to reach out directly to Bitcoin Cash mining pools and ask them to include a transaction directly in a block, without broadcasting it first. You should be able to provide them with the public key, which is sufficient to build the transaction required to move the coins.

java – Export Hero information and list of his items to excel sheet/csv

I created simple export tool for my project. My requirments was to create one csv file for details of my hero which contains name, level, gold etc. And second file for list of items.
Both of files contains static header and generated Data.

First, let me share my model classes:

public class Hero {
    private String name;
    private int level;
    private List<Item> items = new ArrayList();
    private String className;
    private BigDecimal gold;

//getters setters constructors

public class Item {

    private int id;
    private String name;
    private double weight;
//getters setters constructors

public class Weapon extends Item {

    private int dmg;
    private int level;
//getters setters constructors

public class Food extends Item {

    private int capacity;
    private int hpRegen;
//getters setters constructors

I wont share real classes, because they are a little too big, so I have prepared sample classes.

And here we go with example ‘exporter’. This class has two public methods which return CSVWriter which we can use to save data to file.

public class HeroWriter {

    private Hero hero;
    private final static String() HERO_INFO_HEADER = {
    private final static String() ITEM_LIST_HEADER = {
            "required level",
    public HeroWriter(Hero hero) {
        this.hero = hero;
    public CSVWriter writeHeroInformation() {
        CSVWriter writer = new CSVWriter(null);
        String() heroInformation = {
                "Mocked Server",
                new Date().toString(),
        return writer;
    public CSVWriter writeItemList() {
        CSVWriter writer = new CSVWriter(null);
        for (Item item : hero.getItems()) {
            if(item instanceof Weapon) {
                Weapon weapon = (Weapon) item;
                String() weaponDetail = {
                        weapon.getId() + "",
                        weapon.getWeight() + "",
                        weapon.getDmg() + "",
                        weapon.getLevel() + "",
            } else if (item instanceof Food) {
                Food food = (Food) item;
                String() foodDetail = {
                        food.getId() + "",
                        food.getWeight() + "",
                        food.getHpRegen() + "",
                        food.getCapacity() + ""
        return writer;

I would like to as you to review HeroWriter class, because I have problem with OOP and would like to improve in this aspect.

I was thinking that maybe I could create Exportable interface which contains method like String() export(); and I would implement it in Hero/Weapon/Item class that would help me remove instanceof part of code. But I am not sure if it is good idea.

Another EMF files damaged during PDF export in Microsoft Word

I have some Word to PDF export issues related to *.emf images. I read this discussion, directly related to my problem:

EMF files damaged during PDF export in Microsoft Word

This is the deepest post about this topic, apparently.

I have a similar issue with my phD document, since I use OriginLab objects inserted in a PowerPoint doc, that I export as *.emf files. Save as PDF and Print file as PDF (Adobe and PrimoPDF) works properly for images (Save As *.emf) but A LOT of several issues prevent me for using this method; issues like not updating page number (classified with Word sections, it’s a mess), crossed-references, etc. The only way to get a high difelity PDF file is to use the built-in module to export the document as PDF, but *.emf images get a serious quality loss + text boxes within disappear (as they are usually objects and text boxes grouped in a single *.emf image, Built-in *.emf). *.wmf file export from PPT does not work, somehow objects are not shown and only a blank square with text is obtained (Inkscape *.wmf), so I cannot replace *.emf’s with *.wmf’s. The same occurs when trying to convert *.emf to *.wmf through Inkscape. Any ideas? Since these are too many figures, open one by one in Origin and export it as *.wmf is not my first option.

Office 365,
Adobe Acrobat DC,
Win 10 Home 64 bits up-to-date (2004).

Google Authenticator: How long are export codes valid?

Google authenticator recently added the option to export all 2FA codes.

Is the QR code the app provides valid forever or does it expire?

8 – Change data export download link label

The download button is actually rendered from a twig template found at /views_data_export/templates/export-icon.html.twig. This means that you can override it in your theme by copying that file to /themes/YOUR_THEME/templates/export-icon.html.twig and modifying it to what you need.

You can of course put that twig file into any subdir of /templates/ that makes sense to you – e.g. /templates/views_data_export/export-icon.html.twig will work as well.

Export NMinimize solution results to Excel

I want to export the NMinimize solution result to Excel. The result is similar to {goal,{a1->Va1,a2->Va2,…….}}. The format of the result exported to Excel I want s to be:


1 Va1

2 Va2


performance – fastest way tto export speed to csv in my Webscrapping code python

below is my code in which i am writing row by row (there are around 900 pages with 10 rows and 5 data in each row) is there any way to make this faster. currently it’s taking 80 min to export the data into csv

import requests
from urllib3.exceptions import InsecureRequestWarning
import csv

from bs4 import BeautifulSoup as bs

f = csv.writer(open('GEM.csv', 'w', newline=''))
f.writerow(('Bidnumber', 'Items', 'Quantitiy', 'Department', 'Enddate'))

def scrap_bid_data():
    page_no = 1
    while page_no < 910:
        print('Hold on creating URL to fetch data...')
        url = 'https://bidplus.gem.gov.in/bidlists?bidlists&page_no=' + str(page_no)
        print('URL created: ' + url)
        scraped_data = requests.get(url, verify=False)
        soup_data = bs(scraped_data.text, 'lxml')
        extracted_data = soup_data.find('div', {'id': 'pagi_content'})
        if len(extracted_data) == 0:
            for idx in range(len(extracted_data)):
                if (idx % 2 == 1):
                    bid_data = extracted_data.contents(idx).text.strip().split('n')

                    bidno = bid_data(0).split(":")(-1)
                    items = bid_data(5).split(":")(-1)
                    qnty = int(bid_data(6).split(':')(1).strip())
                    dept = (bid_data(10) + bid_data(12).strip()).split(":")(-1)
                    edate = bid_data(17).split("End Date:")(-1)
                    f.writerow((bidno, items, qnty, dept, edate))


c# – How to export code from Unity in form of dlls?

I have a Unity project (2019.2.17f1) where I have more than 30 assembly definitions inside the asset folder, I would like to export them as dlls for use in other projects and maybe for the asset store.

However, I can’t find a way to do that.

Previously I had all my code in a Visual Studio Solution outside Unity, but references with UnityEngine dlls always were buggy and caused a lot of time lost to fix them every time. Also the debugging experience was null. By migrating those project to assembly definitions inside Unity I managed to fix those problems, however, this created a new one.

I need a way to export my code in form of dlls (with their xml documentation if possible), both in Debug + UNITY_EDITOR flag, and in Release without UNITY_EDITOR.

How can I archive this?

How to export a sharepoint recycle bin to excel file, please let me know in step by step

I’m trying to search a specific file from a sharepoint recycle bin but I’m unable to find it. Can anyone please help me in that

migration – Import / Export of large entity into a different Database instance

I have an application that deals with basically one big, not too complex, entity. It has a bunch of properties, several 1-1 relationships and a lot of lists of child entities (1-N) which are ~95% flat.

There is a requirement to export this entity from one installation and its underlying database to a different installation and its underlying database.

We have implemented it by serializing the entity as json, then deserializing it when importing. Here is where it gets… finicky.

The entity has a lot of foreign keys and references, and these keys are gonna be different in the destination database. So we ended up having to remove the ids from all entities. But now everything just gets newly added, duplicates get created…

So if we had an address for example, we cant just add it, because it could already exist. So suddenly every entity also needs an equality comparer based on values of all fields aside from Ids…

Because i assume this requirement will keep coming up, i tried to take stock of our solution and see what we could watch out for next time. But i really do not know. I dont see any way around those referential integrity problems.

Are there any known solutions or patterns? Im not talking about a big one time legacy migration. It’s the same application with the same db schema, but its still causes a solid amount of headaches. We are using EF Core, but i dont think the problem is very ef specific.