import – Difficultly importing GeoTiff format

I downloaded Earth data from here. It is a GeoTiff file, which is a map of solar radiation falling on earth.

enter image description here

Mathematica claims to import GeoTiff files. However, when I import,

files = FileNames["*", "./diffuse/"][[1]]
diffuse = Import[files, {"GeoTIFF", "Image"}]

The output is an error:

LinkObject::linkd: Unable to communicate with closed link LinkObject['/Applications/',6300,8].
Import::fmterr: Cannot import data as GeoTIFF format.

I can get the file to open using other GeoTiff programs such as QCIS. So it does seem to be a Mathematica issue. Any ideas? It is an error which I have not encountered before.

google sheets – How to change cell format on ImportHTML Function

I’ve used the ImportHTML function to scrape play-by-play information from Basketball Reference.

I am using a Vlookup to create a rating system based on time, point different, and several other factors.

I realized the TIME vlookup isn’t reading correctly, but the formula is exactly how it should be (I’ve tested it, and it works fine when I type in the info manually). It only doesn’t work on the time that is coming from my ImportHTML.

I can’t get the format to match – I’ve tried every format option on both my vlookup & the data, and tried forcing it with the TEXT function (might of not done that correctly).

I’m at an absolute stand-still at this point — has anyone experienced anything similar?

Other ways to force a format change on imported data? or another way to correctly pull the values from a range of times? I’ve tried the Lookup function as well.

For Reference:


upper lower bounds


search for keywords and put the values in column format using linux shell

i have set of lines in my files with some search key words and values along with that i want to pull those keywords in tabular format under each key word

name=anne rollno=1 class=10 subject=english asdfjsldjf
name=smith rollno=120 class=3 subject=math sdjfs;l
sfjd;las aljd;s iojl
name=master rollno=28 class=7 subject=social adksj;lf
name=slave rollno=12 class=9 subject=science asdfloilsd

anne 1 english
smith 120 math
master 28 social
slave 12 science

sorry i didnt try any thing

Google Sheets script Filter copy and paste with format

I am looking for help to create a filter on a Google Sheets Script.
I want the following:
• I have a database Schedule which has table with information that I want to filter
• Once the database A is updated I want to filter Colum b row 8 and only take the cells that have information and are filled with words, numbers, etc.
• After that I want to copy the data filtered and paste on a new Sheet Data “Foreman on specific columns
• Also I want to copy and paste the format such as color, size, etc.
• I have the following code which it does the partial job but I cannot figure it out to only get the specific data needed

function Foreman(){
var ss = SpreadsheetApp.getActiveSpreadsheet();
var scheduleCCC_sheet = ss.getSheetByName(“Schedule”);
var Foreman_sheet = ss.getSheetByName(“Foreman”);
var pasteforemans = Foreman_sheet.getRange(8,2);
var originalData = scheduleCCC_sheet.getRange(9,2,scheduleCCC_sheet.getLastRow()1,11).getValues();
var filter1 =””;
var data = originalData.filter(filterlogic);



var filterlogic = function(item){
if(item(1) == “”){
return false;
}else {
return true;

c# – How to properly format classes for JSON deserialization with for Unity?

I am creating an inventory system and decided to keep a master list of all the items. The goal is to use to parse the item list and populate the database of items. The JSON item list looks like:


        "Consumables": {
            "0" : {
                "ID" : "TP_Small",
                "Icon" : "Sprites/porridge.png",
                "Name" : "Small Tan Pill's Porridge",
                "Consumable" : true,
                "Cooldown": 0,
                "Duration": 3,
                "Effect Description" : "Restores 100 health.",
                "Description" : "A hearty drinkable meal from everyone's favorite hypercellulose gelatin timelord!!!",
                "SFX": "{eb4e9ad8-c6ac-414f-8d5e-c3d012ca6ae6}",
                "Bonuses" : {
                    "HP": 100,
                    "Stamina": 100,
                    "Tolerance": 20,
                    "Attack": 4


        "Equipment": {

        "Abilities" : {


And this is the structure of the classes we are using to match the JSON:

    public class Items
        public List<ItemCategory> type { get; set; }

    public class ItemCategory
        public List<ItemBase> id { get; set; }

    public class ItemBase
        string ID { get; set; }
        string Icon { get; set; }
        string Name { get; set; }
        bool Consumable { get; set; }
        int Cooldown { get; set; }
        int Duration { get; set; }
        string EffectDescription { get; set; }
        string Description { get; set; }
        string SFX { get; set; }
        StatBonus Bonuses { get; set; }

    public class StatBonus
        int HP { get; set; }
        int Stamina { get; set; }
        int Tolerance { get; set; }
        int Attack { get; set; }

However, when I use the debugger, it seems everything but the root class is null and the root class’s value is the “InventoryItems+items”, with InventoryItems being the name of the file.

How can I access an item by it’s number in the list? So items -> Consumables -> 0 and that element’s fields

The deserialization code:

TextAsset json = Resources.Load<TextAsset>("itemList");

        itemList = new Items();

        itemList = JsonConvert.DeserializeObject<Items>(json.text);

        foreach(ItemCategory cat in itemList.type)
            foreach(ItemBase b in

passwords – “john –format=md5” caused “Unknown ciphertext format name requested” error

Linux unshadow file

wolf@linux:~$ cat md5hash.txt 

md5hash only

wolf@linux:~$ cat md5hash_only.txt 

Since I know that these are md5 format, I used --format=md5 option in john.

Unfortunately, I’m getting Unknown ciphertext format name requested error.

wolf@linux:~$ john --format=md5 md5hash.txt 
Unknown ciphertext format name requested

wolf@linux:~$ john --format=md5 md5hash_only.txt 
Unknown ciphertext format name requested

I’ve verified that the format is similar with pentestmonkey cheat-sheet

Any idea what’s wrong here?

8 – Programmatically set the format for each value of a multi-value text field

I am trying to programmatically set the format of a multi value text field to ‘full_html’.

I have tried:

$Links = array (1, 2, 3, 4, 5);

$node->field_article_links() = $Links;
$node->field_article_links->format = 'full_html';


$Links = array (1, 2, 3, 4, 5);

foreach ($Links as $Link) {
$node->set('field_article_links', $Link);
$node->field_article_links->format = 'full_html';

But the results are always the same, only the format of the first value of the field is set to ‘full_html’ and the others remain unchanged.

node edit

What am i doing wrong ?

active directory – Domain creation: Invalid name format

We are attempting to create a tree domain in our network. When creating the domain we are getting the error listed below. We’ve double checked the naming to make sure it does not include any special characters. If we change the “.edu” to anything else, such as “.local” it progresses without the error, but we really need to use the original domain name. I’ve also listed the powershell script used to run the domain promotion below the error message:

Install-ADDSDomain : Verification of prerequisites for Domain Controller promotion failed. The domain >DNS name “” has an invalid format.
DNS names can contain letters, numbers, and hyphens, but not spaces. Periods are used to separate domain >labels, which can be no longer than 63 bytes. The top-level domain name must contain
at least one non-numeric character.
Characters that are not allowed include: ! ” # $ & ( ) * + , ‘ / : ; < = > ? @ ( ) ^ { | } ~
At line:2 char:1
+ Install-ADDSDomain

+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) (Install-ADDSDomain), TestFailedException
+ FullyQualifiedErrorId : >Test.VerifyDcPromoCore.DCPromo.General.48,Microsoft.DirectoryServices.Deployment.PowerShell.Commands.Ins>tallADDSDomainCommand

Import-Module ADDSDeployment
Install-ADDSDomain `
-NoGlobalCatalog:$false `
-CreateDnsDelegation:$false `
-Credential (Get-Credential) `
-DatabasePath "C:WindowsNTDS" `
-DomainMode "Win2012R2" `
-DomainType "TreeDomain" `
-InstallDns:$true `
-LogPath "C:WindowsNTDS" `
-NewDomainName "" `
-NewDomainNetbiosName "PENNCO" `
-ParentDomainName "" `
-NoRebootOnCompletion:$false `
-SiteName "Penncodomian" `
-SysvolPath "C:WindowsSYSVOL" `