Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
Starting firewalling system:/etc/init.d/iptables (5521): POL=DROP IOF ! /etc/init.d/iptables (5521): ip_tables is already loaded /etc/init.d/iptables (5521): nf_conntrack is already loaded /etc/init.d/iptables (5521): nf_conntrack_ftp is already loaded /etc/init.d/iptables (5521): nf_conntrack_irc is already loaded /etc/init.d/iptables (5521): iptable_nat is already loaded /etc/init.d/iptables (5521): nf_nat_ftp is already loaded /etc/init.d/iptables (5521): nf_nat_irc is already loaded /etc/init.d/iptables (5521): iptable_filter is already loaded
...
-
1 2 3 4 5 6 7 8 9
IFS=$OLDIFS; if [[ -e $RULES ]]; then # {(!)in|(!)out|(!)fwd},iface,proto,scidr,sport,dcidr,dport,state while IFS=, read policy iface proto scidr sport dcidr dport state;do c="0"; case $policy in !in) pol="INPUT -i"; jmp="DROP"; ;; !out) pol="OUTPUT -o"; jmp="DROP"; ;;
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash echo "Co wybierasz?" select y in X Y Z Quit do case $y in "X") echo "Wybrałeś X" ;; "Y") echo "Wybrałeś Y" ;; "Z") echo "Wybrałeś Z" ;; "Quit") exit ;;
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash echo "Co wybierasz?" select y in X Y Z Quit do case $y in "X") echo "Wybrałeś X" ;; "Y") echo "Wybrałeś Y" ;; "Z") echo "Wybrałeś Z" ;; "Quit") exit ;;
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash echo "Co wybierasz?" select y in X Y Z Quit do case $y in "X") echo "Wybrałeś X" ;; "Y") echo "Wybrałeś Y" ;; "Z") echo "Wybrałeś Z" ;; "Quit") exit ;;
...
-
1 2 3 4 5
#!/bin/bash for x in *html do echo "To jest plik $x" done
-
1 2 3 4 5 6 7 8 9
#!/bin/bash echo "Podaj cyfrę dnia tygodnia" read d case "$d" in "1") echo "Poniedziałek" ;; "2") echo "Wtorek" ;; "3") echo "Środa" ;; "4") echo "Czwartek" ;; "5") echo "Piątek" ;;
...
-
1 2 3 4 5
#!/bin/bash tablica=(element1 element2 element3) echo ${tablica[*]}
-
1 2 3 4 5 6 7
#!/bin/bash tablica=(element1 element2 element3) echo ${tablica[0]} echo ${tablica[1]} echo ${tablica[2]}
-
1 2 3 4
#!/bin/bash x=`ls -la $PWD` echo $x
-
1 2 3
#!/bin/bash echo "$USER" #nie wypisze twojego loginu
-
1 2 3
#!/bin/bash echo '$USER' #nie wypisze twojego loginu
-
1 2 3 4 5 6
#!/bin/bash x=2 echo "Wartość zmiennej x to $x" #wydrukuje Wartość zmiennej x to 2 echo -ne "Usłyszysz dzwonek\a" echo "Polecenie date pokaże: `date`"
-
1
grep -Po '(?<=")\s*PATTERN[^"]*(?=")'
-
1
awk '{split($0,a,",");gsub(/ /,",",a[5]);a[l=length(a)+1]=a[5];for(i=1;i<=l;i++)if(i!=5)printf("%s%s",a[i],i<l?",":RS)}'
-
1
echo "test string"
-
1
ls
-
1
perl -E 'say ($_%3==0?($_%5==0?"FizzBuzz":"Fizz"):($_%5==0?"Buzz":$_)) for 1 .. 100'
-
1 2 3 4
#!/bin/bash echo Hello World
-
1
lols
-
1 2 3 4 5 6 7 8 9
dotrox@dotrox-desktop:~$ '/var/www/yii/framework/yiic' webapp '/var/www/op' Create a Web application under '/var/www/op'? [yes|no] yes mkdir /var/www/op mkdir /var/www/op/protected generate protected/yiic mkdir /var/www/op/protected/components generate protected/components/Controller.php generate protected/components/UserIdentity.php mkdir /var/www/op/protected/migrations
...
-
1 2 3 4 5 6 7 8
#!/usr/bin/perl use strict; use warnings; use integer; =head1 DESCRIPTION...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash ## Arch Linux Post Install Interactive-Config ## Author: Bill Howe, 06/14/2011 ## Version: 0.5b (beta) ## ## -Description: This bash script walks a user through the recommended ### post installation setup of an Arch Linux build. The items that are ### configured via this script are: network config/testing, pacman mirrors, ### system upgrade, standard user account creation, sudo install/config,
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash ## Arch Linux Post Install Interactive-Config ## Author: Bill Howe, 06/14/2011 ## Version: 0.5b (beta) ## ## -Description: This bash script walks a user through the recommended ### post installation setup of an Arch Linux build. The items that are ### configured via this script are: network config/testing, pacman mirrors, ### system upgrade, standard user account creation, sudo install/config,
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash ## Arch Linux Post Install Interactive-Config ## Author: Bill Howe, 06/14/2011 ## Version: 0.5b (beta) ## ## -Description: This bash script walks a user through the recommended ### post installation setup of an Arch Linux build. The items that are ### configured via this script are: network config/testing, pacman mirrors, ### system upgrade, standard user account creation, sudo install/config, ### install Xorg (X Windows), Video Drivers, Testing Xorg, Installing fonts, ### installing a desktop environment, and creating GUI startup files in the ### proper user directories. (.xinitrc files) ### ### -Arch Versions: Works with 2010.05 64 and 32 bit core install. ### All other versions
...
-
1 2 3 4 5 6 7 8 9
#!/bin/bash ## Arch Linux Post Install Interactive-Config ## Author: Bill Howe, 06/14/2011 ## Version: 0.5b (beta) ## ## -Description: This bash script walks a user through the recommended ### post installation setup of an Arch Linux build. The items that are ### configured via this script are: network config/testing, pacman mirrors, ### system upgrade, standard user account creation, sudo install/config,
...
-
1
javac --version
-
1 2 3 4 5 6 7 8 9
#!/bin/bash set -x # toggle the DMP MIBs dmps=(10.104.164.104 10.104.164.77 10.104.164.176) # ***** put your dmp ips here ******* #turn it on
...
-
1
$login anbu
-
1
$echo $SHELL


