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/bash | |
# 输出分隔符 | |
function separator () { | |
echo '-------------------------------------------------------------------------------' | |
} | |
# 输出当前目录中的文件列表 | |
function show_files () { | |
count=0 |
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
// | |
// main.c | |
// Shell | |
// | |
// Created by Bitex Kuang on 4/2/15. | |
// Copyright (c) 2015 Bitex. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <unistd.h> |
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/env python | |
import socket | |
import time | |
BUFFSIZE = 1024 | |
NS_HOST = 'localhost' | |
NS_PORT = 53333 |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Directions</name> | |
<identifier>private.directions</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::I, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L, | |
KeyCode::CURSOR_UP | |
</autogen> |
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
package lexer; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Lexer { |
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
package me.kyouko.syntaxanalyzer; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class SyntaxAnalyzer { | |
String input; | |
List<Token> tokens; |
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
// Blablabla | |
/** | |
* Loads and switches to a new fragment. | |
* If a fragment with {@code tag} has already been loaded and was detached from the container, | |
* this method will detach the current fragment and reattach the fragment back again, instead | |
* of creating a new instance of the target fragment. | |
* | |
* @param cls {@code Class} of the new fragment | |
* @param tag a tag to identify a fragment |
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
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
OPENCV_INSTALL_MODULES:=on | |
OPENCV_CAMERA_MODULES:=on | |
OPENCV_LIB_TYPE := STATIC | |
include $(LOCAL_PATH)/OpenCV.mk |
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
package com.example.yourapp; | |
import android.util.Log; | |
import org.opencv.android.OpenCVLoader; | |
import org.opencv.core.Mat; | |
import java.util.ArrayList; | |
public class CvUtil { |
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
/* DO NOT EDIT THIS FILE - it is machine generated */ | |
#include <jni.h> | |
/* Header for class com_example_yourapp_CvUtil */ | |
#ifndef _Included_com_example_yourapp_CvUtil | |
#define _Included_com_example_yourapp_CvUtil | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
/* |
OlderNewer