Code Monkey home page Code Monkey logo

codemeow's Introduction

Code Meow Universe!

概要

コードの断片を使いやすい形で保存しておくためのツールです。
http://app.codemeow-universe.com/register

使い方

  1. ログインを行うと、以下のようなメニューが表示されます。 メニュー画面

  2. ソースコードファイルを読み込ませることで簡単にコードを保存できます。 作成画面 コード保存時、以下のような内容を設定できます。

  • チャプター名 "C++基礎文法"、"Python ML"などの大きな枠でコードを分類します。 チャプター名はコード作成時に入力します。
  • セクション名 セクションはチャプターの中に複数設定できます。 例えば、"C++基礎文法"チャプターの中に"2次元ベクトル"、"関数の定義"などのセクションを設定することで、コードを探しやすくすることができます。 セクション名はアップロードするファイルの名前に設定されます。
  • コードの説明 コードにつけるタイトルのようなものです。 例えば、"ベクトルに要素を追加する"のように設定します。 コードの説明は以下のようにコメントで設定します。
//[sq]Define Vector {1,2,10,12,15} as arr1
  • コード内容 コードを記述します。

以下はアップロードするソースコードの例です。

#include<iostream>
#include<vector>
using namespace std;

int main(){
	//[mq]C++ Grammar
	//[sq]Define Vector {1,2,10,12,15} as arr1
	vector<int> arr1 = {1,2,10,12,15};
	//[sq]Fill Constructor {7, 7, 7, 7, 7, 7, 7, 7, 7, 7}
	vector<int> arr(10,7);
	//[sq]Fill Constructor {0, 0, 0, ..., 0, 0}
	vector<int> visited(100,0);
	//[sq]Pop_back(remove the last one)
	arr.pop_back();
	//[sq]Push_Back O(1)
	arr.push_back(16);
	//[sq]Print all the elements
	for(int x : arr){
		cout << x <<",";
	}
	for(int i=0;i< arr.size(); i++){
		cout << arr[i] <<endl;
	}
	//[sq]Size of the vector
	cout << arr.size() << endl;
	//[sq]Capacity of the vector
	cout << arr.capacity() << endl;
	return 0;
}
  1. 保存したコードは以下のように表示されます。 表示画面

codemeow's People

Contributors

rininmmmment avatar

Watchers

 avatar

codemeow's Issues

マークダウン表示機能

  • 全てのsqに対し、直下の/**/内のテキストをマークダウン表示する。
    例えば、
//[sq]変数の定義
/*
# 変数とは
値を入れておく箱みたいなものだよ
*/

管理者機能

  • 更新情報画面をメニューに追加
  • /にPRページを追加
  • 管理者権限の場合メニューボタンに更新情報追加ボタンを表示

PLAY CODE機能追加

最低限必要な機能は全部つけちゃおう!

  • 編集機能
  • 削除機能(1つずつ、複数一括、sec、chapごと)
  • レスポンシブ対応:改

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.