Jump to content

Helibert

Member
  • Posts

    53
  • Joined

  • Last visited

Reputation Activity

  1. Informative
    Helibert got a reaction from Kilage in How do I set a batch file .txt output save location   
    @echo off dir /b /s Movies\*.* > list1.txt for /f "tokens=*" %%A in (list1.txt) do echo %%~nxA >> movieslist.txt del list1.txt instead of changing the path just use the path in the dir command itself. 
    First line creates a temporary list.txt with all files with full path recursively in the specified path .
    Second line does a for loop over every entry an only prints the filename instead of the full path
    third line deletes the temporary file
  2. Like
    Helibert got a reaction from Squilliam in Using 6000 CPU Cores for SCIENCE - HOLY S#!T   
    1.5 months earlier on fp ... now THAT is Early Access
  3. Agree
    Helibert got a reaction from Tamesh16 in Using 6000 CPU Cores for SCIENCE - HOLY S#!T   
    1.5 months earlier on fp ... now THAT is Early Access
  4. Agree
    Helibert got a reaction from 8uhbbhu8 in Using 6000 CPU Cores for SCIENCE - HOLY S#!T   
    1.5 months earlier on fp ... now THAT is Early Access
  5. Agree
    Helibert got a reaction from Franck in A free network monitor?   
    if you are using win10
    https://windows10gadgets.pro/network/networkmonitorii/networkmonitorii.html
  6. Informative
    Helibert got a reaction from Habby in Need some help with R   
    a <- seq(1,10,1) b <- rep(c("protein","somethingelse"),5) lala <- matrix(nrow=10,ncol=2,data=c(a,b),byrow=FALSE) lala[which(lala[,2]=="protein"),] lala[which(lala[,2]=="protein"),][,1] The only line interesting are the last two.
    with which you find the rows that only have protein in column 2 and then using that to retrieve only the first column in the last line for only the data
    edit: Using subset
    subset(lala, lala[,2] == "protein") for only data column use: subset(lala, lala[,2] == "protein")[,1] change lala to your dataobject name
  7. Informative
    Helibert got a reaction from minibois in Javascript puzzle   
    so arr[1] gives back 2 -->  this value is inserted into the second arr[] so it selects the 3 position of the original array which is the 3 and you override it with 5
  8. Informative
    Helibert got a reaction from SgtBot in Javascript puzzle   
    so arr[1] gives back 2 -->  this value is inserted into the second arr[] so it selects the 3 position of the original array which is the 3 and you override it with 5
×