Skip to content

Instantly share code, notes, and snippets.

View bbingju's full-sized avatar
🏠
Working at home

ByungJu Hwang bbingju

🏠
Working at home
View GitHub Profile
@bbingju
bbingju / Vagrantfile
Last active January 11, 2023 09:42
Vagrantfile (emacs-29 build + Arch Linux)
# -*- 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
@bbingju
bbingju / install-docker-on-raspbian-buster.sh
Last active November 8, 2019 06:43
Install Docker on Raspbian Buster
#!/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}
@bbingju
bbingju / Vagrantfile
Last active June 26, 2019 09:13
Vagrantfile for development (git, emacs, global)
# -*- 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|

org2blog 이용하여 Wordpress에 글쓰기

이 블로그에 글을 쓸 때, 항상 org-mode를 사용하긴 했다. 글을 쓰고 그

#include <stdio.h>
#include <stdlib.h>
struct foobar{
unsigned int foo;
char bar;
char boo;
};
int main(int argc, char** argv){