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
function Gen_Buffers (Count : in Sizei) return Uint_Array is | |
Gen_Buffers : access procedure | |
(Count : in Sizei; | |
Buffers : out Uint_Array); | |
pragma Import (C, Gen_Buffers, "__glewGenBuffers"); | |
Buffers : Uint_Array (1 .. Positive (Count)); | |
begin | |
Gen_Buffers (Count, Buffers); | |
return Buffers; |
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
InterestingExceptions = [EXCEPTION_ACCESS_VIOLATION, | |
EXCEPTION_ARRAY_BOUNDS_EXCEEDED, | |
EXCEPTION_DATATYPE_MISALIGNMENT, | |
EXCEPTION_ILLEGAL_INSTRUCTION, | |
EXCEPTION_IN_PAGE_ERROR, | |
EXCEPTION_PRIV_INSTRUCTION, | |
EXCEPTION_STACK_OVERFLOW] |
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
I: Integer := 1; | |
Base: String := "file"; | |
Suffix: String := ".data"; | |
file_name: String; | |
-- 1 | |
file_name : String := Base & Ada.Strings.Fixed.Trim(Integer'Image(I), Ada.Strings.Left) & Suffix; | |
-- 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
/* | |
* Copyright (c) 1983 Regents of the University of California. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms are permitted | |
* provided that the above copyright notice and this paragraph are | |
* duplicated in all such forms and that a{z documentation, | |
* advertising materials, and other materials related to such | |
* distribution and use acknowledge that the software was developed | |
* by the University of California, Berkeley. The name of the |
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
#!/bin/sh | |
# snip (c) copyright 2000 by plasmoid / thc <plasmoid@pimmel.com> | |
# | |
# snippy lil' snip script that shows accessible smb-netbios shares | |
# in a given ip-range. - requires smbclient and nbtscan. | |
# | |
# $Id: snip.sh,v 1.1.1.1 2006/10/29 20:33:13 plasmoid Exp $ | |
# set the right paths here, if smbclient and nbtscan are not within your | |
# path. |
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
#!/usr/bin/python | |
# Advanced Multithreaded UDP Flooder coded by Fl0urite | |
# leak.sx | |
# Hope u leik! | |
import os | |
import sys | |
import time | |
import socket | |
import random | |
from threading import Thread |
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,re | |
url=raw_input('Enter Url : ') | |
try: | |
html=urllib.urlopen(url).read() | |
except: | |
print "can't open web site" | |
exit() | |
links=re.findall('href="(http://.*?)"',html) |
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
SELECT | |
'CREATE FOREIGN TABLE ' | |
|| quote_ident('#{prefix}_' || c.relname) | |
|| '(' || array_to_string(array_agg(quote_ident(a.attname) || ' ' || t.typname), ', ') || ') ' | |
|| ' SERVER #{prefix}_db OPTIONS' | |
|| ' (schema_name ''' || quote_ident(n.nspname) || ''', table_name ''' || quote_ident(c.relname) || ''');' | |
FROM | |
pg_class c, | |
pg_attribute a, | |
pg_type t, |
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
# time ./do-all.sh | |
+ lvcreate -kn -s -n ubunt2 /dev/k2/ubunt | |
Logical volume "ubunt2" created | |
+ lvresize -L 40G /dev/k2/ubunt2 | |
Extending logical volume ubunt2 to 40.00 GiB | |
Logical volume ubunt2 successfully resized | |
+ echo -en 'd\nn\np\n\n\n\n\n\nw\nq\n' | |
+ fdisk /dev/k2/ubunt2 | |
Command (m for help): Selected partition 1 |
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
[General] | |
arch=amd64 | |
cleanup=true | |
noauth=true | |
ignorenativearch=true | |
unpack=true | |
aptsources=Debian | |
bootstrap=Debian | |
[Debian] |