Basic installation script for create_ap
- Save the
install_create_ap.shfile in your system (for example /home folder).
- Give the execute permission to the file:
chmod +x install_create_ap.sh
- Run the script:
./install_create_ap.sh
Basic installation script for create_ap
install_create_ap.sh file in your system (for example /home folder).chmod +x install_create_ap.sh./install_create_ap.sh| #!/bin/bash | |
| sudo add-apt-repository ppa:noobslab/themes | |
| sudo add-apt-repository ppa:noobslab/icons | |
| sudo add-apt-repository ppa:ravefinity-project/ppa | |
| sudo add-apt-repository ppa:snwh/pulp | |
| sudo apt-get update | |
| sudo apt-get install humanitary-gtk-theme | |
| sudo apt-get install humanitary-icon-theme |
| my $DNA = <STDIN>; | |
| chomp $DNA; | |
| $protein = myfunc2($DNA); | |
| print "Protein Sequence:\n"; | |
| print($protein, "\n"); | |
| sub myfunc2 { | |
| my %aacode = ( | |
| TTT => "F", TTC => "F", TTA => "L", TTG => "L", |
cat: concatenate files and print on the standard output
cat > a.txt: start a file creationcat a.txt: show file contentcat a.txt b.txt: show files content respectivelycat a.txt b.txt > c.txt: create a file which contains a.txt and b.txtchmod: change file mode bits
chmod +x a.txt: All users and groups have the execute permissionchmod $u$g$o a.txt: Give specific user permission
This gist is about Javascript perpective from Programming Language Consept.
This gist is about Python perpective from Programming Language Consept.
| Network Setup !!!!! kaydetmek için -> copy running-config startup-config -> komutunu yazmayý unutma !!!!! | |
| Router> -> exec modunu temsil eder | |
| Router>enable | |
| Router# -> privilage_exec modunu temsil eder | |
| Router# configure terminal | |
| Router(config)# -> global configure modunu temsil eder | |
| Router(config)#hostname R1 -> router in adýný deðiþtirmeye yarar | |
| R1(config)#line vty 0 4 -> bu satýr telnet de maksimum 5 baðlantýya izin verir | |
| R1(config-line)#password YENI_PAROLA -> YENI_PAROLA diye bi parola belirlemeye yarar. (telnet connection için) | |
| R1(config-line)#login -> login olma yeteneði kazandýrmak için |
| #!/usr/bin/python | |
| import datetime | |
| import os | |
| import sys | |
| now = datetime.datetime.now() | |
| # print now.year, now.month, now.day, now.hour, now.minute, now.second | |
| filename = "{}-{}-{}-{}-{}-{}".format(now.year, now.month, now.day, now.hour, now.minute, now.second) | |
| suffix = "FileList" |