Repository: unbug/codelf
Branch: master
Commit: 0bfb88a8d297
Files: 132
Total size: 3.4 MB
Directory structure:
gitextract_0hg9fq90/
├── .editorconfig
├── .eslintrc.js
├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── __static/
│ ├── app/
│ │ ├── cache.manifest
│ │ ├── ddms_frame_callback.html
│ │ ├── html/
│ │ │ ├── bookmark.html
│ │ │ ├── components.html
│ │ │ ├── donate.html
│ │ │ ├── main.html
│ │ │ ├── scripts.html
│ │ │ ├── sourcecode.html
│ │ │ └── styles.html
│ │ ├── index.html
│ │ ├── resources/
│ │ │ ├── css/
│ │ │ │ ├── prettify.css
│ │ │ │ └── style.css
│ │ │ └── fonts/
│ │ │ └── FontAwesome.otf
│ │ ├── scss/
│ │ │ ├── _animate.scss
│ │ │ ├── _bookmark.scss
│ │ │ ├── _components.scss
│ │ │ ├── _donate.scss
│ │ │ ├── _main.scss
│ │ │ ├── _sourcecode.scss
│ │ │ ├── _util.scss
│ │ │ └── style.scss
│ │ ├── src/
│ │ │ ├── App.js
│ │ │ ├── AppBundle.js
│ │ │ ├── Util.js
│ │ │ ├── lib/
│ │ │ │ ├── all.js
│ │ │ │ ├── fastclick.js
│ │ │ │ ├── jquery.highlight.js
│ │ │ │ └── prettify.js
│ │ │ ├── model/
│ │ │ │ ├── BookmarkModel.js
│ │ │ │ ├── DDMSModel.js
│ │ │ │ ├── Database.js
│ │ │ │ ├── Model.js
│ │ │ │ ├── SearchcodeModel.js
│ │ │ │ └── YoudaoTranslateModel.js
│ │ │ └── view/
│ │ │ ├── BookmarkView.js
│ │ │ └── View.js
│ │ └── sw.js
│ └── data/
│ └── repos.json
├── app/
│ ├── ddms_frame_callback.html
│ ├── index.html
│ └── opensearch.xml
├── assets/
│ ├── codelf_logo.psd
│ └── fonts/
│ └── FontAwesome.otf
├── babel.config.js
├── build-system/
│ ├── build.js
│ ├── clean.js
│ ├── default.js
│ ├── dist.js
│ ├── lint.js
│ ├── server.js
│ └── util.js
├── dist/
│ ├── css/
│ │ ├── app.css
│ │ ├── app.f1364fce.css
│ │ ├── lib.b0f67b98.css
│ │ ├── lib.css
│ │ └── themes/
│ │ └── default/
│ │ └── assets/
│ │ └── fonts/
│ │ └── icons.otf
│ ├── ddms_frame_callback.html
│ ├── fonts/
│ │ └── FontAwesome.otf
│ ├── index.html
│ ├── js/
│ │ ├── app.792fa086.js
│ │ ├── app.js
│ │ ├── lib.5e430a5b.js
│ │ └── lib.js
│ ├── opensearch.xml
│ └── sw.js
├── gulpfile.js
├── lib.config.js
├── package.json
├── src/
│ ├── App.js
│ ├── components/
│ │ ├── Bookmark.js
│ │ ├── Copybook.js
│ │ ├── Donate.js
│ │ ├── Doodle.js
│ │ ├── Loading.js
│ │ ├── SearchBar.js
│ │ ├── SearchError.js
│ │ ├── SourceCode.js
│ │ ├── Suggestion.js
│ │ ├── TitleLogo.js
│ │ ├── VariableItem.js
│ │ ├── VariableList.js
│ │ └── hooks/
│ │ └── useCodeHighlighting.js
│ ├── constants/
│ │ └── Configs.js
│ ├── containers/
│ │ ├── CopybookContainer.js
│ │ ├── MainContainer.js
│ │ ├── NavBarContainer.js
│ │ └── NoticeContainer.js
│ ├── models/
│ │ ├── AppModel.js
│ │ ├── BaseModel.js
│ │ ├── CopybookModel.js
│ │ ├── DDMSModel.js
│ │ ├── ErrorModel.js
│ │ ├── SearchCodeModel.js
│ │ ├── Store.js
│ │ └── metadata/
│ │ ├── BaiduTranslateData.js
│ │ ├── BingTranslateData.js
│ │ ├── BookmarkData.js
│ │ ├── GitHubData.js
│ │ └── YoudaoTranslateData.js
│ ├── sw.js
│ ├── utils/
│ │ ├── FormHandler.js
│ │ ├── HashHandler.js
│ │ ├── JSONP.js
│ │ ├── LocalStorage.js
│ │ ├── Navigator.js
│ │ ├── Param.js
│ │ ├── Tools.js
│ │ └── TranslateHandler.js
│ └── vendors/
│ ├── prettify.css
│ └── prettify.js
├── styles/
│ ├── _animation.scss
│ ├── _common.scss
│ ├── _components.scss
│ ├── _constants.scss
│ ├── _containers.scss
│ ├── _copybook-container.scss
│ ├── _donate.scss
│ ├── _doodle.scss
│ ├── _logo.scss
│ ├── _main-container.scss
│ ├── _nav-bar-container.scss
│ ├── _notice-container.scss
│ ├── _source-code.scss
│ ├── _utils.scss
│ └── app.scss
└── webpack.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
================================================
FILE: .eslintrc.js
================================================
module.exports = {
'extends': [
'eslint:recommended',
'plugin:react/recommended'
],
'plugins': [
'react-hooks'
],
'rules': {
'no-unused-vars': [2, {'vars': 'all', 'args': 'none'}],
'no-empty': [0],
'react/prop-types': [0],
'react/no-unescaped-entities': [0],
'react-hooks/rules-of-hooks': 'error',
'no-useless-escape': [0],
'no-control-regex': [0]
},
'env': {
'es6': true,
'node': true,
'browser': true
},
'globals': {
'React': true,
'ReactDOM': true,
'Promise': true,
'd3': true,
'NProgress': true,
'ClipboardJS': true,
'PR': true,
'Mark': true
},
'parser': 'babel-eslint',
'parserOptions': {
'sourceType': 'module'
}
};
================================================
FILE: .gitattributes
================================================
dist -diff
assets -diff
================================================
FILE: .gitignore
================================================
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
.DS_Store
Thumbs.db
.sass-cache
.idea
.vscode
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
package-lock.json
npm-debug.log
node_modules
docs/html
app/css
app/js
app/images
app/fonts
================================================
FILE: LICENSE
================================================
SAY NO TO SUICIDE PUBLIC LICENSE
Version 1.0, September 2017
https://github.com/unbug/snts
Copyright (C) 2017 @unbug
Everyone is permitted to copy and distribute verbatim copies
of this license document.
TERMS AND CONDITIONS FOR USE, REPRODUCTION, MODIFICATION, AND DISTRIBUTION
1. You can do anything with the original copy,
whenever, whatever, no limitation.
2. When you are in despair, just talk to someone you trust,
someone you love. Getting help from your family, your friends,
the police, the community, the public.
3. Keep yourself alive and say no to suicide.
================================================
FILE: README.md
================================================
CODELF(变量命名神器)
=================
A search tool helps dev to solve the naming things problem.
Search over projects from Github, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project, GitLab to find real-world usage variable names.
Also a daily Algorithm Copybook.
Also a GitHub stars, repositories tagger and organizer tool.
>There are only two hard things in Computer Science: cache invalidation and naming things.-- Phil Karlton
>
>

WIKI
=================
[简体中文](https://github.com/unbug/codelf/wiki)
Plugins
=================
### Codelf for VS Code
##### Install
Codelf is on VS Code Extension Marketplace. Just search "codelf" on VS Code EXTENSIONS pane and click install.
##### Usage
1. Select text, right-click and select "Codelf".
### Codelf for Atom
##### Install
Codelf is [on Atom package](https://atom.io/packages/codelf). Search "codelf" on Atom setting pane and click install.Please see [Atom Packages in the Atom Flight Manual](http://flight-manual.atom.io/using-atom/sections/atom-packages/)
##### Usage
1. Select text, right-click and click "Codelf".
2. Open Packages menu select "Codelf"
3. Press CTRL+ALT+E to open Codelf
Also see [How to use Codelf on Atom](https://github.com/unbug/atom-codelf#usage)
### Codelf for Sublime Text
##### Install
1. [Download Codelf for Sublime](https://github.com/unbug/codelf/archive/st-0.0.5.zip) or [Select a "st-" version to download](https://github.com/unbug/codelf/tags)
2. Unzip and rename the folder to `Codelf`
3. Copy the folder into `Packages` directory, which you can find using the menu item `Sublime Text -> Preferences -> Browse Packages...`
4. Restart Sublime Text
##### Usage
1. Select text, right-click and click "Codelf".

2. Open Command Palette using menu item Tools -> Command Palette... --> Type "E" or "Codelf" -->Select "Search Selection" or "Search From Input"

Apps
=================
[Codelf Chrome App](https://chrome.google.com/webstore/detail/codelf-best-github-stars/jnmjaglhmmcplekpfnblniiammmdpaan)
Find me
=================
* Twitter [@unbug](https://twitter.com/unbug)
* 微博 [@听奏](http://weibo.com/unbug)
Videos
===============
[](https://youtu.be/Uqg8HWaa-2c)
Screenshots
================
### Search variable


### Daily Algorithm Copybook


### GitHub stars, repositories tagger and organizer tool


================================================
FILE: __static/app/cache.manifest
================================================
CACHE MANIFEST
# Build: _BUILD_VERSION_
CACHE:
_FILES_
NETWORK:
*
================================================
FILE: __static/app/ddms_frame_callback.html
================================================
=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=["break,continue,do,else,for,if,return,while"], F=[[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],H=[F,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], O=[F,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],P=[F,"abstract,as,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],F=[F,"debugger,eval,export,function,get,instanceof,null,set,undefined,var,with,Infinity,NaN"], Q=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],S=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, W=/\S/,X=y({keywords:[H,P,O,F,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,["default-code"]);t(G([],[["pln",/^[^]+/],["dec",/^]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-", /^