Skip to content

Instantly share code, notes, and snippets.

Milos Zivadinovic mzdv

Block or report user

Report or block mzdv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View EventEmitter and functional programming
var events = require("events");
var util = require("util");
var _ = require("lodash");
var Greeter = function() {
events.EventEmitter.call(this);
console.log("I greet you");
};
util.inherits(Greeter, events.EventEmitter);
View gist:bd48bf3624a06171185e
package jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
View gist:8050d643f38a02bbd150
package jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
View gist:962c656cc0dab2db850d
package jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
View ps.class
//Broker
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using System.Data;
namespace Sesija
View Magija
ThreadStart ts = metoda;
Thread nit = new Thread(ts);
nit.Start();
========> Thread.Sleep(10000);
using (TransactionScope ts = new TransactionScope())
....
ts.Complete();
Pete, pripreme za oba
View Pice i skitanje
public Form1()
{
InitializeComponent();
dataGridView1.MultiSelect = false;
}
private void button1_Click(object sender, EventArgs e)
{
Elementi e1 = new Elementi()
{
View Merging algorithm.js
var x = [{
id: 1,
data: 'ab',
ordering: 1
}, {
id: 2,
data: 'cd',
ordering: 1
}];
You can’t perform that action at this time.