Skip to content

Instantly share code, notes, and snippets.

Avatar

David Kelso zaius

  • Beyond Pricing
  • San Francisco
View GitHub Profile
@jfsiii
jfsiii / index.html
Last active Jan 4, 2021
Full-Screen Layout using Flexbox
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Holy Grail</title>
<style>
/* some basic styles. nothing to do with flexbox */
header, footer,
nav, article, aside {
border: 1px solid black;
@ngauthier
ngauthier / README.md
Last active Sep 5, 2018
install ruby 2.0.0-p0 on ubuntu
View README.md
@zaius
zaius / background.sh
Created Jan 16, 2011
How to redirect a running process output to a file and log out
View background.sh
ctrl-z
bg
touch /tmp/stdout
touch /tmp/stderr
gdb -p $!
# In GDB
p dup2(open("/tmp/stdout", 1), 1)
p dup2(open("/tmp/stderr", 1), 2)