Skip to content

Instantly share code, notes, and snippets.

View maximveksler's full-sized avatar
Wow

Maxim Veksler maximveksler

Wow
  • Tel Aviv, Israel
  • 09:16 (UTC +03:00)
  • X @mvxlr
View GitHub Profile
http://blogs.technet.com/b/nettracer/archive/2013/10/12/decrypting-ssl-tls-sessions-with-wireshark-reloaded.aspx
@maximveksler
maximveksler / gist:b9c1c234b8943c587cb9
Last active August 29, 2015 14:09
רשימת הסרטים שניצלו אתמול של משתמשים אמיתיים שהם בתקווה לא אנחנו
Examining: D5AeMBoTj1vvksKOKrd2yeWYm, createdAt: 2014-09-01T17:49:36.293Z [http://jovie.co/v/x6L4oFGLDU](http://jovie.co/v/x6L4oFGLDU)
Examining: Fc8PN6g0jhFo7Vns3mmR8jsv6, createdAt: 2014-08-30T16:16:02.566Z [http://jovie.co/v/XUrZdtijKv](http://jovie.co/v/XUrZdtijKv)
Examining: NnmhlMxMcpYVYwOGrkKe84bYk, createdAt: 2014-09-05T18:58:36.166Z [http://jovie.co/v/OHSolvEKEr](http://jovie.co/v/OHSolvEKEr)
Examining: RACyZfVnS4vdHwFsCZ9ZoZcjk, createdAt: 2014-09-05T17:22:02.962Z [http://jovie.co/v/fcP5aD74HM](http://jovie.co/v/fcP5aD74HM)
Examining: adididi, createdAt: 2014-09-20T07:30:46.913Z [http://jovie.co/v/FA9ALK54Jm](http://jovie.co/v/FA9ALK54Jm)
Examining: agamhecht, createdAt: 2014-10-02T19:46:59.855Z [http://jovie.co/v/xes3LMhvXX](http://jovie.co/v/xes3LMhvXX)
Examining: agamsahar, createdAt: 2014-09-13T13:49:59.628Z [http://jovie.co/v/8q0Kjr2DCZ](http://jovie.co/v/8q0Kjr2DCZ)
Examining: alejandraacosta, createdAt: 2014-10-16T21:57:03.326Z [http://jovie.co/v/EjnmqhwXNO](http://jovie.co/v/EjnmqhwXNO)
Exam
Maxims-MacBook-Air:go-http-routing-benchmark maximveksler$ go run routers.go
../../revel/revel/http.go:5:2: cannot find package "code.google.com/p/go.net/websocket" in any of:
/usr/local/Cellar/go/1.4/libexec/src/code.google.com/p/go.net/websocket (from $GOROOT)
/Users/maximveksler/go/src/code.google.com/p/go.net/websocket (from $GOPATH)
@maximveksler
maximveksler / 0_nonsterile_sampler_macbookair
Last active April 21, 2020 11:20
julienschmidt/go-http-routing-benchmark (updated 02.2015)
Maxims-MacBook-Air:go-http-routing-benchmark maximveksler$ go get github.com/julienschmidt/go-http-routing-benchmark
Maxims-MacBook-Air:go-http-routing-benchmark maximveksler$ go test -bench=. -timeout=20m
2015/02/04 23:24:05 [config.go:284] [W] open /Users/maximveksler/go/src/github.com/julienschmidt/go-http-routing-benchmark/conf/app.conf: no such file or directory
#GithubAPI Routes: 203
Ace: 60520 Bytes
Beego: 165192 Bytes
Bone: 92960 Bytes
Denco: 36440 Bytes
Gin: 66896 Bytes
GocraftWeb: 88840 Bytes
@maximveksler
maximveksler / I'm on 10.10.4 (14E17e). MacBook Air (13-inch, Mid 2012).
Last active August 29, 2015 14:21
A rouge CloudDocsDaemon.framework bird is eating all my CPU
I'm on 10.10.4 (14E17e). MacBook Air (13-inch, Mid 2012).
For some reason I have /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird running at almost 100% cpu on my machine.
Here is a sample of the process obtained with Activity Monitor
Maxims-MacBook-Pro:WWDC-2015 maximveksler$ du -sh ../WWDC-2015/*
128G ../WWDC-2015/HD-VIDEOs
302M ../WWDC-2015/PDFs
458M ../WWDC-2015/SAMPLE-CODE
33G ../WWDC-2015/SD-VIDEOs
Maxims-MacBook-Pro:WWDC-2015 maximveksler$ find .
.
./.DS_Store
./HD-VIDEOs
@maximveksler
maximveksler / AppDelegate.swift
Last active September 3, 2015 09:46 — forked from sawapi/AppDelegate.swift
[Swift] Push Notification
//
// AppDelegate.swift
// pushtest
//
// Created by sawapi on 2014/06/08.
// Copyright (c) 2014年 sawapi. All rights reserved.
//
// iOS8用
import UIKit
protocol ContextError : ErrorType {
mutating func addContext<T>(type: T.Type)
}
protocol Contextualizable {}
extension Contextualizable {
func addContext(var error: ContextError) -> ContextError {
error.addContext(self.dynamicType)
return error
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.xcode_ramdisk.agent</string>
<key>ProgramArguments</key>
<array>
<string>xcode_ramdisk.sh</string>
<string>start</string>
@maximveksler
maximveksler / README.MD
Created February 10, 2016 10:03
Quick and dirty FRP (RxSwift)

FRP for fun & profit. Take note.

Learning

The introduction to Reactive Programming you've been missing https://gist.github.com/staltz/868e7e9bc2a7b8c1f754

Contains examples of chaining 2 observables togather and implementing "Who to follow" with paging, and eviction. Has marble diagrams.