This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories.mavenCentral() | |
configurations { wsdl } | |
dependencies { | |
wsdl 'org.apache.axis:axis:1.4' | |
wsdl 'commons-logging:commons-logging:1.1.1' | |
wsdl 'javax.xml:jaxrpc:1.1' | |
wsdl 'commons-discovery:commons-discovery:0.2' | |
wsdl 'javax.xml.soap:saaj-api:1.3.5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return """<!DOCTYPE html> | |
<html> | |
<head lang="en"><link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><title>Warsjawa: 100% workshop formula | Confirmation</title><meta name="description" content="Conference for developers, by developers. Unique 100% workshop formula. “Learn by doing” approach. Proudly host workshops related to all aspects of software development: designing, developing, testing, maintaining etc. Initially oriented around Java and JVM programming languages. Now open to other programming languages like Scala, Groovy, Python, mobile development for Android, iOS and others."><link rel="stylesheet" href="http://warsjawa.pl/stylesheets/warsjawa.css"><link rel="shortcut icon" href="http://warsjawa.pl/images/favicons/favicon.ico"><link rel="apple-touch-icon" sizes="57x57" href="http://warsjawa.pl/images/favicons/apple-touch-icon-57x57.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh -f | |
# things to do for travis-ci in the before_install section | |
if ( test "`uname -s`" = "Darwin" ) | |
then | |
#cmake v2.8.12 is installed on the Mac workers now | |
#brew update | |
#brew install cmake | |
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstddef> | |
#include <cuda_runtime_api.h> | |
#include "benchmark/benchmark.h" | |
#define BASIC_BENCHMARK_TEST(x) \ | |
BENCHMARK(x)->Range(8, 8<<20) | |
void BM_malloc(benchmark::State& state) { | |
void * ptr = 0; | |
while (state.KeepRunning()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.buildroot.net/buildroot --depth 1 | |
cd buildroot | |
make qemu_arm_versatile_defconfig | |
echo "default -1 default -1 =password - /bin/sh - " > user.tables | |
make menuconfig | |
# System configuration | |
# -> System hostname | |
# -> Root password | |
# -> Network interface to configure through DHCP | |
# -> Install timezone info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## OPERACJE NA DANYCH ## | |
MOV arg1, arg2 - przesyla arg2 do arg1 | |
XCHG arg1, arg2 - zamienia wartości argumentów arg1 z arg2 | |
PUSH arg - umieszcza arg na stosie | |
POP arg - pobiera element ze stosu i umieszcza go w arg | |
PUSHA/POPA - umieszczenie/pobranie na stosie wszystkich rejestrów uniwersalnych | |
MOVZX/MOVSX rej, arg2 - rozciagniecie bez/ze znakiem arg2 i umieszczenie go w rej | |
BSWAP rej32 - odwrócenie kolejności bajtów | |
MOVBE arg1, arg2 - odwr. kolejnosci bajtow arg2 i przeslanie wyniku do arg1 | |
CMOV*** arg1, arg2 - warunkowe przeslanie arg2 do arg1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OBJS := main.o | |
memo: $(OBJS) | |
$(CC) -o memo $(OBJS) | |
$(OBJS) : %.o : %.c | |
$(CC) -c $(CFLAGS) $< -o $@ -std=c99 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
from threading import Thread | |
from time import sleep | |
import subprocess | |
from libqtile.config import Key, Screen, Group, Drag, Click | |
from libqtile.command import lazy | |
from libqtile import layout, bar, widget, hook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install.packages("nnet") | |
# Funkcja trenująca, ktra bierze jako argument Y (wektor cyfr) | |
# oraz X (macierz obrazu) i zwraca obiekt sieć neuronową. | |
train_ANN = function(X,Y) { | |
library(nnet) # ładujemy bibliotekę | |
y <- class.ind(Y) # normalizujemy oczekiwane wyjśćie do postacie macieży zer z jedną jedynką | |
ANN <- nnet(X,y,size=10,linout=T,maxit=1,MaxNWts=100000) # tworzymy i uczymy sieć | |
# aby zwiększyć skuteczność nauki należy zwiększyć liczbę iteracji (maxit), | |
# korzystne może też być zwiększenie liczby neuronów (size) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t a/package/opencv/Config.in b/package/opencv/Config.in | |
index 571309f..d725d44 100644 | |
--- a/package/opencv/Config.in | |
+++ b/package/opencv/Config.in | |
@@ -84,7 +84,12 @@ config BR2_PACKAGE_OPENCV_LIB_PHOTO | |
help | |
Include opencv_photo module into the OpenCV build. | |
-comment "opencv_python module requires numpy which is not yet available." | |
+config BR2_PACKAGE_OPENCV_LIB_PYTHON |