Skip to content

Instantly share code, notes, and snippets.

@netologist
netologist / gist:2886367
Last active October 5, 2015 22:18
Node.js Links

Node.js Links

Tutorials

  • [Node.js guide][1]
  • [Node tuts][2]

Videos

  • [Introduction to Node.js with Ryan Dahl][3]
@netologist
netologist / MountainLion-Python-Fix
Created July 27, 2012 05:44 — forked from sonicradish/MountainLion-Python-Fix
Fix Mountain Lion 10.8 Python IOError pyconfig.h Error
After upgrading to Mountain Lion : 10.8 I noticed that I was getting Python errors which prevented me from starting vim:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 565, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 547, in main
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278, in addusersitepackages
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253, in getusersitepackages
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getuserbase
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 523, in get_config_var
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 419, in get_config_vars
@netologist
netologist / hadoop_and_cascading_slides
Created July 31, 2012 20:53
Hadoop and Cascading Slides
Hadoop and Cascading Slides
--
- http://www.slideshare.net/jashmenn/intro-to-cascading
- http://www.slideshare.net/AlexSu1/cascading-introduction
- http://www.slideshare.net/chriscurtin/nosql-hadoop-cascading-june-2010
- http://www.slideshare.net/chriscurtin/hadoop-and-cascading-at-ajug-july-2009
- http://www.slideshare.net/btomasette/cascading1
- http://www.slideshare.net/cwensel/building-scale-free-applications-with-hadoop-and-cascading-1616859
@netologist
netologist / recommendation-engine-services.md
Created August 2, 2012 09:17
Recommendation Engine Services

##Recommendation Engine Services

####IREUS Recommendation Engine for stores as SaaS

http://www.ireus.net/

####Plista

@netologist
netologist / gist:3370765
Created August 16, 2012 14:51
Fix Mountain Lion 10.8 Brew Problems
Saving the private “brew” from Mountain Lion
sudo chown -R `whoami` /usr/local
go to Xcode -> Preferences -> Downloads tab then install the “Command Line Tools.”
download and install XQuartz 2.7.2
sudo ln -s /opt/X11 /usr/X11
do logout and login
brew update
brew upgrade maybe ;)
brew cleanup as you wish ;)
@netologist
netologist / links
Created August 21, 2012 07:16 — forked from mechiland/links
Rails Stack
# Title: Directory Listing Plugin for Jekyll
# Author: Simon Heimlicher http://simon.heimlicher.com
# Description: Display list of pages and directories beneath current directory
# Configuration: You can set default title in _config.yml as follows:
# directory_listing_title: "Contents: "
# directory_listing_prefix: "Contents of "
#
# Syntax {% directory_listing Title of Listing %}
#
# Example 1:
@netologist
netologist / currying.md
Created March 23, 2013 17:37
functional-programming-samples-with-scala

object CurryTest extends Application {

def filter(xs: List[Int], p: Int => Boolean): List[Int] = if (xs.isEmpty) xs else if (p(xs.head)) xs.head :: filter(xs.tail, p) else filter(xs.tail, p)

def modN(n: Int)(x: Int) = ((x % n) == 0)

val nums = List(1, 2, 3, 4, 5, 6, 7, 8)

@netologist
netologist / closure.scala
Last active December 15, 2015 13:48
fonksiyonel programlama
def makeIncrementer(inc: Int): (Int => Int) = (x: Int) => x + inc
val a = makeIncrementer(10)
// a: (Int) => Int =
val b = a(25)
// res4: Int = 35