Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'sh'

1920798 - find space wasters: sh maemo dpkg n900
  1. #!/bin/sh
  2.  
  3. files=$(find / -size +100k -xdev | xargs dpkg -S)
  4. IFS='
  5. '
  6.  
  7. for n in $files ; do
  8.         pkg=$(echo $n | cut -d: -f1)
  9.  
893571 - stonie: sh slavehack stonie
  1.       ___                         ___           ___                       ___     
  2.      /\__\                       /\  \         /\  \                     /\__\   
  3.     /:/ _/_         ___         /::\  \        \:\  \       ___         /:/ _/_   
  4.    /:/ /\  \       /\__\       /:/\:\  \        \:\  \     /\__\       /:/ /\__\ 
  5.   /:/ /::\  \     /:/  /      /:/  \:\  \   _____\:\  \   /:/__/      /:/ /:/ _/_
  6.  /:/_/:/\:\__\   /:/__/      /:/__/ \:\__\ /::::::::\__\ /::\  \     /:/_/:/ /\__\
  7.  \:\/:/ /:/  /  /::\  \      \:\  \ /:/  / \:\——\——\/__/ \/\:\  \__  \:\/:/ /:/  /
  8.   \::/ /:/  /  /:/\:\  \      \:\  /:/  /   \:\  \        ¯¯\:\/\__\  \::/_/:/  /
  9.  
886634 - stonie: sh slavehack stonie
  1.       ___                         ___           ___                       ___     
  2.      /\__\                       /\  \         /\  \                     /\__\   
  3.     /:/ _/_         ___         /::\  \        \:\  \       ___         /:/ _/_   
  4.    /:/ /\  \       /\__\       /:/\:\  \        \:\  \     /\__\       /:/ /\__\ 
  5.   /:/ /::\  \     /:/  /      /:/  \:\  \   _____\:\  \   /:/__/      /:/ /:/ _/_
  6.  /:/_/:/\:\__\   /:/__/      /:/__/ \:\__\ /::::::::\__\ /::\  \     /:/_/:/ /\__\
  7.  \:\/:/ /:/  /  /::\  \      \:\  \ /:/  / \:\——\——\/__/ \/\:\  \__  \:\/:/ /:/  /
  8.   \::/ /:/  /  /:/\:\  \      \:\  /:/  /   \:\  \        ¯¯\:\/\__\  \::/_/:/  /
  9.  
886628 - stonie: sh slavehack stonie
  1.       ___                         ___           ___                       ___     
  2.      /\__\                       /\  \         /\  \                     /\__\   
  3.     /:/ _/_         ___         /::\  \        \:\  \       ___         /:/ _/_   
  4.    /:/ /\  \       /\__\       /:/\:\  \        \:\  \     /\__\       /:/ /\__\ 
  5.   /:/ /::\  \     /:/  /      /:/  \:\  \   _____\:\  \   /:/__/      /:/ /:/ _/_
  6.  /:/_/:/\:\__\   /:/__/      /:/__/ \:\__\ /::::::::\__\ /::\  \     /:/_/:/ /\__\
  7.  \:\/:/ /:/  /  /::\  \      \:\  \ /:/  / \:\--\--\/__/ \/\:\  \__  \:\/:/ /:/  /
  8.   \::/ /:/  /  /:/\:\  \      \:\  /:/  /   \:\  \        ¯¯\:\/\__\  \::/_/:/  /
  9.  
815719 - shell scopes sh shell bash loop while
preview unavailable
687085 - shELLit: sh bash stdout
  1. 0[15:42:54]toto:~$ ps axuww | tee /dev/stdout | ( head -n 1 && grep httpd )
  2. USER      PID %CPU %MEM   VSZ    RSS TT  STAT STARTED      TIME COMMAND
  3. www      5069  0.0  0.5  3756   1840 ??  I    12:00AM   0:00.01 /usr/pkg/sbin/httpd -k start
  4. www      5483  0.0  0.5  3756   1840 ??  I    12:00AM   0:00.00 /usr/pkg/sbin/httpd -k start
599030 - Slavehack Easy Slaves: sh slavehack slave hack slaves isenart
  1. // ==UserScript==
  2. // @name            Slavehack Easy Slaves
  3. // @namespace       SlavehackEasySlaves
  4. // @Description     Simply highlights the slaves that aren't working. Created by Isenart
  5. // @include         http://www.slavehack.com/index2.php?page=slaves
  6. function do_platypus_script() {
  7. do_modify_html_it(window.document,document.evaluate('/HTML[1]/BODY[1]/TABLE[1]/TBODY[1]/TR[1]/TD[3]/TABLE[1]/TBODY[1]/TR[1]/TD[1]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,/No task assigned/g,'<font size="4" color="#FF0000">No task assigned</font>',null);
  8. }; // Ends do_platypus_script
  9.