- run Cygwin setup.exe
- install these packages that are not installed by default: automake, gcc, git and pkg-config
- browse http://libevent.org
- download libevent-2.0.21-stable.tar.gz
''' | |
Simple script to convert ply to obj models | |
''' | |
from argparse import ArgumentParser | |
from plyfile import PlyData | |
def main(): | |
parser = ArgumentParser() |
//===----------------------------------------------------------------------===// | |
// | |
// vim: ft=cs tw=80 | |
// | |
// Date: 10/23/2017 23:10:37 | |
// Creator: Eugene Mihailenco <[email protected]> | |
// | |
//===----------------------------------------------------------------------===// | |
using UnityEngine.UI; |
" Stupid Eugene's plugin that does similar thing to switch.vim | |
let g:toggle_definitions = | |
\ [ | |
\ 's/public/private/', | |
\ 's/private/pretected/', |
#!/usr/bin/env bash | |
gfind ./ -type f -not -path "./.git/*" -iname "*.cs" -exec gsed -i \ | |
-e '1s/^/\ | |
\/\/===----------------------------------------------------------------------===\/\/\ | |
\/\/\ | |
\/\/ vim: ft=cs tw=80\ | |
\/\/\ | |
\/\/ Date: 3\/7\/16 2:33:00\ |
mySelection = app.activeDocument.selection; | |
myDoc = app.activeDocument; | |
if (mySelection instanceof Array) | |
{ | |
selSwatches = myDoc.swatches.getSelected(); | |
if (selSwatches.length < mySelection.length) | |
alert ("Pleade make sure you have enough swathces you have " + selSwatches.length + " and you need " + mySelection.length) | |
else | |
{ |
#!/bin/bash | |
# vim: ft=sh | |
# Stop on any error | |
set -e | |
# Get scripta path | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo "Stopping LionsGate server" |
[user] | |
name = Eugene Mihailenco | |
email = [email protected] | |
[core] | |
editor = vim | |
[alias] | |
st = status | |
dc = diff --cached | |
ci = commit | |
co = checkout |
pkgname=libimobiledevice | |
pkgver=1.2.0 | |
pkgrel=3 | |
pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux" | |
url="https://github.com/libimobiledevice/libimobiledevice.git" | |
arch=('i686' 'x86_64') | |
license=('GPL2' 'LGPL2.1') | |
depends=('libusbmuxd') | |
makedepends=('python2') |
#!/usr/bin/perl | |
use strict; | |
my ($hex_in, $hex_out) = @ARGV; | |
print "[PATHCING] : $hex_in => $hex_out \n"; | |
open (HEX_IN, "$hex_in") or die("open failed for $hex_in : $!"); | |
open (HEX_OUT, ">$hex_out") or die("open failed for $hex_out : $!"); |