Skip to content

Instantly share code, notes, and snippets.

Kerem Karatal keremk

Block or report user

Report or block keremk

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
@jdegoes
jdegoes / fpmax.scala
Created Jul 13, 2018
FP to the Max — Code Examples
View fpmax.scala
package fpmax
import scala.util.Try
import scala.io.StdIn.readLine
object App0 {
def main: Unit = {
println("What is your name?")
val name = readLine()
@yefim
yefim / Dockerfile
Last active Sep 6, 2019
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
View Dockerfile
# Example Dockerfile
FROM hello-world
@staltz
staltz / introrx.md
Last active Nov 18, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
View gist:8213806
/**
Provides the ability to verify key paths at compile time.
If "keyPath" does not exist, a compile-time error will be generated.
Example:
// Verifies "isFinished" exists on "operation".
NSString *key = SQKeyPath(operation, isFinished);
// Verifies "isFinished" exists on self.
@iamatypeofwalrus
iamatypeofwalrus / roll_ipython_in_aws.md
Last active Nov 17, 2019
Create an iPython HTML Notebook on Amazon's AWS Free Tier from scratch.
View roll_ipython_in_aws.md

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time
@notmatt
notmatt / hello_node.md
Created May 27, 2012
Polyglotconf ad-hoc "intro to node.js" talk
View hello_node.md

Polyglotconf intro to node.js

If you're interested in learning more in person, VanJS (@vanjs) often has node-related content.

And like Rob and Brock mentioned in the session, they're starting up the Vancouver Node Brigade (@NodeBrigade) for a more node-focused meetup.

Now, as promised, links from the session and some expanded notes. All questions, comments, and pull requests are most welcome.

Installation & Hello World

@rmw
rmw / hash.rb
Created May 16, 2012
Extend Ruby Hash with method to return a recursive OpenStruct
View hash.rb
class Hash
# options:
# :exclude => [keys] - keys need to be symbols
def to_ostruct_recursive(options = {})
convert_to_ostruct_recursive(self, options)
end
private
def convert_to_ostruct_recursive(obj, options)
result = obj
@erikh
erikh / hack.sh
Created Mar 31, 2012 — forked from DAddYE/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@v1nc3ntlaw
v1nc3ntlaw / rbenv-install-system-wide.sh
Last active Apr 23, 2019
rbenv install ruby 1.9.3-p448 on Ubuntu 12.04 LTS
View rbenv-install-system-wide.sh
#
# Run as root
# $ bash <(curl -s https://raw.github.com/gist/1631411)
#
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential git-core curl \
libssl-dev \
You can’t perform that action at this time.