NOVELTY - The method involves providing a power source (8) that is operatively connected to a computerized control panel (60) by a power source electrical unit, and adding a waste material that is an element selected from a group consisting of bio-medical waste, used tires, landfill waste, slaughterhouse waste, municipal waste, low grade nuclear waste and automobile junkyards. A movable hydraulic shield (11) is located behind a hot head device. A movable resin roof bolting machine (10) is located behind the movable hydraulic shield.    USE - Method for recovering gas from a subterranean formation from an underground coal seam and an underground shale deposit (all claimed) using a mining equipment for a commercial enterprise application. Uses include but are not limited to extendable pipe, drill head, extrusion unit, connection device, electrical unit, electrical cable and wire, roof bolt, hydraulic shield, resin roof bolting machine and maintenance equipment for homebuilding, commercial building construction, farmland, nuclear power plant, wind farm and solar energy plant.    ADVANTAGE - The method enables performing long-wall mining operation in a direction toward a mine shaft, so that the amount of air needed to ventilate a working space is reduced, thus allowing mining personnel to be closer to the mine shaft as work progresses, and hence maintaining a safe working space for the miners along a face of a long-wall panel.    DETAILED DESCRIPTION - The power source activates the hot head device that vaporizes subsurface formation to obtain gas to be recovered, and is operatively connected to the hot head device by a drill pipe. The hot-head device is an element selected from a group consisting of plasma torch, electro-chemical apparatus, hydrogenating solvent and heated ceramic particle. An INDEPENDENT CLAIM is also included for an apparatus for recovering gas from a subterranean formation.    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic view illustrating underground coal mining operation and filling of mined out section of a coal seam with waste material by an extrusion unit in robotic fashion.    Power source (8)    Movable resin roof bolting machine (10)    Movable hydraulic shield (11)    Hollow drill shaft (13)    Computerized control panel (60)