To Lepton users around the world in more than 130 countries: We hope you all stay safe, healthy, and strong as we get through the COVID-19 pandemic. Lepton will continue to be free, as always. If you find this app helpful, we encourage you to make a donation to a local or global charity of your choice to help fight against the pandemic. Together, we can make the world a better place. ❤️
Lepton is a lean code snippet manager based on GitHub Gist. Check out its latest release.
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. When you write a blog post and need to add code snippets, they should stand out. You have two choices: use a Syntax Highlighter or style the code yourself. Syntax Highlighter. A Syntax Highlighter is a tool styles the code snippet for you. You can use one of the following tools to style the syntax.
![Snippet labs alternative Snippet labs alternative](https://inspiremelabs.com/wp-content/uploads/2017/08/search-snippet-ranking-how-to-seo.jpg)
- Welcome.SnippetsLab is an easy-to-use code snippets manager. It helps you to collect and organize valuable code snippets, and makes sure that you have easy access to them whenever you want.
- Jen Yates is an Assistant Vice President at AT&T Labs, heading the Networking and Service Quality Management Research organization. Her organization is focused on inventing, prototyping and driving new technologies that enable new services, enhance reliability and address complex cross-layer issues across AT&T’s network.
- Unlimited public/private snippets
- Unlimited tags
- Language groups
- Markdown/JupyterNotebook support
- GitHub Enterprise support
- Immersive mode
- Customizable
- Light/Dark theme
- macOS/Win/Linux
- Dashboard
- Search
- Proxy
- Free
Light Theme | Dark Theme |
---|
![Snippet Snippet](https://www.renfei.org/snippets-lab/images/Landing/themes/mojave-dark.jpg)
Organize | Markdown | Jupyter Notebook |
---|
Search (⇧ + Space) | Immersive Mode (⌘/Ctrl + i) | Dashboard (⌘/Ctrl + d) |
---|
Shortcuts
Function | Shortcut | Note |
---|---|---|
New Snippet | Cmd/Ctrl + N | Create a snippet |
Edit Snippet | Cmd/Ctrl + E | Edit a snippet |
Delete Snippet | Cmd/Ctrl + Del | Delete selected snippet |
Submit | Cmd/Ctrl + S | Submit the changes from the editor |
Cancel | Cmd/Ctrl + ESC | Exit the editor without saving |
Sync | Cmd/Ctrl + R | Sync with remote Gist server |
Immersive Mode | Cmd/Ctrl + I | Toggle the Immersive mode |
Dashboard | Cmd/Ctrl + D | Toggle the dashboard |
About Page | Cmd/Ctrl + , | Toggle the About page |
Search | Shift + Space | Toggle the search bar |
Customization
Lepton's can be customized by
<home_dir>/.leptonrc
! You can find its exact path in the About page by Command/Ctrl + ,
. Create the file if it does not exist.- Theme (light/dark)
- Snippet
- Editor
- Logger
- Proxy
- Shortcuts
- Enterprise
- Notifications
Check out the configuration docs to explore different customization options.
Tech Stack
- Framework: Electron
- Bundler: Webpack, Babel, electron-builder
- Language: ES6, Sass
- Library: React, Redux, Redux Thunk, Redux Form
- Lint: ESLint
Installation
- Download released binaries(macOS/Windows/Linux) here.
- Install via Homebrew (macOS)
- Install via SnapCraft (Linux)
Development
Install dependencies
Client ID/Secret
Register your application, and put your client id and client secret in
./configs/account.js
.Run
Build Installer App
Read electron-builder docs and check out the code signing wiki before building the installer app.
Build apps for macOS.
Build apps for Windows.
Atext 2 25 2. Build apps for Linux.
Need a running Docker daemon to build a
snap
package.Build apps for macOS, Windows and Linux.
Build apps for the current OS with the current arch.
FAQ
Snippet Labs Alternative
Contributors
CosmoX | Jiaye Wu | Danila | Meilin Zhan | lcgforever | Yuer Lee | Su,Yen-Yun |
Chen Tong | Jason Jiang | Alan Pope | Tony Xu | Tegan Churchill | Angie Wang | Batuhan Bayrakci |
Samuel Meuli | Alexandre Amado de Castro | Abner Soares Alves Junior | Sean | Ole | Gabriel Nicolas Avellaneda | Dennis Ideler |
Anthony Attard | ArLE |
Snippet Labs Logo
License
MIT © hackjutsu
Code cell snippets.
Snippet Labs Inc
This extension adds a drop-down menu to the IPython toolbar that allows easyinsertion of code snippet cells into the current notebook. The code snippetsare defined in a JSON file in
nbextensions/snippets/snippets.json
and anexample snippet is included with this extension.Adding new snippets¶
Snippets are specified by adding a new JSON block to the list of existing snippets in
$(jupyter--data-dir)/nbextensions/snippets/snippets.json
. For example, to add a new snippet that imports numpy, matplotlib, and a print statement, the JSON file should be modified from:to this:
You may need to restart your notebook for the changes to take effect.