Skip to content

Instantly share code, notes, and snippets.

@akafael
akafael / windows-vm-session.desktop
Created July 4, 2020 17:19
Run a X Session with WIndows inside Virtual Virtual Box
##
# Run a X Session with WIndows inside Virtual Virtual Box
#
# @author Akafael
##
[Desktop Entry]
Type=Application
Exec=VBoxSDL -vm windows -fullscreen
Name=Windows
Comment=Run Windows inside Virtualbox
@akafael
akafael / localpythonenv.mk
Last active June 9, 2020 19:19
Makefile template for Python3. Create local Python3 Env aside current system version
##
# Makefile for Python3 enviroments
#
# @author Akafael
# @version 1.1
#
##
###############################################################################
# Variables
@akafael
akafael / pandocslides-README.md
Created May 13, 2020 21:27
A Pandoc template to generate reveal.js slideshows.

Description

This is a Pandoc template to generate reveal.js slideshows.

Definitions

Pandoc is a "universal markup converter" you can run from the command line to convert a simple, plain text file into a beautifully formatted PDF, .docx, HTML, LaTeX, slideshows… the list goes on.

reveal.js is a CSS and JavaScript framework for creating beautiful presentations in HTML5, designed by Hakim El Hattab.

@akafael
akafael / mm2orgmode.xsl
Created April 18, 2020 01:37
Convert FreeMind maps to orgmode using XSLT
<?xml version="1.0" encoding="UTF-8" ?>
<!--
MINDMAPEXPORTFILTER org;orgmode Orgmode
v. 0.1
This code released under the GPL. : (http://www.gnu.org/copyleft/gpl.html)
Document : mm2orgmode.xsl
@akafael
akafael / README-Template.md
Created March 18, 2020 23:32 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

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.

Prerequisites

@akafael
akafael / git-deployment.md
Created April 16, 2019 17:53 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@akafael
akafael / license-badges.md
Created April 9, 2019 00:58 — forked from lukas-h/license-badges.md
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

@akafael
akafael / index.html
Created February 5, 2019 18:36
Nested & Color Coded Interactive Timeline
<div class="body-wrap">
<!-- # component starts -->
<div class="pres-timeline" id="this-timeline">
<!-- ### -->
<!-- <div class="periods-section"> -->
<div class="periods-container">
<section class="period-single" period="period1">
<h4 class="year">181x-181x</h4>
<h2 class="title">1 Lorem ipsum dolor sit amet, consectetur adipisicing.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium doloremque, laboriosam officia facere eligendi quam reiciendis, rem explicabo dolores tenetur libero minus, facilis quibusdam. Consectetur amet beatae fuga, architecto magnam.</p>
@akafael
akafael / xorg.conf
Created February 1, 2019 14:31
XOrg config for SIS 671/771
Section "Device"
Identifier "Generic Video Card"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "771/671 PCIE VGA Display Adapter"
Busid "PCI:1:0:0"
Driver "vesa"
Screen 0
Option "UseFBDev" "true"
Option "DPMS"
Option "ShadowFB"
@akafael
akafael / stackingPlots.m
Last active December 9, 2018 22:28
Matlab stacking plots example
%% STACKPLOT
% Stacking two plots example from https://stackoverflow.com/questions/11757987/matlab-stacking-of-various-plots
%% Data
t = 0:100;
f1 = 0.3;
f2 = 0.07;
u1 = sin(f1*t); cu1 = 'r'; %red
u2 = cos(f2*t); cu2 = 'b'; %blue
v1 = 5*u1.^2; cv1 = 'm'; %magenta