Skip to content

Instantly share code, notes, and snippets.

@Manouchehri
Manouchehri / make.log
Created August 27, 2015 01:24
/var/lib/dkms/vboxhost/5.0.2/build/make.log
DKMS make.log for vboxhost-5.0.2 for kernel 4.1.6.201508230818-1-grsec (x86_64)
Wed Aug 26 21:23:34 EDT 2015
make: Entering directory '/usr/lib/modules/4.1.6.201508230818-1-grsec/build'
LD /var/lib/dkms/vboxhost/5.0.2/build/built-in.o
LD /var/lib/dkms/vboxhost/5.0.2/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/5.0.2/build/vboxdrv/linux/SUPDrv-linux.o
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./tools/gcc/constify_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./tools/gcc/stackleak_plugin.so
@Manouchehri
Manouchehri / fix.md
Created August 27, 2015 05:29
Windows 7 / 8 -> 10 Upgrade

Symptoms

  • SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
  • Cannot boot from hard drive after starting Windows 10 upgrade (
  • Cannot boot from Windows 10 install DVD or USB

Solution

Increase video RAM.

 ->(B This will take a bit as it needs to download more code(B
*** failed to import extension hggit: No module named ignore
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.10 (default, May 26 2015, 04:16:29) [GCC 5.1.0]
** Mercurial Distributed SCM (version 3.5)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
mercurial.dispatch.run()
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
4/4 KB
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (4 KB at 3.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
4/13 KB
8/13 KB
12/13 KB
13/13 KB
JDK8 is required.
sudo archlinux-java set java-8-openjdk
==> ERROR:(B A failure occurred in build().(B
 Aborting...(B
From 31d450d0ef65f4fd05ff08e7568274e0b5b80f36 Mon Sep 17 00:00:00 2001
From: David Manouchehri <[email protected]>
Date: Sat, 19 Sep 2015 22:23:47 -0400
Subject: [PATCH] Remove dummy files.
---
LICENSE.txt | 0
PATENTS.txt | 0
PKGBUILD | 30 +++++++++++++++---------------
labview-2010-appbuild-10.0.0-1.i386.rpm | 0
2015-09-30 16:13:50:767 812 d80 Misc =========== Logging initialized (build: 7.6.7601.18979, tz: +0200) ===========
2015-09-30 16:13:50:767 812 d80 Misc = Process: C:\Windows\system32\svchost.exe
2015-09-30 16:13:50:767 812 d80 Misc = Module: c:\windows\system32\wuaueng.dll
2015-09-30 16:13:50:751 812 d80 Service *************
2015-09-30 16:13:50:767 812 d80 Service ** START ** Service: Service startup
2015-09-30 16:13:50:782 812 d80 Service *********
2015-09-30 16:13:51:032 812 d80 Agent * WU client version 7.6.7601.18979
2015-09-30 16:13:51:032 812 d80 Agent * Base directory: C:\Windows\SoftwareDistribution
2015-09-30 16:13:51:032 812 d80 Agent * Access type: No proxy
2015-09-30 16:13:51:032 812 d80 Agent * Network state: Connected
2015-09-30 12:27:15:333 1072 12dc Misc =========== Logging initialized (build: 7.6.7601.18979, tz: +0100) ===========
2015-09-30 12:27:15:504 1072 12dc Misc = Process: C:\Windows\system32\svchost.exe
2015-09-30 12:27:15:582 1072 12dc Misc = Module: c:\windows\system32\wuaueng.dll
2015-09-30 12:27:15:333 1072 12dc Service *************
2015-09-30 12:27:15:598 1072 12dc Service ** START ** Service: Service startup
2015-09-30 12:27:15:614 1072 12dc Service *********
2015-09-30 12:27:15:910 1072 12dc Agent * WU client version 7.6.7601.18979
2015-09-30 12:27:15:910 1072 12dc Agent * Base directory: C:\Windows\SoftwareDistribution
2015-09-30 12:27:15:926 1072 12dc Agent * Access type: No proxy
2015-09-30 12:27:15:926 1072 12dc Agent * Network state: Connected
configure-plugins: Loading ./plugins.cfg ..
configure-plugins: Generating libr/config.h ..
configure-plugins: Generating libr/config.mk ..
SHARED: io.shm
STATIC: anal.6502 anal.8051 anal.arc anal.arm_cs anal.arm_gnu anal.avr anal.bf anal.cr16 anal.cris anal.csr anal.dalvik anal.ebc anal.gb anal.h8300 anal.i8080 anal.java anal.m68k anal.malbolge anal.mips_cs anal.mips_gnu anal.msp430 anal.nios2 anal.null anal.ppc_cs anal.ppc_gnu anal.sh anal.snes anal.sparc_cs anal.sparc_gnu anal.sysz anal.tms320 anal.v810 anal.v850 anal.ws anal.x86_cs anal.x86_udis anal.xcore_cs anal.z80 asm.6502 asm.8051 asm.arc asm.arm_as asm.arm_cs asm.arm_gnu asm.arm_winedbg asm.avr asm.bf asm.cr16 asm.cris_gnu asm.csr asm.dalvik asm.dcpu16 asm.ebc asm.gb asm.h8300 asm.hppa_gnu asm.i4004 asm.i8080 asm.java asm.lh5801 asm.lm32 asm.m68k asm.malbolge asm.mcs96 asm.mips_cs asm.mips_gnu asm.msil asm.msp430 asm.nios2 asm.ppc_cs asm.ppc_gnu asm.rar asm.sh asm.snes asm.sparc_cs asm.sparc_gnu asm.spc700 asm.sysz asm.tms320 asm.v810 asm.v850 asm.ws
@Manouchehri
Manouchehri / fast_rand.sh
Last active October 6, 2015 22:31
Quickly create a large amount of random data.
#!/bin/bash
function usage() {
printf "Usage:\n $(basename "$0") <FILE>\n\n"
printf "Quickly generate a large amount of random data.\n"
}
if [[ ! -z "$1" ]]; then
for file in "$@"
do