Skip to content

Instantly share code, notes, and snippets.

View HectorIFC's full-sized avatar
🏠
Working from home

#!/usr/bin/env hector HectorIFC

🏠
Working from home
View GitHub Profile
@mattpodwysocki
mattpodwysocki / gist:1012287
Created June 7, 2011 13:47
Alan Kay on OOP
Dr. Alan Kay explains when "object-oriented" was first used and what it means. [] (Meaning of "Object-Oriented Programming" According to Dr. Alan Kay (meaning of OOP objectoriented definition term notion meaning explanation what is)), document, page 721691
http://www.purl.org/stefan_ram/pub/doc_kay_oop_en (permalink) is the canonical URI of this page.
Stefan Ram
Dr. Alan Kay on the Meaning of “Object-Oriented Programming”
(To link to this page, please use the canonical URI "http://www.purl.org/stefan_ram/pub/doc_kay_oop_en" only, because any other URI is valid only temporarily.)
E-Mail of 2003-07-23
Dr. Alan Kay was so kind as to answer my questions about the term “object-oriented programming”.
Clarification of "object-oriented" [E-Mail]
@dukeofgaming
dukeofgaming / LinusTalk200705Transcript.wiki
Created March 21, 2012 17:54 — forked from lorn/LinusTalk200705Transcript.wiki
Linus google tech talk transcript

This is transcript of Tech Talk: Linus Torvalds on Git at Google on YouTube.


Andrew:

Thank you, for coming everybody, some of you probably already have heard of Linus Torvalds, those of you who haven't, you are the people with Macintoshes on your laps.

@hengkiardo
hengkiardo / countdown.css
Created December 26, 2012 03:28
A beautiful CSS/JS countdown clock
/* Reset */
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
@diegoampessan
diegoampessan / Git commands
Last active May 20, 2019 22:17
Consulta rápida comandos GIT
ENVIAR ALTERAÇÕES PARA SERVIDOR REMOTO
---
git add . (todas as alteracoes, desde que esteja na pasta root do projeto)
git add <diretorio/nome_do arquivo> (para arquivo em especifico)
git commit -m "Descrição"
git push origin <branch>
RECEBER ALTERACOES SERVIDOR
---
##
# Creates an alias called "git hist" that outputs a nicely formatted git log.
# Usage is just like "git log"
# Examples:
# git hist
# git hist -5
# git hist <branch_name>
# git hist <tag_name> -10
##
git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short"
@jgcasta
jgcasta / Createvm.sh
Created June 14, 2014 10:58
Shell script to create a VirtualBox Virtual machine
#!/bin/bash
#
# createvm.sh
#
# ver 1.0
#
# Jose Gomez Castaño jgcasta@gmail.com
#
# Create a Virtual Box Machine in the createPath directory with the name given in name variable.
@john-science
john-science / build_your_own_lisp.md
Last active December 9, 2021 05:27
Build Your Own LISP

Build Your Own LISP

I had fun building my own LISP (Slow Loris). The project was extremely easy to get off the ground, because there a ton of resources to do just this. I thought it might be handy to have a little links round-up, based on my research.

In Python

There are already several good projects out there on writing your own LISP in Python.

Peter Norvig's LisPy

@mildred
mildred / server.py
Created October 9, 2014 10:20
Python 3 http.server with PUT support
#!/usr/bin/env python
import argparse
import http.server
import os
class HTTPRequestHandler(http.server.SimpleHTTPRequestHandler):
def do_PUT(self):
path = self.translate_path(self.path)
if path.endswith('/'):
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
FFmpeg has been removed from Ubuntu 14.04 and was replaced by Libav. This decision has been reversed so that FFmpeg is available now in Ubuntu 15.04 again, but there is still no official package for 14.04. In this tutorial, I will show you how to install FFmpeg from mc3man ppa. Add the mc3man ppa:
sudo add-apt-repository ppa:mc3man/trusty-media
And confirm the following message by pressing <enter>:
Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades
More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
Press [ENTER] to continue or ctrl-c to cancel adding it
Update the package list.