« 1045 1046 1047 1048 1049 1506 »

Pages are deceptive. Live life in a basket.

RVM and rbenv

_ Learning, sharing, coding. Home About Me Email Me Tweet Many of you are familiar with rbenv and some of the controversy surrounding it. I love RVM and will more than likely continue to use it, but one of the things I truly value in the ruby community is always having more than one option. I was delightfully surprised with the simplicity of rbenv, how easy it was, and how familiar it felt right out of the box. This article will provide a (humorous) side-by-side comparison of the basic usage and installation of rbenv and RVM. In RVM you need to add this to your profile to load the RVM function. # or ~/.zshrc $ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile In rbenv you need to add this to your profile to load the rbenv command-line function. # or ~/.zshrc $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"...

Linked on 2015-03-30 23:07:52 | Similar Links
Nested Functions - Using the GNU Compiler Collection (GCC)

Next: Constructing Calls , Previous: Labels as Values , Up: C Extensions A nested function is a function defined inside another function. Nested functions are supported as an extension in GNU C, but are not supported by GNU C++. The nested function's name is local to the block where it is defined. For example, here we define a nested function named square , and call it twice: foo (double a, double b) { double square (double z) { return z * z; } return square (a) + square (b); } The nested function can access all the variables of the containing function that are visible at the point of its definition. This is called lexical scoping . For example, here we show a nested function which uses an inherited variable named offset : bar (int *array, int offset, int size) { int access (int *array, int index) { return array[index + of...

Linked on 2015-03-30 22:18:56 | Similar Links
Blocks (C language extension) - Wikipedia, the free encyclopedia

CentralNotice From Wikipedia, the free encyclopedia Jump to: navigation , search This article needs attention from an expert in Programming languages . Please add a reason or a talk parameter to this template to explain the issue with the article. WikiProject Programming languages (or its Portal ) may be able to help recruit an expert. (September 2009) Blocks are a nonstandard extension added by Apple Inc. to their implementations of the C , C++ , and Objective-C programming languages that uses a lambda expression -like syntax to create closures within these languages. Blocks are supported for programs developed for Mac OS X 10.6+ and iOS 4.0+, [ 1 ] although third-party runtimes allow use on Mac OS X 10.5 and iOS 2.2+. [ 2 ] Apple designed blocks with the explicit goal of making it easier to write programs for the Grand Central Dispatch threading architecture,...

Linked on 2015-03-30 22:17:43 | Similar Links
Phil's Ice House Burnet Rd. Online Ordering by MAVN

Phil's Ice House: Burnet Rd. Favorites ▼ ▶ Location Info Contact Hours Map ▼ ▶ Burgers The Allandale Burger The Brentwood Burger The Rosedale Burger The Violet Crown The Crestview Burger 78704 Burger The Phil-A-Buster Travis Heights 78750 Burger 78756 Burger Jollyville Burger ▼ ▶ Build Your Own BYO Beef Burger BYO Turkey Burger BYO Veggie Burger BYO Chicken Sandwich ▼ ▶ Mini Burgers Mini Burger Sampler Basket Mini Burger Half Basket Single Mini Burger ▼ ▶ Other Favorites Balcones Chicken Jack Highland Hills Chicken Sandwich Hot and Crunchy Fish Sandwich Grilled Foot Long Hot Dog Corn Dog Frito Pie BLT Grilled Cheese ▼ ▶ Kids Kids Mini Cheeseburger Kids Mini Hamburger Kids Corn Dog Kids Chicken Tenders Kids Hot Dog Kids Veggie Burger Kid's Grilled Cheese Two Mini Burgers Two Mini Veggi...

Linked on 2015-03-30 22:13:10 | Similar Links
asdf

Sign up for a GitHub account Sign in All Gists lykkin / gist:289a00aefc4cb092b63d Created March 30, 2015 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav asdf View gist:289a00aefc4cb092b63d gistfile1.c Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 # include < stdio.h > # include < stdlib.h > unsigned long long possibleSums ( unsigned int n, unsigned long long * memo){ if (n == 0 ) { return 1 ; } if (memo[n] != 0 ) { return memo[n]; } int i; unsigned long long sum = 0 ; int denoms[ 7 ] = { 1 , 2 , 5 , 10 , 20 , 50 , 100 }; for (i = 0 ; i < 7 ; i++){ unsigned long l...

Linked on 2015-03-30 21:49:16 | Similar Links
shitstream/app.js at master · nijotz/shitstream · GitHub

Skip to content Sign up Sign in This repository Explore Features Enterprise Blog Watch 2 Star 3 Fork 1 nijotz / shitstream /.container /.repohead Code Issues Pull requests Pulse Graphs HTTPS Subversion You can clone with HTTPS or Subversion . Download ZIP /.repository-sidebar Permalink blob contrib key: blob_contributors:v21:699f8359cadd236521e894eac17ee262 branch: master Switch branches/tags Branches Tags 034_sideload master Nothing to show Nothing to show shitstream / static / js / app.js nijotz Oct 2, 2014 Added dates to github updates 1 contributor nijotz Raw Blame History 279 lines (244 sloc) 8.212 kb window .App = Ember.Application.create({ // Basic loggi...

Linked on 2015-03-30 21:39:44 | Similar Links
Problem 31 - Project Euler

About Archives Recent News Register Sign In Project Euler .net You are currently using a secure connection Published on Friday, 22nd November 2002, 06:00 pm; Solved by 47272 In England the currency is made up of pound, £, and pence, p, and there are eight coins in general circulation: 1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p). It is possible to make £2 in the following way: 1×£1 + 1×50p + 2×20p + 1×5p + 1×2p + 3×1p How many different ways can £2 be made using any number of coins? Project Euler: Copyright Information | Privacy Policy /Creative Commons License <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <Work rdf:about=""> <license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/...

Linked on 2015-03-30 21:26:35 | Similar Links
motivation

This is a dumb hack, we should only have one or the other from the the template context, so only one of the following will be rendered. ...

Linked on 2015-03-30 21:21:49 | Similar Links
How to debug python CLI that takes stdin? - Stack Overflow

current community chat blog Stack Overflow Meta Stack Overflow Stack Overflow Careers Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site stack overflow careers Stack Overflow Questions Tags Users Badges Unanswered Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required. How to debug python CLI that takes stdin? up vote 6 down vote favorite I'm trying to debug a Python CLI I wrote that can take its arguments from stdin...

Linked on 2015-03-30 20:50:23 | Similar Links
Monkey Patching in Go

Bouke van der Bijl Github Twitter Mar 2015 Many people think that monkey patching is something that is restricted to dynamic languages like Ruby and Python. That is not true however, as computers are just dumb machines and we can always make them do what we want! Let’s look at how Go functions work and how we can modify them at runtime. This article will use a lot of Intel assembly syntax, so I’m assuming you can read it already or are using a reference while reading. If you’re not interested in how it works and you just want to do monkey patching, then you can find the library here . note: samples should be built with go build -gcflags=-l to disable inlining. For this article I assume your architecture is 64-bits and that you’re using a unix-based operating system like Mac OSX or a Linux variant Let’s look at what the following code produces when disassembled: When ...

Linked on 2015-03-30 19:58:39 | Similar Links
Imgur

we're hiring! blog new post! about imgur imgur store uploading tools developer api need help? terms privacy upload images 23 Upload Images Video to GIF Make a Meme sign in sign up #secondary-nav .header-center #topbar Loading... browse your computer drag and drop here Ctrl + V paste from your clipboard gallery submit vars publish to Imgur create album Start Upload Blog Horizontal Grid (0) By uploading, you agree to our terms of service Optimizing your large GIFs... That file type is not supported! Supported formats: JPEG, GIF, PNG, APNG, TIFF, BMP, PDF, XCF Prev · Next First Image Second Image 31 seconds ago · 0 views · stats Love Imgur?...

Linked on 2015-03-30 19:29:43 | Similar Links
Imgur

we're hiring! blog new post! about imgur imgur store uploading tools developer api need help? terms privacy upload images 23 Upload Images Video to GIF Make a Meme sign in sign up #secondary-nav .header-center #topbar Loading... browse your computer drag and drop here Ctrl + V paste from your clipboard gallery submit vars publish to Imgur create album Start Upload Blog Horizontal Grid (0) By uploading, you agree to our terms of service Optimizing your large GIFs... That file type is not supported! Supported formats: JPEG, GIF, PNG, APNG, TIFF, BMP, PDF, XCF Prev · Next First Image Second Image 31 seconds ago · 0 views · stats Love Imgur?...

Linked on 2015-03-30 19:29:38 | Similar Links
« 1045 1046 1047 1048 1049 1506 »

Pages are deceptive. Live life in a basket.