GithubHelp home page GithubHelp logo

agile-ir's People

Contributors

hupili avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

agile-ir's Issues

lightweight single machine parallel

traces from my demo to one student

$history | tail -n 20
  583  vi t.sh
  584  ls
  585  ./t.sh 1
  586  ./t.sh 2
  587  vim cmd
  588  ls
  589  cat t.sh
  590  ./t.sh 3
  591  ls
  592  vim cmd
  593  cat cmd | xargs -P3 -i bash -c "{}"
  594  cat cmd | xargs -P2 -i bash -c "{}"
  595  ls
  596  cat t.sh | xargs -P2 -i bash -c "{}"
  597  cat t.sh | xargs -P2 -i bash -c "{}"
  598  cat t.sh
  599  cat t.sh
  600  l
  601  ls
  602  history | tail -n 20

$cat cmd
./t.sh 1
./t.sh 2
./t.sh 3
./t.sh 4
./t.sh 7
./t.sh 10
(venv)hpl011@lx1 ...ta/grad/hpl011/test/paral
$cat c.sh
#!/bin/bash

nohup ./t.sh &
nohup ./t.sh &
nohup ./t.sh &
(venv)hpl011@lx1 ...ta/grad/hpl011/test/paral
$cat t.sh
#!/bin/bash

sleep 3
#echo "done" >> msg
echo "done $1"
(venv)hpl011@lx1 ...ta/grad/hpl011/test/paral
$ 

How to chop the beginning several bytes of a file?

asked by a friend this morning.

dd skip=xxxx can do.

We usually deal with text files. sed is a descent tool to get a line based range of content.

dd is a descent tool to get a byte-based range of content. skip, seek, bs, count, can be combined to achieve the goal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.