This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
f = urllib.urlopen('http://goo.gl/xnxu') | |
print f.geturl() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
print f.geturl() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set invpaste | |
set cindent | |
syntax on | |
highlight LineNr term=bold cterm=NONE ctermfg=Red ctermbg=NONE gui=NONE guifg=SteelBlue guibg=NONE | |
set nosm | |
set noshowmatch | |
hi MatchParen ctermfg=Blue ctermbg=black guifg=blue guibg=black | |
set noai | |
set wrap | |
set ts=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Iterative C program to reverse | |
* a linked list */ | |
#include<stdio.h> | |
#include<stdlib.h> | |
/* Link list node */ | |
struct Node | |
{ | |
int data; | |
struct Node* next; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
/* Link list node */ | |
struct Node | |
{ | |
int data; | |
struct Node* next; | |
}; | |