-
Install and register the FreeTDS driver for unixODBC.
apt-get install tdsodbc odbcinst -i -d -f /usr/share/tdsodbc/odbcinst.ini
-
(Optional) Test the DSN-less connection with pyodbc.
apt-get install python-pyodbc
>>> import pyodbc
Install and register the FreeTDS driver for unixODBC.
apt-get install tdsodbc
odbcinst -i -d -f /usr/share/tdsodbc/odbcinst.ini
(Optional) Test the DSN-less connection with pyodbc.
apt-get install python-pyodbc
>>> import pyodbc
/* | |
* The following description is from Linux Programmer's Manual (strtok(3)): | |
* | |
* #include <string.h> | |
* char *strtok(char *str, const char *delim); | |
* | |
* The strtok() function breaks a string into a sequence of zero or more | |
* nonempty tokens. On the first call to strtok() the string to be parsed | |
* should be specified in str. In each subsequent call that should parse | |
* the same string, str must be NULL. |
We are going to use buildroot to download, configure and compile the kernel. | |
First, download and uncompress buildroot: https://buildroot.org/download.html | |
Go to the directory and: | |
make qemu_x86_defconfig | |
make menuconfig |
#ifndef _ATOMIC_H | |
#define _ATOMIC_H | |
/* Check GCC version, just to be safe */ | |
#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC_MINOR__ < 1) | |
# error atomic.h works only with GCC newer than version 4.1 | |
#endif /* GNUC >= 4.1 */ | |
/** |
/* | |
* twitter-entities.js | |
* This function converts a tweet with "entity" metadata | |
* from plain text to linkified HTML. | |
* | |
* See the documentation here: http://dev.twitter.com/pages/tweet_entities | |
* Basically, add ?include_entities=true to your timeline call | |
* | |
* Copyright 2010, Wade Simmons | |
* Licensed under the MIT license |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;greet.asm | |
section .data | |
; Declare/store the information "Hello World!" | |
prompt db 'What is your name? ' | |
; do not change the order of the following three lines! | |
helloMsg dq 'Hello ' | |
name db ' ' ; space characters |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;Assembly Code | |
section .data | |
;New line string | |
NEWLINE: db 0xa, 0xd | |
LENGTH: equ $-NEWLINE | |
section .bss | |
INPT: resd 1 |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;Assembly Code | |
section .text | |
global main | |
extern printf | |
main: | |
mov ebx,10 ;number 10 to ebx |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;Assembly Code | |
section .text | |
global main | |
extern printf | |
main: |