Skip to content

Instantly share code, notes, and snippets.

@blacksailer
blacksailer / build-gstreamer.sh
Last active April 21, 2020 10:23 — forked from jackersson/build-gstreamer.sh
Build gstreamer from source
#!/bin/bash
# Set your target branch
BRANCH="1.14.2"
exec > >(tee build-gstreamer.log)
exec 2>&1
[ ! -d orc ] && git clone git://anongit.freedesktop.org/git/gstreamer/orc
[ ! -d gstreamer ] && git clone git://anongit.freedesktop.org/git/gstreamer/gstreamer
Verbose: Applying generic optimizations to the graph for inference.
Verbose: Original: 247 layers
Verbose: After dead-layer removal: 235 layers
Verbose: Fusing convolution weights from module.base.base_layer.conv with scale module.base.base_layer.bn
Verbose: Fusing convolution weights from module.base.level0.conv with scale module.base.level0.bn
Verbose: Fusing convolution weights from module.base.level1.conv with scale module.base.level1.bn
Verbose: Fusing convolution weights from (Unnamed Layer* 10) [Convolution] with scale (Unnamed Layer* 11) [Scale]
Verbose: Fusing convolution weights from module.base.level2.tree1.basicblock.conv1 with scale module.base.level2.tree1.basicblock.bn1
Verbose: Fusing convolution weights from module.base.level2.tree1.basicblock.conv2 with scale module.base.level2.tree1.basicblock.bn2
Verbose: Fusing convolution weights from module.base.level2.tree2.basicblock.conv1 with scale module.base.level2.tree2.basicblock.bn1
@blacksailer
blacksailer / pytorchi486
Created October 15, 2019 17:39
pytorchi486.log
This file has been truncated, but you can view the full file.
[ 0s] ulimit -s is
[ 0s] 8192
[ 0s] setting ulimit -s to 32768
[ 0s] ulimit -s is now
[ 0s] 32768
[ 0s] Using BUILD_ROOT=/var/cache/obs/worker//root_1/.mount
[ 0s] Using BUILD_TARGET=/var/cache/obs/worker//root_1/.mount
[ 0s] Using BUILD_ARCH=i586:i486:i386
[ 0s] Doing kvm build in /var/cache/obs/worker//root_1/root
[ 0s]
@blacksailer
blacksailer / install_docker.sh
Created January 22, 2019 12:33
Install docker temporary gist
#!/bin/bash
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@blacksailer
blacksailer / AppApiInfo.hpp
Created May 22, 2018 09:16
Generated AppApiInfo file
#ifndef APPAPIINFO_HPP
#define APPAPIINFO_HPP
#include <QString>
namespace tdlibQt {
static const QString appid = QStringLiteral("2222");
static const QString apphash = QStringLiteral("111111asdas");
} //namespace tdlibQt
#endif // APPAPIINFO_HPP
@blacksailer
blacksailer / tdlibjson_wrapper.pro
Created May 22, 2018 08:59
Edited .pro file for depecher
APPID = 12345678 #$$fromfile(api_secret.pri,APPID)#To build you have to create file api_secret.pri with app_id, or replace with your app_id
APP_HASH = QWEASD123ASD #$$fromfile(api_secret.pri,APP_HASH)#To build you have to create file api_secret.pri app_hash, or replace with your app_hash
TEMPLATE = lib
TARGET = tdlibjson_wrapper
CONFIG += staticlib
QT += dbus quick
CONFIG += c++11
CONFIG += link_pkgconfig
{
"@type": "updateNewMessage",
"contains_mention": false,
"disable_notification": true,
"message": {
"@type": "message",
"author_signature": "",
"can_be_deleted_for_all_users": false,
"can_be_deleted_only_for_self": true,
"can_be_edited": false,