Skip to content

Instantly share code, notes, and snippets.

@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md
Last active Jan 6, 2023
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
View Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md

Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

@TorstenDittmann
TorstenDittmann / nginx.conf
Last active Jan 6, 2023
NGinx + Realtime
View nginx.conf
events {
worker_connections 1024;
}
http {
server {
listen 80;
listen 443;
# config for setting up and handling Appwrite SSL
@banaslee
banaslee / XGH - en.txt
Last active Jan 6, 2023
eXtreme Go-Horse Process
View XGH - en.txt
eXtreme Go Horse (XGH) Process
Source: http://gohorseprocess.wordpress.com
1. I think therefore it's not XGH.
In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster.
2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the wrong one but faster.
XGH is faster than any development process you know (see Axiom 14).
@parmentf
parmentf / GitCommitEmoji.md
Last active Jan 6, 2023
Git Commit message Emoji
View GitCommitEmoji.md
@elo7-developer
elo7-developer / landing.md
Last active Jan 6, 2023
Desafio de Programação Elo7 - Front-end
View landing.md

Desafio de Programação Elo7

Como parte do processo seletivo do Elo7, gostaríamos que você fizesse uma pequena tarefa. Conforme seu resultado convidaremos você para uma sessão de pair-programming. A idéia é simples: desenvolver uma landing page. Forneceremos algumas informações via API e deixamos em exposição nossas vagas em aberto.

O objetivo desse desafio é avaliar como você desenvolve código em termos de estilo, eficiência e qualidade.

Crie um repositório no seu Github com a resolução da tarefa descrita abaixo e veremos a sua progressão por meio dos commits.

O que deverá ser feito:

  • Tela principal contendo um resumo sobre o Elo7, como é trabalhar aqui, alguns depoimentos e nossa cultura, além de conter uma listagem das vagas em aberto;
@PurpleBooth
PurpleBooth / README-Template.md
Last active Jan 6, 2023
A template to make good README.md
View README-Template.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

@icalderond
icalderond / Merge PDF
Last active Jan 6, 2023
Unir pdf con iTextSharp
View Merge PDF
/// <summary>
/// Une dos PDF uno detras del otro dependiendo de como los va encontrando
/// </summary>
/// <param name="targetPDF">La ruta completa del archivo .PDF que se va a crear</param>
/// <param name="sourceDir">La ruta del folder que contiene los .PDF a unir</param>
public void CreateMergedPDF(string targetPDF, string sourceDir)
{
using (FileStream stream = new FileStream(targetPDF, FileMode.Create))
{
Document pdfDoc = new Document(PageSize.A4);
View id3-ffmpeg.md

Get/set ID3 meta tags using ffmpeg

A quick guide on how to read/write/modify ID3 metadata tags for audio / media files using ffmpeg.

FFmpeg has a free-form command line option that allows the user to specify key-value-pairs for encoding metadata. Let's take a look.

1. Read ID3 metadata

To list all global metadata tags for a media file, just set an input but no output file.

@krainboltgreene
krainboltgreene / forth.rb
Created Jan 15, 2012 — forked from perimosocordiae/forth.rb
A pure Ruby interpreter for Forth
View forth.rb
#!/usr/bin/env ruby
# Return and remove the last value of the stack array
def pop
$stack.pop || raise(StackUnderflow)
end
# Add a expression to the stack
def push(expression)
$stack << expression
@Gydo194
Gydo194 / dmenu_window.sh
Created Aug 21, 2019
Window Switcher using Dmenu and wmctrl
View dmenu_window.sh
#!/bin/bash
#thanks to user "ninian" on the Arch Linux forums
#source: https://bbs.archlinux.org/viewtopic.php?id=211638
wmctrl -R $(wmctrl -l | cut -c $((${#HOSTNAME}+16))- | dmenu -p "Window")