code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
12cs6300t211
trunk/hooks/.svn/text-base/post-commit.tmpl.svn-base
Shell
mit
2,027
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
12cs6300t211
trunk/hooks/.svn/text-base/start-commit.tmpl.svn-base
Shell
mit
2,845
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
12cs6300t211
trunk/hooks/.svn/text-base/pre-revprop-change.tmpl.svn-base
Shell
mit
2,852
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
12cs6300t211
trunk/hooks/pre-lock.tmpl
Shell
mit
2,513
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
12cs6300t211
trunk/hooks/pre-unlock.tmpl
Shell
mit
2,193
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
12cs6300t211
trunk/hooks/post-commit.tmpl
Shell
mit
2,027
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
12cs6300t211
trunk/hooks/pre-commit.tmpl
Shell
mit
3,513
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
12cs6300t211
trunk/hooks/pre-revprop-change.tmpl
Shell
mit
2,852
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
12cs6300t211
trunk/hooks/post-unlock.tmpl
Shell
mit
1,609
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPane; /** * * @author Administrator */ public class jCLass_PhanPre implements Interface_...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jCLass_PhanPre.java
Java
gpl3
4,501
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * Các thông tin về lỗi của phần khai báo * @author Administrator */ public enum jEnum_Loi { CacBienTrungTen ("Tồn tại tham số hoặc giá trị trả về trùng tên nhau!"), Ch...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_Loi.java
Java
gpl3
721
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Administrator */ public class jClass_GiaTri { public static Boolean jKiemTraChuoiHopDinhDang(S...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_GiaTri.java
Java
gpl3
523
/* * _Bai02_PhanTichPhanKhaiBaoAboutBox.java */ package _bai02_phantichphankhaibao; import org.jdesktop.application.Action; public class _Bai02_PhanTichPhanKhaiBaoAboutBox extends javax.swing.JDialog { public _Bai02_PhanTichPhanKhaiBaoAboutBox(java.awt.Frame parent) { super(parent); initCompon...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/_Bai02_PhanTichPhanKhaiBaoAboutBox.java
Java
gpl3
7,486
/* * _Bai02_PhanTichPhanKhaiBaoApp.java */ package _bai02_phantichphankhaibao; import org.jdesktop.application.Application; import org.jdesktop.application.SingleFrameApplication; /** * The main class of the application. */ public class _Bai02_PhanTichPhanKhaiBaoApp extends SingleFrameApplication { /** ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/_Bai02_PhanTichPhanKhaiBaoApp.java
Java
gpl3
1,276
/* * _Bai02_PhanTichPhanKhaiBaoView.java */ package _bai02_phantichphankhaibao; import java.awt.Color; import java.io.FileNotFoundException; import java.util.logging.Level; import java.util.logging.Logger; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.appli...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/_Bai02_PhanTichPhanKhaiBaoView.java
Java
gpl3
49,588
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * Các chuổi định dạng (RegEx) cho tên biến, kiểu dữ liệu... * @author Administrator */ public enum jEnum_ChuoiDinhDang { TenBien ("[A-Za-z0-9_]+"), TenHam ("[A-Za-z0-9...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_ChuoiDinhDang.java
Java
gpl3
1,028
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * VM i TH {1 .. n-1} * @author Administrator */ public class jClass_PhanKhaiBaoBieuThucLuongTu implements Inte...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_PhanKhaiBaoBieuThucLuongTu.java
Java
gpl3
6,470
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPane; /** * //(VM i TH {1 .. n-1}. TT j TH{1 .. n-2}. (x[i] > ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_BieuThucLuongTu.java
Java
gpl3
11,543
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * * @author Administrator */ public enum jEnum_BieuThucLuongTu { VoiMoi ("VM"), TonTai ("TT"); private String value; jEnum_BieuThucLuongTu(String value) { ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_BieuThucLuongTu.java
Java
gpl3
643
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * * @author Administrator */ public interface Interface_CacThanhPhanDacTa { /** * * Tách chuổi và đưa và các thuộc tính của lớp jClass_PhaKhaiBao * @param ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/Interface_CacThanhPhanDacTa.java
Java
gpl3
908
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.ArrayList; /** * * @author Administrator */ public class jClass_BoTaoCode { /** * Chuyển kiểu dữ liệu từ ngôn ngữ đặc tả sang ngôn ngữ lập trình *...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_BoTaoCode.java
Java
gpl3
39,452
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Administrator */ public class jClass_TenBien { public static Boolean jKiemTraChuoiHopDinhDang(...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_TenBien.java
Java
gpl3
525
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * * @author Administrator */ enum jEnum_DauPhanCach{ //Doi voi cac ky tu dac biet phai dung them dau '\\' TenHam_PhanConLai("\\("), GiaTriTraVe_CacThamSo("\\)"), ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_DauPhanCach.java
Java
gpl3
543
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * * @author Administrator */ public enum jEnum_CacKyTuDacBietCoTheChoNguoiDungDinhNghia { Thuoc ("TH"); private String value; jEnum_CacKyTuDacBietCoTheChoNguoiDu...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_CacKyTuDacBietCoTheChoNguoiDungDinhNghia.java
Java
gpl3
673
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPane; /** * * @author Administrator */ public class jClass_BieuThucLogic implements Inte...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_BieuThucLogic.java
Java
gpl3
4,501
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * Lưu thông tin của một lỗi * @author Administrator */ public class jClass_Loi { private jEnum_Loi _MoTa; private int _ViTri; private String _ThongTinBoSung; ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_Loi.java
Java
gpl3
1,646
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * mot truong hop dac ta cho ra mot ket qua cu the * vi du: (K1 = a) /\ (a >= b) * @author Administrator */ pu...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_TruongHopDacTa.java
Java
gpl3
4,557
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.ArrayList; import java.util.regex.*; import javax.swing.JOptionPane; /** * * @author Administrator */ public class jClass_PhanKhaiBao implements Interface_CacThan...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_PhanKhaiBao.java
Java
gpl3
18,503
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JOptionPane; /** * * @author Administrator */ public class jClass_PhanPost implements Interface...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_PhanPost.java
Java
gpl3
5,861
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Administrator */ public class jClass_Bien { private String _Ten; private String _KieuDuLie...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_Bien.java
Java
gpl3
2,541
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; /** * * @author Administrator */ public enum jEnum_ThongTinBoSung { /** * ví dụ: dấu tab giửa: Tên hàm: 'và' abc */ KhoangCachTrongMotPhan("\t"), /** * ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jEnum_ThongTinBoSung.java
Java
gpl3
1,146
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.text.html.HTMLDocument; import javax.swing.text.html.HTMLWriter; /** * Phần đặc tả cần phát sinh ...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_PhanDacTa.java
Java
gpl3
10,710
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package _bai02_phantichphankhaibao; import java.awt.Color; import javax.swing.text.MutableAttributeSet; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; /** * * @author Administra...
0512324-0512328-dactahinhthuc
trunk/ 0512324-0512328-dactahinhthuc/0512324_Bai02_PhanTichPhanKhaiBao/src/_bai02_phantichphankhaibao/jClass_CacStyleChuoi.java
Java
gpl3
1,342
all: 8g cw-decode.go 8l -o cw-decode cw-decode.8 clean: rm -f *.8 cw-decode
05eugene-swakl842kci49cfkme
Makefile
Makefile
bsd
83
/* Go program to decode an audio stream of Morse code into a stream of ASCII. See the ALGORITHM file for a description of what's going on, and 'proof.hs' as the original proof-of-concept implementation of this algorithm in Haskell. */ package main import ( "fmt" "math" "rand" "sort" ) type token int ...
05eugene-swakl842kci49cfkme
cw-decode.go
Go
bsd
5,695
-- cabal install WAVE -- runghc proof.hs -- -- The input file has to be called sound.wav in the current dir. -- -- Haskell proof-of-concept of stages 1/2/3 (see ALGORITHM). module Main where import Control.Monad import Data.WAVE import Data.Int import Data.List (group, sort) -- Take a flat stream and break it into c...
05eugene-swakl842kci49cfkme
proof.hs
Haskell
bsd
7,195
// A basic package to decode Wave files. package audio import ( "rog-go.googlecode.com/hg/exp/abc" "os" "fmt" "io" "encoding/binary" "reflect" "strings" ) func init() { Register("readwav", wInput, map[string]abc.Socket { "out": abc.Socket{SamplesT, abc.Male}, "1": abc.Socket{abc.StringT, abc.Female}, ...
05eugene-swakl842kci49cfkme
wave-decoder.go
Go
bsd
10,331
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/YangchengTong.java
Java
gpl3
3,614
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/PbocCard.java
Java
gpl3
6,729
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/WuhanTong.java
Java
gpl3
3,440
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/BeijingMunicipal.java
Java
gpl3
3,645
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/ChanganTong.java
Java
gpl3
2,713
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/HardReader.java
Java
gpl3
5,670
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/pboc/ShenzhenTong.java
Java
gpl3
2,680
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/CardManager.java
Java
gpl3
2,264
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/VicinityCard.java
Java
gpl3
6,929
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/card/OctopusCard.java
Java
gpl3
3,704
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WA...
1269622-nfcard
src/com/sinpo/xnfc/Util.java
Java
gpl3
2,494
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WA...
1269622-nfcard
src/com/sinpo/xnfc/tech/FeliCa.java
Java
gpl3
17,542
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/tech/Iso7816.java
Java
gpl3
11,867
/* NFCard is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. NFCard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
1269622-nfcard
src/com/sinpo/xnfc/NFCard.java
Java
gpl3
8,478
package org.sshtunnel; import java.util.List; import org.sshtunnel.db.Profile; import org.sshtunnel.db.ProfileFactory; import org.sshtunnel.utils.Constraints; import org.sshtunnel.utils.Utils; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.cont...
07pratik-mysshpratik
src/org/sshtunnel/ConnectivityBroadcastReceiver.java
Java
gpl3
3,881
/* sshtunnel - SSH Tunnel App for Android * Copyright (C) 2011 Max Lv <max.c.lv@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at...
07pratik-mysshpratik
src/org/sshtunnel/SSHTunnelService.java
Java
gpl3
36,266
package org.sshtunnel; public class Option implements Comparable<Option>{ private String name; private String data; private String path; public Option(String n,String d,String p) { name = n; data = d; path = p; } @Override public int compareTo(Option o) { if(this.name != null) retu...
07pratik-mysshpratik
src/org/sshtunnel/Option.java
Java
gpl3
595
/* sshtunnel - SSH Tunnel App for Android * Copyright (C) 2011 Max Lv <max.c.lv@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at...
07pratik-mysshpratik
src/org/sshtunnel/SSHTunnelWidgetProvider.java
Java
gpl3
5,795
package org.sshtunnel.utils; import android.graphics.drawable.Drawable; public class ProxyedApp { private boolean enabled; private int uid; private String username; private String procname; private String name; private boolean proxyed = false; /** * @return the name */ public String ...
07pratik-mysshpratik
src/org/sshtunnel/utils/ProxyedApp.java
Java
gpl3
1,527
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
07pratik-mysshpratik
src/org/sshtunnel/utils/DomainValidator.java
Java
gpl3
20,089
package org.sshtunnel.utils; /** * <p>Encodes and decodes to and from Base64 notation.</p> * <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p> * * <p>Example:</p> * * <code>String encoded = Base64.encode( myByteArray );</code> * <br /> * <code>byte[] myByteArray = Base64.dec...
07pratik-mysshpratik
src/org/sshtunnel/utils/Base64.java
Java
gpl3
86,830
package org.sshtunnel.utils; import org.sshtunnel.R; import org.sshtunnel.SSHTunnel; import org.sshtunnel.SSHTunnelContext; import org.sshtunnel.SSHTunnelService; import org.sshtunnel.db.Profile; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; im...
07pratik-mysshpratik
src/org/sshtunnel/utils/Utils.java
Java
gpl3
2,775
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
07pratik-mysshpratik
src/org/sshtunnel/utils/RegexValidator.java
Java
gpl3
7,621
package org.sshtunnel.utils; import java.io.IOException; import java.net.Socket; import android.util.Log; public class InnerSocketBuilder { private String proxyHost = "127.0.0.1"; private int proxyPort = 1053; private Socket innerSocket = null; private boolean isConnected = false; private final String TAG =...
07pratik-mysshpratik
src/org/sshtunnel/utils/InnerSocketBuilder.java
Java
gpl3
1,266
package org.sshtunnel.utils; public class Constraints { public static final String ID = "profile_id"; public static final String NAME = "name"; public static final String USER = "user"; public static final String PASSWORD = "password"; public static final String HOST = "host"; public static final Stri...
07pratik-mysshpratik
src/org/sshtunnel/utils/Constraints.java
Java
gpl3
2,205
package org.sshtunnel; import java.io.IOException; public interface WrapServer extends Runnable { public abstract void close() throws IOException; public abstract int getServPort(); public abstract boolean isClosed(); public abstract void setProxyHost(String host); public abstract void setProxyPort(int port...
07pratik-mysshpratik
src/org/sshtunnel/WrapServer.java
Java
gpl3
442
/* sshtunnel - SSH Tunnel App for Android * Copyright (C) 2011 Max Lv <max.c.lv@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your ...
07pratik-mysshpratik
src/org/sshtunnel/SSHTunnel.java
Java
gpl3
32,542
package org.sshtunnel; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import jav...
07pratik-mysshpratik
src/org/sshtunnel/DNSServer.java
Java
gpl3
18,627
package org.sshtunnel; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.HashMap; import java.util.Stack; import org.sshtunnel.utils.Utils; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import androi...
07pratik-mysshpratik
src/org/sshtunnel/ImageLoader.java
Java
gpl3
5,735
package org.sshtunnel; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.sshtunnel.utils.Constraints; import android.app.ListActivity; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; im...
07pratik-mysshpratik
src/org/sshtunnel/FileChooser.java
Java
gpl3
2,352
package org.sshtunnel; import org.sshtunnel.db.Profile; import org.sshtunnel.db.ProfileFactory; import org.sshtunnel.utils.Constraints; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bun...
07pratik-mysshpratik
src/org/sshtunnel/FingerPrintDialog.java
Java
gpl3
2,941
package org.sshtunnel.db; import java.util.List; import org.sshtunnel.SSHTunnelContext; import org.sshtunnel.utils.Constraints; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.preference.PreferenceManager; import android.util.Log; import com.j256...
07pratik-mysshpratik
src/org/sshtunnel/db/ProfileFactory.java
Java
gpl3
7,394
package org.sshtunnel.db; import java.sql.SQLException; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.support.ConnectionSource; import c...
07pratik-mysshpratik
src/org/sshtunnel/db/DatabaseHelper.java
Java
gpl3
3,593
/* sshtunnel - SSH Tunnel App for Android * Copyright (C) 2011 Max Lv <max.c.lv@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at...
07pratik-mysshpratik
src/org/sshtunnel/SSHTunnelReceiver.java
Java
gpl3
2,772
package org.sshtunnel; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class FileArrayAdapter extends ArrayAdapter<Option>{ p...
07pratik-mysshpratik
src/org/sshtunnel/FileArrayAdapter.java
Java
gpl3
1,549
package org.sshtunnel; import android.app.Application; import android.content.Context; public class SSHTunnelContext extends Application { private static Context context; public void onCreate() { SSHTunnelContext.context = getApplicationContext(); } public...
07pratik-mysshpratik
src/org/sshtunnel/SSHTunnelContext.java
Java
gpl3
404
/* Copyright (c) 2009, Nathan Freitas, Orbot / The Guardian Project - http://openideals.com/guardian */ /* See LICENSE for licensing information */ package org.sshtunnel; import java.util.Arrays; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.StringTokenizer; ...
07pratik-mysshpratik
src/org/sshtunnel/AppManager.java
Java
gpl3
10,262
// dbartists - Douban artists client for Android // Copyright (C) 2011 Max Lv <max.c.lv@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licens...
07pratik-mysshpratik
src/org/sshtunnel/ImageLoaderFactory.java
Java
gpl3
1,942
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InterruptedIOException; import java.io.PrintStream; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; import net.sourceforge.js...
07pratik-mysshpratik
src/net/sourceforge/jsocks/UDPRelayServer.java
Java
gpl3
5,817
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** * Proxy which describes SOCKS4 proxy. */ public class Socks4Proxy extends Proxy implements Cloneable { // Data members String user; // ...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Socks4Proxy.java
Java
gpl3
3,183
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** * SOCKS5 request/response message. */ public class Socks5Message extends ProxyMess...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Socks5Message.java
Java
gpl3
8,675
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** * SOCKS4 Reply/Request message. */ public class Socks4Message extends ProxyMessage...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Socks4Message.java
Java
gpl3
4,198
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** * Abstract class which describes SOCKS4/5 response/request. */ public abstract class ProxyMessage { static final St...
07pratik-mysshpratik
src/net/sourceforge/jsocks/ProxyMessage.java
Java
gpl3
3,184
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Enumeration; import java.util.Hashtable; /** *...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Socks5Proxy.java
Java
gpl3
7,257
package net.sourceforge.jsocks; /** * The Authentication interface provides for performing method specific * authentication for SOCKS5 connections. */ public interface Authentication { /** * This method is called when SOCKS5 server have selected a particular * authentication method, for whch an implem...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Authentication.java
Java
gpl3
1,663
package net.sourceforge.jsocks; /** * SOCKS5 none authentication. Dummy class does almost nothing. */ public class AuthenticationNone implements Authentication { @Override public Object[] doSocksAuthentication(int methodId, java.net.Socket proxySocket) throws java.io.IOException { if (methodId !=...
07pratik-mysshpratik
src/net/sourceforge/jsocks/AuthenticationNone.java
Java
gpl3
444
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; /** * SocksSocket tryies to look very similar to normal Socket, w...
07pratik-mysshpratik
src/net/sourceforge/jsocks/SocksSocket.java
Java
gpl3
9,224
package net.sourceforge.jsocks; /** * This interface provides for datagram encapsulation for SOCKSv5 protocol. * <p> * SOCKSv5 allows for datagrams to be encapsulated for purposes of integrity * and/or authenticity. How it should be done is aggreed during the * authentication stage, and is authentication d...
07pratik-mysshpratik
src/net/sourceforge/jsocks/UDPEncapsulation.java
Java
gpl3
1,349
package net.sourceforge.jsocks; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.io.PrintStream; import java.io.PushbackInputStream; import java.net.ConnectException; import java.net.InetAddres...
07pratik-mysshpratik
src/net/sourceforge/jsocks/ProxyServer.java
Java
gpl3
15,938
package net.sourceforge.jsocks; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; /** * SocksServerSocket allows to accept connections from one particular host * through the...
07pratik-mysshpratik
src/net/sourceforge/jsocks/SocksServerSocket.java
Java
gpl3
4,736
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PushbackInputStream; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** * An implementation of S...
07pratik-mysshpratik
src/net/sourceforge/jsocks/server/ServerAuthenticatorNone.java
Java
gpl3
4,784
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.DatagramPacket; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** * Classes implementing this ...
07pratik-mysshpratik
src/net/sourceforge/jsocks/server/ServerAuthenticator.java
Java
gpl3
4,551
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; /** * Abstract class Proxy, base for classes Socks4Proxy an...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Proxy.java
Java
gpl3
11,574
package net.sourceforge.jsocks; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InterruptedIOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; /** * Datagram socket to interract through the firewall.<BR> * Can be used s...
07pratik-mysshpratik
src/net/sourceforge/jsocks/Socks5DatagramSocket.java
Java
gpl3
15,375
package net.sourceforge.jsocks; /** * Exception thrown by various socks classes to indicate errors with protocol or * unsuccessful server responses. */ public class SocksException extends java.io.IOException { private static final long serialVersionUID = 6141184566248512277L; static final String UNASSIG...
07pratik-mysshpratik
src/net/sourceforge/jsocks/SocksException.java
Java
gpl3
2,310
package com.trilead.ssh2; /** * An abstract marker interface implemented by all proxy data implementations. * * @see HTTPProxyData * * @author Christian Plattner, plattner@trilead.com * @version $Id: ProxyData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public abstract interface ProxyData { ...
07pratik-mysshpratik
src/com/trilead/ssh2/ProxyData.java
Java
gpl3
323
package com.trilead.ssh2; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.nio.charset.Charset; import java.util.HashMap; import java.util.Vector; import com.trilead.ssh2.packets.TypesReader; i...
07pratik-mysshpratik
src/com/trilead/ssh2/SFTPv3Client.java
Java
gpl3
40,591
package com.trilead.ssh2; /** * An <code>InteractiveCallback</code> is used to respond to challenges sent by * the server if authentication mode "keyboard-interactive" is selected. * * @see Connection#authenticateWithKeyboardInteractive(String, String[], * InteractiveCallback) * * @author Christ...
07pratik-mysshpratik
src/com/trilead/ssh2/InteractiveCallback.java
Java
gpl3
2,470
package com.trilead.ssh2; /** * A <code>DHGexParameters</code> object can be used to specify parameters for * the diffie-hellman group exchange. * <p> * Depending on which constructor is used, either the use of a * <code>SSH_MSG_KEX_DH_GEX_REQUEST</code> or * <code>SSH_MSG_KEX_DH_GEX_REQUEST_OLD</code> c...
07pratik-mysshpratik
src/com/trilead/ssh2/DHGexParameters.java
Java
gpl3
3,732
package com.trilead.ssh2; /** * A <code>ConnectionMonitor</code> is used to get notified when the underlying * socket of a connection is closed. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ConnectionMonitor.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public interface Con...
07pratik-mysshpratik
src/com/trilead/ssh2/ConnectionMonitor.java
Java
gpl3
1,250
package com.trilead.ssh2; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * A very basic <code>SCPClient<...
07pratik-mysshpratik
src/com/trilead/ssh2/SCPClient.java
Java
gpl3
19,058
package com.trilead.ssh2; import java.io.IOException; /** * May be thrown upon connect() if a HTTP proxy is being used. * * @see Connection#connect() * @see Connection#setProxyData(ProxyData) * * @author Christian Plattner, plattner@trilead.com * @version $Id: HTTPProxyException.java,v 1.1 2007/10...
07pratik-mysshpratik
src/com/trilead/ssh2/HTTPProxyException.java
Java
gpl3
795
package com.trilead.ssh2.sftp; /** * * SFTP Error Codes * * @author Christian Plattner, plattner@trilead.com * @version $Id: ErrorCodes.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class ErrorCodes { public static final int SSH_FX_OK = 0; public static final int SSH_FX_EOF = 1; p...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/ErrorCodes.java
Java
gpl3
5,920