이 블로그에 글을 쓸 때, 항상 org-mode를 사용하긴 했다. 글을 쓰고 그
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$script = <<-SCRIPT | |
echo "Updating packages" | |
sudo pacman-key --refresh-keys | |
sudo pacman -Syu --noconfirm | |
echo "Installing essential packages" | |
sudo pacman -S --noconfirm git gcc make autoconf cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
sudo apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common | |
curl -fsSL https://download.docker.com/linux/raspbian/gpg | sudo apt-key add - | |
sudo sh -c 'echo \"deb https://download.docker.com/linux/raspbian/ buster stable\" >> /etc/apt/sources.list' | |
sudo apt update | |
sudo apt install -y docker-ce docker-compose | |
sudo usermod -aG docker ${USER} | |
su - ${USER} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.synced_folder "~/Dropbox", "/home/vagrant/Dropbox" | |
config.vm.synced_folder "~/shared", "/home/vagrant/shared" | |
config.vm.provider "virtualbox" do |vb| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct foobar{ | |
unsigned int foo; | |
char bar; | |
char boo; | |
}; | |
int main(int argc, char** argv){ |