Vai al contenuto


Foto

Hello World


Questa discussione e' stata archiviata Questo significa che non e' possibile rispondere
55 risposte a questa discussione

#41 Guest_ally_*

Guest_ally_*
  • Ospiti

Inviato 11 settembre 2012 - 16:40

...tutti grandi programmatori qui dentro...

#42 Hellblazer

Hellblazer

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStelletta
  • 2.137 Messaggi:

Inviato 11 settembre 2012 - 17:10

Tommilì :cereal:

"(...) dopo avere mollato la scuola alberghiera senza conseguire il diploma, Tommi si dedicò alla sicurezza dei bagnanti, impiegandosi come baywatcher. Noto frequentatore dei locali più cool della Riviera romagnola, divenne in breve una leggenda pure negli ambienti del culturismo. Desideroso di nuove sfide, nel giro di pochi anni sfondò anche nel settore informatico, diventando il più dotato programmatore della sua generazione (...)"

Ritratto dell'artista da giovane - La biografia completa di Tommilì

Messaggio modificato da Hellblazer il 11 settembre 2012 - 17:13

Meraviglioso, meraviglioso.

#43 abcdef

abcdef

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStelletta
  • 5.541 Messaggi:

Inviato 11 settembre 2012 - 17:12

:cereal:

Sono un aflabeto :v ⎝o͜ﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞo⎠


#44 Sgurbat

Sgurbat

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStelletta
  • 9.772 Messaggi:

Inviato 11 settembre 2012 - 17:57

HelloWord :pua:


Porco dio che analfabeta.

We are what we repeatedly do. Excellence, then, is not an act, but a habit. (Aristotele)


#45 Sgurbat

Sgurbat

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStelletta
  • 9.772 Messaggi:

Inviato 11 settembre 2012 - 17:59

DO YOU FEEL 5MARTN355?
---------------------------------------------------------------
N0 MORE! those times are over. GET INSTANT ANAL SEX 100%!!!!
Did you ever think..... it doesnt w0rk!?
Now it does! Read on--TommyLee692000™ this will help you GUARANTEED

My friends told me: "smartness smartness" to which I had one reply
ANAL SEX 24 Hours
ONLY with our TommyLee692000™!!!
Dr. P.coso says: "I saw it work like magic." (P.coso is TRUSTED source
in the field.)

Try it for free NOW!
JUST $119... to good to be troo? I thouhgt s0 too ....at first.
Try it now. CLICK HERE
www.buy-tommylee692000.com

We are what we repeatedly do. Excellence, then, is not an act, but a habit. (Aristotele)


#46 toyo

toyo

    sono triste

  • Donatori di sperma
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 44.062 Messaggi:

Inviato 11 settembre 2012 - 18:23

class Util{
private static final byte[] b64 =Util.str2byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");
private static byte val(byte foo){
if(foo == '=') return 0;
for(int j=0; j<b64.length; j++){
	 if(foo==b64[j]) return (byte)j;
}
return 0;
}
static byte[] fromBase64(byte[] buf, int start, int length){
byte[] foo=new byte[length];
int j=0;
for (int i=start;i<start+length;i+=4){
	 foo[j]=(byte)((val(buf[i])<<2)|((val(buf[i+1])&0x30)>>>4));
	 if(buf[i+2]==(byte)'='){ j++; break;}
	 foo[j+1]=(byte)(((val(buf[i+1])&0x0f)<<4)|((val(buf[i+2])&0x3c)>>>2));
	 if(buf[i+3]==(byte)'='){ j+=2; break;}
	 foo[j+2]=(byte)(((val(buf[i+2])&0x03)<<6)|(val(buf[i+3])&0x3f));
	 j+=3;
}
byte[] bar=new byte[j];
System.arraycopy(foo, 0, bar, 0, j);
return bar;
}
static byte[] toBase64(byte[] buf, int start, int length){
byte[] tmp=new byte[length*2];
int i,j,k;

int foo=(length/3)*3+start;
i=0;
for(j=start; j<foo; j+=3){
	 k=(buf[j]>>>2)&0x3f;
	 tmp[i++]=b64[k];
	 k=(buf[j]&0x03)<<4|(buf[j+1]>>>4)&0x0f;
	 tmp[i++]=b64[k];
	 k=(buf[j+1]&0x0f)<<2|(buf[j+2]>>>6)&0x03;
	 tmp[i++]=b64[k];
	 k=buf[j+2]&0x3f;
	 tmp[i++]=b64[k];
}
foo=(start+length)-foo;
if(foo==1){
	 k=(buf[j]>>>2)&0x3f;
	 tmp[i++]=b64[k];
	 k=((buf[j]&0x03)<<4)&0x3f;
	 tmp[i++]=b64[k];
	 tmp[i++]=(byte)'=';
	 tmp[i++]=(byte)'=';
}
else if(foo==2){
	 k=(buf[j]>>>2)&0x3f;
	 tmp[i++]=b64[k];
	 k=(buf[j]&0x03)<<4|(buf[j+1]>>>4)&0x0f;
	 tmp[i++]=b64[k];
	 k=((buf[j+1]&0x0f)<<2)&0x3f;
	 tmp[i++]=b64[k];
	 tmp[i++]=(byte)'=';
}
byte[] bar=new byte[i];
System.arraycopy(tmp, 0, bar, 0, i);
return bar;
// return sun.misc.BASE64Encoder().encode(buf);
}
static String[] split(String foo, String split){
if(foo==null)
	 return null;
byte[] buf=Util.str2byte(foo);
java.util.Vector bar=new java.util.Vector();
int start=0;
int index;
while(true){
	 index=foo.indexOf(split, start);
	 if(index>=0){
bar.addElement(Util.byte2str(buf, start, index-start));
start=index+1;
continue;
	 }
	 bar.addElement(Util.byte2str(buf, start, buf.length-start));
	 break;
}
String[] result=new String[bar.size()];
for(int i=0; i<result.length; i++){
	 result[i]=(String)(bar.elementAt(i));
}
return result;
}
static boolean glob(byte[] pattern, byte[] name){
return glob0(pattern, 0, name, 0);
}
static private boolean glob0(byte[] pattern, int pattern_index,
		 byte[] name, int name_index){
if(name.length>0 && name[0]=='.'){
	 if(pattern.length>0 && pattern[0]=='.'){
	 if(pattern.length==2 && pattern[1]=='*') return true;
	 return glob(pattern, pattern_index+1, name, name_index+1);
	 }
	 return false;
}
return glob(pattern, pattern_index, name, name_index);
}
static private boolean glob(byte[] pattern, int pattern_index,
		 byte[] name, int name_index){
//System.err.println("glob: "+new String(pattern)+", "+pattern_index+" "+new String(name)+", "+name_index);
int patternlen=pattern.length;
if(patternlen==0)
	 return false;
int namelen=name.length;
int i=pattern_index;
int j=name_index;
while(i<patternlen && j<namelen){
	 if(pattern[i]=='\\'){
if(i+1==patternlen)
return false;
i++;
if(pattern[i]!=name[j])
		 return false;
	 i+=skipUTF8Char(pattern[i]);
	 j+=skipUTF8Char(name[j]);
continue;
	 }
	 if(pattern[i]=='*'){
	 while(i<patternlen){
		 if(pattern[i]=='*'){
		 i++;
		 continue;
		 }
		 break;
	 }
if(patternlen==i)
		 return true;
byte foo=pattern[i];
	 if(foo=='?'){
		 while(j<namelen){
	 if(glob(pattern, i, name, j)){
	 return true;
		 }
		 j+=skipUTF8Char(name[j]);
		 }
		 return false;
	 }
	 else if(foo=='\\'){
		 if(i+1==patternlen)
		 return false;
		 i++;
		 foo=pattern[i];
		 while(j<namelen){
		 if(foo==name[j]){
			 if(glob(pattern, i+skipUTF8Char(foo),
					 name, j+skipUTF8Char(name[j]))){
			 return true;
			 }
		 }
		 j+=skipUTF8Char(name[j]);
		 }
		 return false;
	 }
while(j<namelen){
if(foo==name[j]){
	 if(glob(pattern, i, name, j)){
	 return true;
	 }
}
		 j+=skipUTF8Char(name[j]);
}
return false;
	 }
	 if(pattern[i]=='?'){
	 i++;
	 j+=skipUTF8Char(name[j]);
continue;
	 }
	 if(pattern[i]!=name[j])
	 return false;
	 i+=skipUTF8Char(pattern[i]);
	 j+=skipUTF8Char(name[j]);
	 if(!(j<namelen)){		 // name is end
	 if(!(i<patternlen)){ // pattern is end
return true;
}
if(pattern[i]=='*'){
		 break;
}
	 }
	 continue;
}
if(i==patternlen && j==namelen)
	 return true;
if(!(j<namelen) && // name is end
	 pattern[i]=='*'){
	 boolean ok=true;
	 while(i<patternlen){
	 if(pattern[i++]!='*'){
		 ok=false;
		 break;
	 }
	 }
	 return ok;
}
return false;
}
static String quote(String path){
byte[] _path=str2byte(path);
int count=0;
for(int i=0;i<_path.length; i++){
	 byte b=_path[i];
	 if(b=='\\' || b=='?' || b=='*')
	 count++;
}
if(count==0)
	 return path;
byte[] _path2=new byte[_path.length+count];
for(int i=0, j=0; i<_path.length; i++){
	 byte b=_path[i];
	 if(b=='\\' || b=='?' || b=='*'){
	 _path2[j++]='\\';
	 }
	 _path2[j++]=b;
}
return byte2str(_path2);
}
static String unquote(String path){
byte[] foo=str2byte(path);
byte[] bar=unquote(foo);
if(foo.length==bar.length)
	 return path;
return byte2str(bar);
}
static byte[] unquote(byte[] path){
int pathlen=path.length;
int i=0;
while(i<pathlen){
	 if(path[i]=='\\'){
	 if(i+1==pathlen)
		 break;
	 System.arraycopy(path, i+1, path, i, path.length-(i+1));
	 pathlen--;
	 i++;
	 continue;
	 }
	 i++;
}
if(pathlen==path.length)
	 return path;
byte[] foo=new byte[pathlen];
System.arraycopy(path, 0, foo, 0, pathlen);
return foo;
}
private static String[] chars={
"0","1","2","3","4","5","6","7","8","9", "a","b","c","d","e","f"
};
static String getFingerPrint(HASH hash, byte[] data){
try{
	 hash.init();
	 hash.update(data, 0, data.length);
	 byte[] foo=hash.digest();
	 StringBuffer sb=new StringBuffer();
	 int bar;
	 for(int i=0; i<foo.length;i++){
	 bar=foo[i]&0xff;
	 sb.append(chars[(bar>>>4)&0xf]);
	 sb.append(chars[(bar)&0xf]);
	 if(i+1<foo.length)
		 sb.append(":");
	 }
	 return sb.toString();
}
catch(Exception e){
	 return "???";
}
}
static boolean array_equals(byte[] foo, byte bar[]){
int i=foo.length;
if(i!=bar.length) return false;
for(int j=0; j<i; j++){ if(foo[j]!=bar[j]) return false; }
//try{while(true){i--; if(foo[i]!=bar[i])return false;}}catch(Exception e){}
return true;
}
static Socket createSocket(String host, int port, int timeout) throws JSchException{
Socket socket=null;
if(timeout==0){
	 try{
	 socket=new Socket(host, port);
	 return socket;
	 }
	 catch(Exception e){
	 String message=e.toString();
	 if(e instanceof Throwable)
		 throw new JSchException(message, (Throwable)e);
	 throw new JSchException(message);
	 }
}
final String _host=host;
final int _port=port;
final Socket[] sockp=new Socket[1];
final Exception[] ee=new Exception[1];
String message="";
Thread tmp=new Thread(new Runnable(){
	 public void run(){
		 sockp[0]=null;
		 try{
		 sockp[0]=new Socket(_host, _port);
		 }
		 catch(Exception e){
		 ee[0]=e;
		 if(sockp[0]!=null && sockp[0].isConnected()){
			 try{
			 sockp[0].close();
			 }
			 catch(Exception eee){}
		 }
		 sockp[0]=null;
		 }
	 }
	 });
tmp.setName("Opening Socket "+host);
tmp.start();
try{
	 tmp.join(timeout);
	 message="timeout: ";
}
catch(java.lang.InterruptedException eee){
}
if(sockp[0]!=null && sockp[0].isConnected()){
	 socket=sockp[0];
}
else{
	 message+="socket is not established";
	 if(ee[0]!=null){
	 message=ee[0].toString();
	 }
	 tmp.interrupt();
	 tmp=null;
	 throw new JSchException(message);
}
return socket;
}
static byte[] str2byte(String str, String encoding){
if(str==null)
	 return null;
try{ return str.getBytes(encoding); }
catch(java.io.UnsupportedEncodingException e){
	 return str.getBytes();
}
}
static byte[] str2byte(String str){
return str2byte(str, "UTF-8");
}
static String byte2str(byte[] str, String encoding){
return byte2str(str, 0, str.length, encoding);
}
static String byte2str(byte[] str, int s, int l, String encoding){
try{ return new String(str, s, l, encoding); }
catch(java.io.UnsupportedEncodingException e){
	 return new String(str, s, l);
}
}
static String byte2str(byte[] str){
return byte2str(str, 0, str.length, "UTF-8");
}
static String byte2str(byte[] str, int s, int l){
return byte2str(str, s, l, "UTF-8");
}
static final byte[] empty = str2byte("");
/*
static byte[] char2byte(char[] foo){
int len=0;
for(int i=0; i<foo.length; i++){
	 if((foo[i]&0xff00)==0) len++;
	 else len+=2;
}
byte[] bar=new byte[len];
for(int i=0, j=0; i<foo.length; i++){
	 if((foo[i]&0xff00)==0){
	 bar[j++]=(byte)foo[i];
	 }
	 else{
	 bar[j++]=(byte)(foo[i]>>>8);
	 bar[j++]=(byte)foo[i];
	 }
}
return bar;
}
*/
static void bzero(byte[] foo){
if(foo==null)
	 return;
for(int i=0; i<foo.length; i++)
	 foo[i]=0;
}
static String diffString(String str, String[] not_available){
String[] stra=Util.split(str, ",");
String result=null;
loop:
for(int i=0; i<stra.length; i++){
	 for(int j=0; j<not_available.length; j++){
	 if(stra[i].equals(not_available[j])){
		 continue loop;
	 }
	 }
	 if(result==null){ result=stra[i]; }
	 else{ result=result+","+stra[i]; }
}
return result;
}
private static int skipUTF8Char(byte <img src='http://www.hwupgrade.org/public/style_emoticons/<#EMO_DIR#>/cool.png' class='bbc_emoticon' alt='B)' />{
if((byte)(b&0x80)==0) return 1;
if((byte)(b&0xe0)==(byte)0xc0) return 2;
if((byte)(b&0xf0)==(byte)0xe0) return 3;
return 1;
}
}





PORCHERIA

FIRMA FOTTUTAMENTE EDITATA. IL FOTTUTO STAFF.
 

Mai più giorni felici


#47 Guest_ally_*

Guest_ally_*
  • Ospiti

Inviato 12 settembre 2012 - 08:19

PORCHERIA


...una delle tante classi che compongono la libreria jsch...per la cronaca è usata da idioti come :


...si porcheria...

#48 Sgobbone

Sgobbone

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 56.433 Messaggi:

Inviato 12 settembre 2012 - 08:45

in b4 trallallero
in b4 tigershark
in b4 tigershark vs trallallero

Tc5wAeT.jpg

dimmelo tu, cosa dovevo fare...
forse chissà, forse potrei cambiare...


#49 balint

balint

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 54.221 Messaggi:

Inviato 12 settembre 2012 - 08:51

in b4 Java - L'hondon edition

#50 abcdef

abcdef

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStelletta
  • 5.541 Messaggi:

Inviato 12 settembre 2012 - 09:02

in b4 trallallero
in b4 tigershark
in b4 tigershark vs trallallero


:megusta:

Sono un aflabeto :v ⎝o͜ﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞﱞo⎠


#51 TigerShark

TigerShark

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 16.685 Messaggi:

Inviato 12 settembre 2012 - 12:19

...una delle tante classi che compongono la libreria jsch...per la cronaca è usata da idioti come :



...si porcheria...

e' una schifezza totale, la puo' usare anche gesu' cristo, ma tale resta.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand"

E la' ci sono metodi che hanno una complessita' ciclomatica oscena.

Messaggio modificato da TigerShark il 12 settembre 2012 - 12:20

I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.

#52 PhilSuperjoint

PhilSuperjoint

    Schiavo

  • Donatori di sperma
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 35.295 Messaggi:

Inviato 12 settembre 2012 - 12:22

e' una schifezza totale, la puo' usare anche gesu' cristo, ma tale resta.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand"

E la' ci sono metodi che hanno una complessita' ciclomatica oscena.


Voglio ricordarti di come sia riuscito a trasformare del semplice pane di semola di grano tenero in delle gustose orate...
Se prendo in mano quelle righe di codice ti sforno il programma definitivo

I'm a man too brave to follow history...


#53 Guren

Guren

    Da schiavo a schiavista

  • Grandi donatori di sperma
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 25.565 Messaggi:

Inviato 13 settembre 2012 - 03:24

la superbia non era mica un peccato capitale? (chiedo, non sono molto ferrato in materia)

EDIT : inoltre sempre se non ricordo male non hai trasformato il pane in pesc(i)e ma hai moltiplicato i pani e, mentre mia madre succhia cazzi, i pesci ergo avevi entrambi a disposizione

Messaggio modificato da Guren il 13 settembre 2012 - 03:25

In tutta la sua vita,

quante volte può riuscire un uomo

a fermare le lacrime di una donna?

#54 Jabberwock

Jabberwock

    Schiavo

  • Membri
  • StellettaStellettaStellettaStellettaStelletta
  • 3.035 Messaggi:

Inviato 13 settembre 2012 - 07:08

la superbia non era mica un peccato capitale? (chiedo, non sono molto ferrato in materia)

EDIT : inoltre sempre se non ricordo male non hai trasformato il pane in pesc(i)e ma hai moltiplicato i pani e, mentre mia madre succhia cazzi, i pesci ergo avevi entrambi a disposizione


Infatti trasformo' l'acqua in vino... a questo scopo, abbiamo una diapositiva
Immagine inserita

15 maggio 2008 :cry:
11 marzo 2013 :cry:
26 febbraio 2014 :cry:


#55 Guren

Guren

    Da schiavo a schiavista

  • Grandi donatori di sperma
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 25.565 Messaggi:

Inviato 13 settembre 2012 - 07:52

mi hai strappato un sorriso, bacino piu' che meritato :sisi:
In tutta la sua vita,

quante volte può riuscire un uomo

a fermare le lacrime di una donna?

#56 toyo

toyo

    sono triste

  • Donatori di sperma
  • StellettaStellettaStellettaStellettaStellettaStellettaStelletta
  • 44.062 Messaggi:

Inviato 13 settembre 2012 - 19:42

...una delle tante classi che compongono la libreria jsch...per la cronaca è usata da idioti come :



...si porcheria...



cosa vuol dire?


il fatto che funzioni e che sia usata non vuol dire nulla


se devi modificare quel codice? quanto tempo ci metti a capire cosa fa? complessità ciclomatica? commenti?





tiger sono preso duro con robe tipo MEF, TPL, sync/await... tutto in scrum, con tfs, vs2012... mi diverto un sacco

FIRMA FOTTUTAMENTE EDITATA. IL FOTTUTO STAFF.
 

Mai più giorni felici