View BinaryPrintHelper.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
View TaskHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CodeZone.Helpers.Async
{
public static class TaskHelper
View chuncks.js
Object.defineProperty(Array.prototype, 'chunk', {
value: function(chunkSize) {
var R = [];
for (var i=0; i<this.length; i+=chunkSize)
R.push(this.slice(i,i+chunkSize));
return R;
}
});
Array.range(10).chunk(3);
View beetle
#!/usr/bin/env ruby
require "csv"
require "net/http"
require "date"
require "json"
#
# Get log data
#
View Mamutinho.java
package br.com.mamutelanoso;
import java.io.IOException;
import java.util.Properties;
import javax.mail.BodyPart;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
View xsp4-stop.sh
kill `ps aux | grep xsp4.exe | grep -v grep | awk '{print $2}'`
View .gitignore
.DS_Store
*.dll
*.exe
View ErrorLogger.cs
using System;
using System.Collections.Generic;
namespace TaskParallelization
{
class ErrorLogger
{
private readonly IList<string> _messages;
public ErrorLogger()
View .gitignore
.DS_Store
*.dll
*.xml
View .gitignore
.DS_Store
*.exe