jQuery Interactive Exercises: Enhance Web Interactivity
Exercise 1
Listing
Count- Record 1 Up Down Duplicate Delete
- Record 2 Up Down Duplicate Delete
- Record 3 Up Down Duplicate Delete
Plugin Code
(function($) {
$.fn.up = function() {
this.on("click", function() {
$(".up").parent().insertBefore($(this).parent().prev());
})
}
$.fn.down = function() {
this.on("click", function() {
$(this).parent().insertAfter($(this).parent().next());
})
}
$.fn.duplicate = function() {
this.on("click", function() {
$(this). Read More
IAM, BNS, BSYS, NSYS, and XRF Credentials Management
Hi XXX,
Regards,
Peru NT Administration (Mario Acosta)
IAM Credentials
- QAT BNS: s5913113
- IST BNS: s8003326
- UATBNS: ou=Users_Groups,dc=Uatbns,dc=bns
- UATBSYS: ou=Users,dc=Uatbsys,dc=bns
- UATNSYS: ou=Users_Groups,dc=Uatnsys,dc=bns
- TESTBNS: ou=Users_Group,dc=Testbns,dc=bns
- ISTNB: ou=Users_Groups,dc=Istnb,dc=bns
URLs:
Active Directory:
- AD-BNS: UATBNS TESTBNS
- AD-BSYS: UATBSYS BCXISDOM
- AD-NSYS: UATNSYS ISTNB
PV
PV: pru003 (SR1926pe)
iShare
iShare: 6447090 (5913113)
http://ishare.bns/
Windows
Read MoreMFS File System Implementation: Data Structures and Functions
#include "block.h"
#include "mfs.h"
char filesystem_name[] = "my_mfs.img";
Data Structures
struct super_block {
int block_size;
int num_inodes;
int num_bitmap;
int num_data_blocks;
int root_inode;
};
struct Extent {
int start;
int size;
};
struct disk_inode {
int size;
struct Extent e;
};
#define ENTRY_SIZE 14
struct entry {
char name[ENTRY_SIZE];
int is_dir;
short inode;
};
struct
Python Code Examples: Permutations, Polynomials, and Matrices
Permuting Words
Iterative
from math import *
def Permuta(Cad):
n = len(Cad)
np = factorial(n) # Total number of permutations
l = [''] * np
for num in range(n - 1, -1, -1):
repe = factorial(num)
pos = 0
c = 0
for k in range(len(l)):
while Cad[pos] in l[k]:
pos = pos + 1
if pos >= n:
pos = 0
l[k] = l[k] + Cad[pos]
c = c + 1
if c == repe:
Secure Client-Server Communication with Encryption Techniques
int connectToServer(const char* ip, int port) { CLIENT 13
int sock = socket(AF_INET, SOCK_STREAM, 0);
struct sockaddr_in addr = {AF_INET, htons(port), inet_addr(ip)};
if (connect(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
cout << “\nRun server program first.” << endl;
exit(0); }
else
cout << “\nClient is connected to Server.” << endl;
return sock; }
int randInRange(int low, int high) {
return (rand() % (high – (low + 1))) + (low + 1); }
long powermod(long a, long b,
Download Anime, Movie & TV Series: Sola, Willy Fog, Terminator
Sola Anime Series
Series one
- 01 http://www.megaupload.com/?d=FS7KS3EM
- 02 http://www.megaupload.com/?d=4CLVJQ8Q
- 03 http://www.megaupload.com/?d=RI0HTVAB
- 04 http://www.megaupload.com/?d=JSF5T3P0
- 05 http://www.megaupload.com/?d=Q74X8PX7
- 06 http://www.megaupload.com/?d=P0I1DYHL
- 07 http://www.megaupload.com/?d=F0FLILFT
- 08 http://www.megaupload.com/?d=ZI3W5WP6
- 09 http://www.megaupload.com/?d=216HZP0Y
- 10 http://www.megaupload.com/?d=IH57PKRE
- 11 http://www.megaupload.com/?d=J68VZR22
- 12 http://www.megaupload.com/?d=I36AOPK0
- 13
