This file contains hidden or 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
(add-to-list 'load-path "/opt/KusoIDE/kuso.d") | |
(setq developer-name "Amir Hooshangi") | |
(setq developer-email "[email protected]") | |
(setq kuso-workspace "~/kuso-workspace/") | |
(setq el-get-dir "/opt/KusoIDE/kuso.d/") | |
(setq el-get-git-install-url "http://github.com/KusoIDE/el-get.git") | |
(add-to-list 'load-path "/opt/KusoIDE/kuso.d/el-get/") |
This file contains hidden or 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
@protocol shape | |
@interface a : NSObject <shape> | |
@interface b : NSObject <shape> | |
========== | |
Shape a* = [[a alloc] init] |
This file contains hidden or 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
public interface Man{ | |
void sayHi(); | |
} | |
public class Male implements Man{ | |
sayHi(){ | |
System.out.println("im male"); | |
} | |
} |
This file contains hidden or 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
###################################### | |
CoffeeScript | |
###################################### | |
@user_controller = ($scope, $http) -> | |
$scope.create_user = () -> | |
user = | |
user: | |
name: $scope.firstName | |
user_name: $scope.userName |
This file contains hidden or 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
ViewGroup parent = (ViewGroup) inflater.inflate(R.layout.order_fragment_container, | |
null); | |
for (int i = 0; i < 3; i++) { | |
View custom = inflater.inflate(R.layout.order_form, null); | |
TextView tv = (TextView) custom.findViewById(R.id.myTextView); | |
tv.setText("Custom View " + i); | |
This file contains hidden or 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
def recursiveTypefinder(parse: opennlp.tools.parser.Parse): String = { | |
/* | |
* TODO: CHECKING ONE OR TWO WORDS NP's | |
*/ | |
if (parse.getType().equals("NN") || parse.getType().equals("JJ") | |
|| parse.getType().equals("NNS") | |
|| parse.getType().equals("NNP")) { | |
return parse.getCoveredText | |
} |
This file contains hidden or 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
settings = Project.defaultSettings ++ Seq( | |
name := "ACMG-S", | |
fork := true, | |
... |
This file contains hidden or 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 java.io.BufferedInputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.net.Socket; | |
public class Client { |
This file contains hidden or 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 java.io.BufferedOutputStream; | |
import java.io.DataInputStream; | |
import java.io.DataOutputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
public class Server { |
This file contains hidden or 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
def recursiveTypefinder(parse: opennlp.tools.parser.Parse): Unit = { | |
if (parse.getType().equals("NN") || parse.getType().equals("JJ") | |
|| parse.getType().equals("NNS") | |
|| parse.getType().equals("NNP")) { | |
println(parse.getCoveredText) | |
concepts.add(parse.getCoveredText) | |
} | |
for (child <- parse.getChildren) { |
OlderNewer