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
PROJECT( bii_log ) | |
cmake_minimum_required(VERSION 3.0) | |
# inclusion of general biicode macros, biicode.cmake | |
set(CMAKE_MODULE_PATH "${CMAKE_HOME_DIRECTORY}/cmake" | |
"${CMAKE_HOME_DIRECTORY}/../blocks" | |
"${CMAKE_HOME_DIRECTORY}/../deps") | |
INCLUDE(biicode.cmake) | |
ADD_DEFINITIONS(-DBIICODE) |
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 and start a bundle in my default maven repository | |
bundle:install -s mvn:com.vin.mytest/impl/1.0-SNAPSHOT |
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 | |
from wsgiref.simple_server import make_server | |
from cgi import parse_qs, escape | |
import os | |
html_tpl = """ | |
<html><body>%s</body></html> | |
""" | |
file_tpl = '<a class="%s" href="%s">%s</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
import java.awt.BorderLayout; | |
import java.awt.EventQueue; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JComboBox; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.border.EmptyBorder; |
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
from boop import p,ps | |
if __name__ == '__main__': | |
print(p ) | |
ps() |
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
package app; | |
import java.util.Scanner; | |
public class App { | |
public interface Action{ | |
public void doAction(); | |
} | |
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 "Mutex.h" | |
#include <exception> | |
Mutex::Mutex() | |
{ | |
if ( pthread_mutex_init(&_mutex, NULL) ) | |
{ | |
throw "Error: Initializing _mutex"; | |
} |
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 <iostream> | |
using namespace std; | |
#pragma pack (2) | |
struct SampleStruct | |
{ | |
bool flag; | |
unsigned int timeout; | |
}; |