Checkout working copy and publish it.
Put into .git/hooks
and chmod +x post-update
For use with bare and non-bare repositories.
2020/07/15 17:28:58 [INFO] Packer version: 1.6.1-dev [go1.14.4 darwin amd64] | |
2020/07/15 17:28:58 Checking 'PACKER_CONFIG' for a config file path | |
2020/07/15 17:28:58 'PACKER_CONFIG' not set; checking the default config file path | |
2020/07/15 17:28:58 Attempting to open config file: /Users/andrea.cedraro/.packerconfig | |
2020/07/15 17:28:58 [WARN] Config file doesn't exist: /Users/andrea.cedraro/.packerconfig | |
2020/07/15 17:28:58 Setting cache directory: /Users/andrea.cedraro/code/mold/centos/packer_cache | |
2020/07/15 17:28:58 Creating plugin client for path: /usr/local/bin/packer | |
2020/07/15 17:28:58 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-virtualbox-iso"} | |
2020/07/15 17:28:58 Waiting for RPC address for: /usr/local/bin/packer | |
2020/07/15 17:28:58 packer-builder-virtualbox-iso plugin: [INFO] Packer version: 1.6.1-dev [go1.14.4 darwin amd64] |
#include <stdio.h> | |
#include <stdlib.h> | |
#define MVMint32 int | |
#ifdef __GNUC__ | |
#define FFS(x) __builtin_ffs(x) | |
#elif defined(_MSC_VER) | |
static __inline MVMint32 FFS(MVMint32 x) { | |
MVMint32 i = 0; |
// how to use boost.asio + sendfile(2) | |
// Michał Papierski <michal@papierski.net> | |
#include <iostream> | |
#include <string> | |
#include <boost/asio.hpp> | |
#include <boost/make_shared.hpp> | |
#include <boost/shared_ptr.hpp> | |
#include <boost/ref.hpp> | |
#include <boost/bind.hpp> | |
#include <boost/enable_shared_from_this.hpp> |
I hereby claim:
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure( VAGRANTFILE_API_VERSION ) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "forwarded_port", guest: 8000, host: 8000 | |
config.vm.synced_folder ".", "/home/vagrant/ycmd", type: "rsync", |
sign define DummySign | |
function! s:place_dummy_sign(bufid) | |
if !getbufvar( a:bufid, 'dummy_sign' ) | |
execute "sign place 1234 line=1 name=DummySign buffer=".a:bufid | |
call setbufvar( a:bufid, 'dummy_sign', 1 ) | |
endif | |
endfunction | |
Autocmd BufEnter * call s:place_dummy_sign( bufnr( '%' ) ) |
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# Credit to the dude who created the initial version that I tweaked long ago | |
# exit on error | |
set -e |
#! /bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
GDB_VERSION="7.10" | |
GDB_BUILD_FOLDER="~/Work/gdb" | |
mkdir -p "${GDB_BUILD_FOLDER}" | |
cd "${GDB_BUILD_FOLDER}" |
package main | |
import ( | |
"bufio" | |
"io" | |
"log" | |
"os" | |
"github.com/nsf/termbox-go" | |
) |