Git Product home page Git Product logo

my-stuff-to-share's Introduction

Introduction

This repo is a set of miscellanea that I would like to share with students, and followers in general, for wider benefit. You are welcome to fork, clone, modify, etc. (as indicated in the license). Each section of the following corresponds to a folder in the repo. The objectives of sharing this are:

  1. giving motivation and inspiration to students to use the "power of text" through scripting. So, even if you do not benefit from the scripts in this repo, I hope you get motivated and inspired to write your own to automate your work.

  2. spreading the benefit, since I am sure these scripts are beneficial for their own sake.

Emacs

Here, I put Emacs related files, including of course my .emacs configuration file. Currently, I do not consider myself an expert in Emacs since I cannot customize everything fluently in LISP; you will find many very sophisticated .emacs files over the net. However, my .emacs file can be a good start for novices to Emacs.

Git-Scripts

These are a set of miscellaneous scripts that I created to ease using git, including creating, deleting, etc. completely from the command line without signing into the web interface Github.

LaTeX

This is a set of LaTeX templates, scripts, and modules that I usually use to prepare my lecture notes and other documents. They can be very helpful for anyone composing similar documents.

BibTeX

Is a simple folder that accounts for an example for all students how to organize your library using the "power of text" to git rid of other software. The folder contains a bib file, along with pdfs. The bib file is your library that contains articles, books, etc. Each item has a key that should be informative, e.g., Yousef2017MethodSystemForComputer; and in case it has a pdf, it should be named Yousef2017MethodSystemForComputer.pdf. In addition, each item has a set of keywords that should help you in classifying your items. Keywords should be as clear as possible. When adding a keyword to a new item, it should be selected from the existing keywords (or add a new one). This is to avoid having two keywords with different spelling styles (e.g., Microcalcification and micro-calcification).

LaTeX-Lecture-Template

Contains the LaTeX template that I always use in preparing the lecture notes. If you compile the .tex file, you will get exactly the same pdf part (chapter 1 as a sample) of the Digital Design course.

LaTeX-Lecture-Template-Preparation-Script

This script is very beneficial for producing a lengthy document like the lecture notes. This script is to save the nonsense time and effort wasted in writing \chapter{} \section{} \includegraphics ... insanely many times for each chapter, section, figure, etc. You just need to have a directory of Graphics containing the graphics of each chapter, and a text file Sections.txt that contains the chapter and section titles both are in the folder LectureNotesDesitenationDirectory, to which all the latex code will be automatically generated when running the shell script. Now, run the shell script, and it will parse the folder Graphics and the titles file Sections.txt and will generate all the stuff for you. Of course, you can change the FrontMatterTemplate.tex and MainTemplate.tex as you like. After generating the LaTeX code under that folder, you can compile it to generate the pdf which contains all the chapter titles, section titles, and all the graphics.

LaTeX-Manuscript-Template

This section is still under preparation, so it will be sort of improvising. It is an example for a manuscript uses many LaTeX modules, e.g., Tikz, pgfplot, etc. I will leverage this section to give general advises to the technical writing in general and LaTeX in particular.

  • Have your LaTeX files modular as if you write a code (LaTeX is exactly a code). For example, have each Section in a separate tex file to be \input in the main file, and so on...
  • Isolate your preamble in, e.g., Preamble.tex and try to make it generic for other documents.
  • Have a separate sub-folder, e.g., called Graphics, to include all images. and If you have many figures coded in Tikz or pgfplots it is a good idea to have them under a separate folder for more organization.
  • Be consistent in lower/upper case and naming conventions in everything including: names of files, labels of equations, figure, tables, etc.,
  • For bilingual document (in particular Arabic-English), make sure to use XeTeX. The document will almost compile without any problem as if you are using PDFLaTeX. If you are using Emacs, just make sure to include (setq TeX-engine (quote xetex)) in your .emacs file.

Miscellaneous-Scripts

Some general scripts that I created to automate things, including backing up my work (both incremental or full backups), auto-downloading a series of files, etc.

my-stuff-to-share's People

Contributors

drwaleedayousef avatar

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.