Skip to content

Instantly share code, notes, and snippets.

View derekschrock's full-sized avatar

Derek Schrock derekschrock

View GitHub Profile
if [[ -f "$SSH_AGENT_FILE" ]]; then
source "$SSH_AGENT_FILE" > /dev/null
ssh-add -l > /dev/null
if [[ "$?" -gt 1 ]]; then
if ssh-agent -t "${sshagent_time:-2d}" > "$SSH_AGENT_FILE"; then
source "$SSH_AGENT_FILE" > /dev/null
else
echo "Can't start ssh-agent or write ${SSH_AGENT_FILE}: $?"
fi
fi
function Check_readonly()
if &readonly
highlight Normal ctermfg=white ctermbg=gray
else
highlight Normal ctermfg=white ctermbg=black
endif
endfunction
autocmd BufEnter * :call Check_readonly()
autocmd BufReadPost * :call Check_readonly()
clang-devel -I/usr/local/include/ -O2 -g -fsanitize=undefined,implicit-integer-truncation,implicit-integer-arithmetic-value-change,implicit-conversion,integer,nullability,object-size,local-bounds -Wno-pointer-sign -fno-strict-aliasing -fwrapv -Wwrite-strings -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -I./../include -I../include -c ircaux.c
ircaux.c:2748:36: warning: due to lvalue conversion of the controlling expression, association of type 'volatile float' will never be selected because it is qualified [-Wunreachable-code-generic-assoc]
|| isfinite(sval) == 0
^
/usr/include/math.h:111:21: note: expanded from macro 'isfinite'
#define isfinite(x) __fp_type_select(x, __isfinitef, __isfinite, __isfinitel)
^
/usr/include/math.h:86:14: note: expanded from macro '__fp_type_select'
volatile float: f(x), ^
ircaux.c:2748:36: warning: due to lvalue conversion of
--- src/VBox/Main/src-client/ConsoleImpl.cpp.orig 2021-03-27 01:43:21 UTC
+++ src/VBox/Main/src-client/ConsoleImpl.cpp
@@ -8801,6 +8801,18 @@ DECLCALLBACK(void) Console::i_vmstateChangeCallback(PU
switch (enmState)
{
+ case VMSTATE_POWERING_ON:
+ {
+#ifdef VBOX_WITH_GUEST_PROPS
+ Bstr bstr;
#/usr/bin/env bash
# Install epel-release for mock
sudo yum -y install epel-release
# Install mock and
sudo yum -y install mock
# If non-root add user to mock group otherwise skip
# logout/login if already logged in as $USER for mock group
# Created by: Ricky E. <codeblock@eighthbit.net>
# $FreeBSD$
PORTNAME= gist
PORTVERSION= 5.1.0
DISTVERSIONPREFIX= v
CATEGORIES= www net
MAINTAINER= changlp@cs.nctu.edu.tw
COMMENT= Gist pastebin posting command
/**
* xrdp: A Remote Desktop Protocol server.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
From ecbec6b49adee2f2fbd24b8cf9d1fd2e64d07e9f Mon Sep 17 00:00:00 2001
From: Derek Schrock <dereks@lifeofadishwasher.com>
Date: Sun, 30 Jun 2019 02:47:27 -0400
Subject: [PATCH] autocomp?
---
editors/micro/Makefile | 2 +-
editors/micro/distinfo | 6 +-
editors/micro/files/patch-autocomp | 2161 ++++++++++++++++++++++++++++
3 files changed, 2165 insertions(+), 4 deletions(-)
checking whether struct dirent defines d_ino... yes
checking for BerkeleyDB > 4.0... no
configure: error: You need Tokyo Cabinet, Kyoto Cabinet, QDBM, GDBM, LMDB or Berkeley DB4 for hcache
===> Script "configure" failed unexpectedly.
# /usr/local/sbin/pkg-static info -g -Ea
ImageMagick6-6.9.10.22_1,1 Image processing tools (legacy version)
aalib-1.4.r5_13 ASCII art library
adobe-cmaps-20051217_4 Adobe CMap collection
alsa-lib-1.1.2_2 ALSA compatibility library
apache-ant-1.10.5 Java- and XML-based build tool, =
conceptually similar to make
apr-1.6.5.1.6.1_1 Apache Portability Library
argyllcms-1.9.2_4 ICC compatible color management system
aspell-0.60.6.1_8 Spelling checker with better suggestion =