Manual do Hacker Especial - Volume 2 (2019-07)

(Antfer) #1
Manual do Hacker Especial | 1

$footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin
followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x


sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html


$footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “example@example.


com”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img
src=”data:image/jpeg;base64,/yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline;


color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href =


“view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-


2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-
mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@


raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img src=”data:image/jpeg;base64,/


yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://
example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’


. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-


Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from


= “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@
raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP //$dbh = new


PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_


lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM


leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.
php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port


= “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~#


pear install Net_SMTP //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a
style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./


sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin


followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://


example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password =
”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img src=”data:image/


jpeg;base64,/yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;”


href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.


php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /
usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.


php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get


install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP //$dbh
= new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.


php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”>


sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/


username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host =
“ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail


Mail_Mime root@raspberrypi:~# pear install Net_SMTP //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’,


$user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-


2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x
sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html


$footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “example@example.


com”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img
src=”data:image/jpeg;base64,/yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline;


color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href =


“view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-


2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-
mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@


raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img src=”data:image/jpeg;base64,/


yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://


example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’


. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-


Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from


= “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@
raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP //$dbh = new


PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_


lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM


leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.
php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port


= “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~#


pear install Net_SMTP //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a


style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./
sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin


followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://


example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password =
”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP <img src=”data:image/


jpeg;base64,/yourbase64gibbereishwillgohere” /> //$dbh = new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;”


href=”http://example.com/email-mass/unsubscribe.php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.


php?templateid=’. urlencode($id_template). ‘”> sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /
usr/bin/php X-Source-Args: /usr/bin/php /home/username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.


php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host = “ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get


install php-pear root@raspberrypi:~# pear install Mail Mail_Mime root@raspberrypi:~# pear install Net_SMTP //$dbh


= new PDO(‘mysql:host=localhost;dbname=email_mass’, $user, $pass); $footer .=’<a style=”text-decoration:underline; color:#f16423;” href=”http://example.com/email-mass/unsubscribe.
php?id=’.$id_of_lead.’”>Unsubscribe’; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin. <a href = “view-template.php?templateid=’. urlencode($id_template). ‘”>


sqlite>DELETE FROM leads_email_templates WHERE id = 1; chmod +x sqlitestudio-2.1.5.bin followed by ./ sqlitestudio-2.1.5.bin X-Source: /usr/bin/php X-Source-Args: /usr/bin/php /home/


username/public_html/contact.php X-Source-Dir: example.com:/public_html $footer .= ‘<img src=”http://example.com/email-mass/track-email.php?id=’.$id_of_lead.’”>’;$from = “John Do”; $host =
“ssl://smtp.example.com”; $port = “465”; $username = “[email protected]”; $password = “”; root@raspberrypi:~# apt-get install php-pear root@raspberrypi:~# pear install Mail


gem “therubyracer”, “~> 0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails


new todolist --skip-test-unit respond_to do |format| if @task.update_attributes(params[:task]) format.html { redirect_to @task, notice: ‘...’ } format.json { head :no_content }


else format.html { render action: “edit” } format.json { render json: @task.errors, status: :unprocessable_entity } $ bundle exec rails generate migration add_priority_to_tasks


priority:integer $ bundle exec rake db:migrate $ bundle exec rake db:migrate $ bundle exec rails server validate :due_at_is_in_the_past def due_at_is_in_the_past errors.


add(:due_at, ‘is in the past!’) if due_at < Time.zone.now #!/usr/bin/en python import pygame from random import randrange MAX_STARS = 100 pygame.init() screen =


pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() stars = for i in range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.


append(star) while True: clock.tick(30) for event in pygame.event.get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep);


use Curses; $screen = new Curses; noecho; curs_set(0); for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] = rand(80); $star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1; } while (1)


{ $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -= $star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; } $screen->addch($star_y[$i], $star_x[$i], “.”); } $screen-



refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails --version=3.2.



$ rbenv rehash $ rails new todolist --skip-test-unit respond_to do |format| if @task.update_attributes(params[:task]) format.html { redirect_to @task, notice: ‘...’ } format.json


{ head :no_content } else format.html { render action: “edit” } format.json { render json: @task.errors, status: :unprocessable_entity } $ bundle exec rails generate migration


add_priority_to_tasks priority:integer $ bundle exec rake db:migrate $ bundle exec rake db:migrate $ bundle exec rails server validate :due_at_is_in_the_past def due_atis


in_the_past errors.add(:due_at, ‘is in the past!’) if due_at < Time.zone.now #!/usr/bin/en python import pygame from random import randrange MAX_STARS = 100 pygame.


init() screen = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() stars = for i in range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1,


16)] stars.append(star) while True: clock.tick(30) for event in pygame.event.get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes


qw(usleep); use Curses; $screen = new Curses; noecho; curs_set(0); for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] = rand(80); $star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1;


} while (1) { $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -= $star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; } $screen->addch($star_y[$i], $star_x[$i], “.”); }


$screen->refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails


--version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-unit respond_to do |format| if @task.update_attributes(params[:task]) format.html { redirect_to @task, notice:


‘...’ } format.json { head :no_content } else format.html { render action: “edit” } format.json { render json: @task.errors, status: :unprocessable_entity } $ bundle exec rails


generate migration add_priority_to_tasks priority:integer $ bundle exec rake db:migrate $ bundle exec rake db:migrate $ bundle exec rails server validate :due_at_is_inthe


past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’) if dueat < Time.zone.now #!/usr/bin/en python import pygame from random import randrange MAX


STARS = 100 pygame.init() screen = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() stars = for i in range(MAX_STARS): star = [randrange(0, 639),


randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.tick(30) for event in pygame.event.get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl


$numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho; curs_set(0); for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] = rand(80); $star_y[$i]


= rand(24); $star_s[$i] = rand(4) + 1; } while (1) { $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -= $star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; } $screen-



addch($star_y[$i], $star_x[$i], “.”); } $screen->refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem



install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-unit respond_to do |format| if @task.update_attributes(params[:task]) format.


html { redirect_to @task, notice: ‘...’ } format.json { head :nocontent } else format.html { render action: “edit” } format.json { render json: @task.errors, status: :unprocessable


entity } $ bundle exec rails generate migration add_priority_to_tasks priority:integer $ bundle exec rake db:migrate $ bundle exec rake db:migrate $ bundle exec rails server


validate :due_at_is_in_the_past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’) if due_at < Time.zone.now #!/usr/bin/en python import pygame from random


import randrange MAX_STARS = 100 pygame.init() screen = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() stars = for i in range(MAX_STARS): star =


[randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.tick(30) for event in pygame.event.get(): if event.type == pygame.QUIT: exit(0)


#!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho; curs_set(0); for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] = rand(80);


$star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1; } while (1) { $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -= $star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; }


$screen->addch($star_y[$i], $star_x[$i], “.”); } $screen->refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $


gem install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-unit respond_to do |format| if @task.update_attributes(params[:task])


format.html { redirect_to @task, notice: ‘...’ } format.json { head :no_content } else format.html { render action: “edit” } format.json { render json: @task.errors, status:


:unprocessable_entity } $ bundle exec rails generate migration add_priority_to_tasks priority:integer $ bundle exec rake db:migrate $ bundle exec rake db:migrate $ bundle


exec rails server validate :due_at_is_in_the_past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’) if due_at < Time.zone.now #!/usr/bin/en python import


pygame from random import randrange MAX_STARS = 100 pygame.init() screen = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock() stars = for i in


range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.tick(30) for event in pygame.event.get(): if event.


type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho; curs_set(0); for ($i = 0; $i < $numstars


; $i++) { $star_x[$i] = rand(80); $star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1; } while (1) { $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -= $star_s[$i]; if


($star_x[$i] < 0) { $star_x[$i] = 80; } $screen->addch($star_y[$i], $star_x[$i], “.”); } $screen->refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group :development, :test


do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-unit respond_to do |format| if @task.


update_attributes(params[:task]) format.html { redirect_to @task, notice: ‘...’ } format.json { head :no_content } else format.html { render action: “edit” } format.json { render


json: @task.errors, status: :unprocessable_entity } $ bundle exec rails generate migration add_priority_to_tasks priority:integer $ bundle exec rake db:migrate $ bundle exec


rake db:migrate $ bundle exec rails server validate :due_at_is_in_the_past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’) if due_at < Time.zone.now #!/usr/


bin/en python import pygame from random import randrange MAX_STARS = 100 pygame.init() screen = pygame.display.set_mode((640, 480)) clock = pygame.time.Clock()


stars = for i in range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.tick(30) for event in pygame.event.


get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho; curs_set(0); for ($i =


0; $i < $numstars ; $i++) { $star_x[$i] = rand(80); $star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1; } while (1) { $screen->clear; for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] -=


$star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; } $screen->addch($star_y[$i], $star_x[$i], “.”); } $screen->refresh; usleep 50000; gem “therubyracer”, “~> 0.11.4” group


:development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-unit respond_to


do |format| if @task.update_attributes(params[:task]) format.html { redirect_to @task, notice: ‘...’ } format.json { head :no_content } else format.html { render action: “edit” }


format.json { render json: @task.errors, status: :unprocessable_entity } $ bundle exec rails generate migration add_priority_to_tasks priority:integer $ bundle exec rake


db:migrate $ bundle exec rake db:migrate $ bundle exec rails server validate :due_at_is_in_the_past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’) if due_at


< Time.zone.now #!/usr/bin/en python import pygame from random import randrange MAX_STARS = 100 pygame.init() screen = pygame.display.set_mode((640, 480)) clock


= pygame.time.Clock() stars = for i in range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.tick(30) for


event in pygame.event.get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho;


curs_set(0); for ($i = 0; $i < $numstars ; $i++) { $star_x[$i] = rand(80); $star_y[$i] = rand(24); $star_s[$i] = rand(4) + 1; } while (1) { $screen->clear; for ($i = 0; $i < $numstars ;


$i++) { $star_x[$i] -= $star_s[$i]; if ($star_x[$i] < 0) { $star_x[$i] = 80; } $screen->addch($star_y[$i], $star_x[$i], “.”); } $screen->refresh; usleep 50000; gem “therubyracer”, “~>


0.11.4” group :development, :test do gem “rspec-rails”, “~> 2.13.0” $ gem install bundler $ gem install rails --version=3.2.12 $ rbenv rehash $ rails new todolist --skip-test-


unit respond_to do |format| if @task.update_attributes(params[:task]) format.html { redirect_to @task, notice: ‘...’ } format.json { head :no_content } else format.html { render


action: “edit” } format.json { render json: @task.errors, status: :unprocessable_entity } $ bundle exec rails generate migration add_priority_to_tasks priority:integer $ bundle


exec rake db:migrate $ bundle exec rake db:migrate $ bundle exec rails server validate :due_at_is_in_the_past def due_at_is_in_the_past errors.add(:due_at, ‘is in the past!’)


if due_at < Time.zone.now #!/usr/bin/en python import pygame from random import randrange MAX_STARS = 100 pygame.init() screen = pygame.display.set_mode((640,


480)) clock = pygame.time.Clock() stars = for i in range(MAX_STARS): star = [randrange(0, 639), randrange(0, 479), randrange(1, 16)] stars.append(star) while True: clock.


tick(30) for event in pygame.event.get(): if event.type == pygame.QUIT: exit(0) #!/usr/bin/perl $numstars = 100; use Time::HiRes qw(usleep); use Curses; $screen = new Curses; noecho; cu


TUTORIAIS COMPLETOS


MONTE SUA MÁQUINA STEAM


CRIE BANCO DE DADOS RIAK


ESCREVA SCRITS NO BASH


Como escolher os
componentes e
fazer a montagem

MERGULHE NO


UNIVERSO HACKER


E DO LINUX



  • NoSQL • SYS ADMIN • DISTROS

  • REDE SAMBA • SEGURANÇA • TERMINAL


VOLUME


2


TOTALMENTE ILUSTRADO


MONTE


SEU PC


LINUX


MAIS:


Grupo Unico PDF Passe@diante

Free download pdf