Skip to content

Instantly share code, notes, and snippets.

View nmilosev's full-sized avatar

Nemanja Milosevic nmilosev

View GitHub Profile
[nmilosev@toshiba-qosmio-x70-a-12x AlfaEvid]$ dotnet runProject AlfaEvid (.NETFramework,Version=v4.5.1) was previously compiled. Skipping compilation.
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
User profile is available. Using '/home/nmilosev/.local/share/ASP.NET/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Unhandled Exception:
System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: WS2_32.dll
at (wrapper managed-to-native) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods:WSAIoctl (intptr,int,int*,uint,int*,int,uint&,intptr,intptr)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind_windows_extras (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle handle) <0x40d60be0 + 0x000b3> in <filename unknown>:0
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind (Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpH
{
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"dependencies": {
"CsvHelper": "2.15.0.2",
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
"Microsoft.AspNetCore.Diagnostics": "1.0.0",
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
* Assertion at debug-mono-ppdb.c:217, condition `cols [MONO_METHODBODY_SEQ_POINTS]' not met
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Diagnostics.StackTrace.get_trace (System.Exception,int,bool) <IL 0x0000f, 0xffffffff>
at System.Diagnostics.StackTrace..ctor (System.Exception,int,bool) [0x0002e] in /builddir/build/BUILD/mono-4.2.4/mcs/class/corlib/System.Diagnostics/StackTrace.cs:129
at System.Exception.get_StackTrace () [0x0001f] in /builddir/build/BUILD/mono-4.2.4/mcs/class/corlib/System/Exception.cs:202
at System.Exception.ToString () [0x0007f] in /builddir/build/BUILD/mono-4.2.4/mcs/class/corlib/System/Exception.cs:276
at System.Exception.ToString () [0x00046] in /builddir/build/BUILD/mono-4.2.4/mcs/class/corlib/System/Exception.cs:271
This file has been truncated, but you can view the full file.
execve("/usr/bin/qutebrowser", ["qutebrowser"], [/* 58 vars */]) = 0
brk(NULL) = 0x556e71701000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe7d3c0a000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=156518, ...}) = 0
mmap(NULL, 156518, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe7d3be3000
close(3) = 0
open("/lib64/libpython3.5m.so.1.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\265\5\0\0\0\0\0"..., 832) = 832
xftalpha 0.8
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
# chroot into a LXC container
#!/bin/bash
export CONTAINERPATH="/var/lib/lxc/$1"
echo "Entering chroot... at $CONTAINERPATH"
mount -t proc proc "$CONTAINERPATH/rootfs/proc"
mount -t sysfs sys "$CONTAINERPATH/rootfs/sys/"
mount -o bind /dev "$CONTAINERPATH/rootfs/dev"
Task "WriteVersionsFile"
Done executing task "WriteVersionsFile".
Done building target "WriteVersions" in project "repository.proj".
Target "BuildRepositoryAndDependencies" in project "/home/nmilosev/Projects/dotnet2.0prev/dotnet-sdk-2.0.0-preview2-006497/targets/repository.proj" (entry point):
Done building target "BuildRepositoryAndDependencies" in project "repository.proj".
Done Building Project "/home/nmilosev/Projects/dotnet2.0prev/dotnet-sdk-2.0.0-preview2-006497/targets/repository.proj" (BuildRepositoryAndDependencies target(s)).
Done executing task "MSBuild" -- FAILED.
Done building target "BuildRepositoryReferences" in project "repository.proj" -- FAILED.
Done Building Project "/home/nmilosev/Projects/dotnet2.0prev/dotnet-sdk-2.0.0-preview2-006497/targets/repository.proj" (BuildRepositoryAndDependencies target(s)) -- FAILED.
Done executing task "MSBuild" -- FAILED.
@nmilosev
nmilosev / fedora-chroot.sh
Last active December 26, 2017 07:51
simple enter-fedora chroot script
#!/bin/sh
echo "Entering Fedora 24 ARM chroot"
mount -t proc proc /fedora/proc/
mount -t sysfs sys /fedora/sys/
mount -o bind /dev /fedora/dev/
mount -o bind /dev /fedora/dev/pts
chroot /fedora /bin/env -i \
package dmi.vi1.search.examples.fourinarow;
/**
* @author Nemanja M. <nmilosev@dmi.uns.ac.rs>
*
*/
public class FourInARowBoard {
public static int EMPTY = 0;
yum install -y cmake3 libtool-devel numpy python-six python2-futures python-devel python-pip
export https_proxy=proxy.uns.ac.rs:8080
export http_proxy=proxy.uns.ac.rs:8080
pip2 install numpy decorator
hecuba:
izmeniti u setup.py cmake u cmake3