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
% ssh -l latistaadmin <Build host IP> | |
# sudo -i | |
# apt-get update | |
# apt-get -f install | |
# useradd -m jenkins -d /var/jenkins -r -U | |
# su jenkins | |
$ cd /var/jenkins |
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
// | |
// James @ http://stackoverflow.com/questions/7892955/how-can-i-test-for-opencl-compability | |
// | |
// clang -framework OpenCL dumpcl.c -o dumpcl && ./dumpcl | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <OpenCL/opencl.h> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test Promise code</title> | |
<script> | |
'use strict'; | |
//Stage 1 | |
var p1 = new Promise(function(resolve, reject) { |
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
// | |
// main.cpp | |
// | |
// Created by Yaroslav Fedorov on 12/01/16. | |
// Copyright © 2016 Yaroslav Fedorov. All rights reserved. | |
// | |
#include <iostream> | |
struct A { |
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
// | |
// main.cpp | |
// How to copy class with pointers elegant way | |
// from: http://users.livejournal.com/_winnie/32542.html?thread=164126#t164126 | |
// | |
// Created by Yaroslav Fedorov on 12/01/16. | |
// Copyright © 2016 Yaroslav Fedorov. All rights reserved. | |
// | |
#include <iostream> |
NewerOlder