One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/bin/sh | |
| # hack4tex 0.1 | |
| # Copyright (c) 2016 Christian Himpe | |
| # released under BSD 2-Clause License ( opensource.org/licenses/BSD-2-Clause ) | |
| # based on Stephan Lehmke's answer to "How do I use TrueType Fonts with PDFTeX | |
| # using otftotfm?" on tex.stackexchange.com/a/52902 | |
| # | |
| # requires otftotfm which is part of lcdf-typetools | |
| # |
| // | |
| // FontPreview | |
| // Copyright ยฉ 2018 Leon Breedt | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // |
| # design settings | |
| gutter = 60 | |
| radius = 6 | |
| pageW = 1600 | |
| # draw filled outline or contours | |
| contour = False | |
| # draw nodes and bluezones and vertical metrics? |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
People
:bowtie: |
๐ :smile: |
๐ :laughing: |
|---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |
| // Font Smoothie copyright 2013,14,15 Torben Haase <http://pixelsvsbytes.com> | |
| // Source-URL <https://gist.github.com/letorbi/5177771> | |
| // | |
| // Font Smoothie is free software: you can redistribute it and/or modify it under | |
| // the terms of the GNU Lesser General Public License as published by the Free | |
| // Software Foundation, either version 3 of the License, or (at your option) any | |
| // later version. | |
| // | |
| // Font Smoothie is distributed in the hope that it will be useful, but WITHOUT | |
| // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
| <!-- | |
| For other language: Instead of `ace/mode/ruby`, Use | |
| Markdown -> `ace/mode/markdown` | |
| Python -> `ace/mode/python` | |
| C/C++ -> `ace/mode/c_cpp` | |
| Javscript -> `ace/mode/javascript` | |
| Java -> `ace/mode/java` | |
| Scala- -> `ace/mode/scala` |
| # If not running interactively, don't do anything | |
| [[ $- != *i* ]] && return | |
| # Prompt goodness | |
| # | |
| # This is for my local machine, so I don't display the host to save space (I do on remote servers). | |
| # It looks like this: | |
| # | |
| # ~/Code/some_dir(my-git-branch)$ | |
| # |
| #!/usr/bin/python | |
| import curses, random | |
| screen = curses.initscr() | |
| width = screen.getmaxyx()[1] | |
| height = screen.getmaxyx()[0] | |
| size = width*height | |
| char = [" ", ".", ":", "^", "*", "x", "s", "S", "#", "$"] | |
| b = [] |