Skip to content

Instantly share code, notes, and snippets.

it@it:~$ sudo parted -l \ nc termbin.com 9999
Model: ATA LITEONIT LSS-24L (scsi)
Disk /dev/sda: 24.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Model: ATA ST1000LM024 HN-M (scsi)
it@it:~$ sudo mkdir /mnt/root; sudo mkdir -p /mnt/EFI;
it@it:~$ sudo umount /dev/sdb7
it@it:~$ sudo mount /dev/sdb7 /mnt/root
sudo mount -t vfat -o rw,users /dev/sdb2 /mnt/EFI
it@it:~$ ls /mnt/
EFI root
it@it:~$ ls /mnt/root/
bin boot cdrom dev etc home initrd.img initrd.img.old lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var vmlinuz vmlinuz.old
it@it:~$ sudo chroot /mnt/root/
it@it:~$ sudo parted -l
Model: ATA LITEONIT LSS-24L (scsi)
Disk /dev/sda: 24.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Model: ATA ST1000LM024 HN-M (scsi)
input is in form of zipped files each having the weather station nos and the year : "startingStation endingStation year"
010010-99999-1990.gz
010014-99999-1990.gz
010015-99999-1990.gz
010016-99999-1990.gz
010017-99999-1990.gz
010030-99999-1990.gz
010040-99999-1990.gz
010080-99999-1990.gz
<?php
$imagePath = theme_path("images/login");
?>
<style type="text/css">
body {
background-color: #FFFFFF;
height: 700px;
}
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s = scan.next();
scan.close();
while(true){
-bash-3.2$ php go-pear.php
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1257 in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
Sorry! Your PHP version is too new (5.3.13) for this go-pear.
Instead use http://pear.php.net/go-pear.phar for a more stable and current
version of go-pear, more suited to your PHP version.
Thank you for your coopertion and sorry for the inconvenience!
# I an ignore specific files
./www/includes/db_connection.config
./www1/*
./www/.idea/*
# Use wildcards as well
*~
*.swp
# Can also ignore all directories and files in a directory.
tmp/**/*
import MySQLdb
conn = MySQLdb.connect(host='127.0.0.1', user='root', passwd='ernest', db='safeview', port=3306)
curs = conn.cursor()
# The function below inserts images into the table multifactor_image in safeview.
# This table will work as a pool of images and be used
# for user identification in "sitekey" for each user.
def fill_multifactoImage_table():
for line in open("imageNames", "r"):