Skip to content

Instantly share code, notes, and snippets.

@poppen
Created August 10, 2016 03:10
Show Gist options
  • Save poppen/852bd5b4bd4db5fa02c33097c414ac71 to your computer and use it in GitHub Desktop.
Save poppen/852bd5b4bd4db5fa02c33097c414ac71 to your computer and use it in GitHub Desktop.

Revisions

  1. @jookyboi jookyboi revised this gist Sep 25, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2_keyboard_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,4 @@ Create documentation for your projects. Like so:

    GistBox Clipper is the companion extension to GistBox, the most beautiful way to organize code snippets. It allows a user to create a GitHub Gist from any page on the web.

    Download from: https://chrome.google.com/webstore/detail/gistbox-clipper/cejmhmbmafamjegaebkjhnckhepgmido
    [Download from the Chrome Web Store](https://chrome.google.com/webstore/detail/gistbox-clipper/cejmhmbmafamjegaebkjhnckhepgmido)
  2. @jookyboi jookyboi revised this gist Sep 25, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 2_keyboard_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ Create documentation for your projects. Like so:
    - Ctrl+e - Edit a selected Gist
    - Ctrl+s - Save Gist

    ## Save Gists from anywhere with the GistBox Clipper
    ## Save Gists from anywhere with Clipper

    GistBox Clipper is the companion extension to GistBox, the most beautiful way to organize code snippets. It allows a user to create a GitHub Gist from any page on the web.

  3. @jookyboi jookyboi revised this gist Sep 25, 2013. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion 2_keyboard_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,10 @@ Create documentation for your projects. Like so:

    - Up/Down - Previous/Next Gist
    - Ctrl+e - Edit a selected Gist
    - Ctrl+s - Save Gist
    - Ctrl+s - Save Gist

    ## Save Gists from anywhere with the GistBox Clipper

    GistBox Clipper is the companion extension to GistBox, the most beautiful way to organize code snippets. It allows a user to create a GitHub Gist from any page on the web.

    Download from: https://chrome.google.com/webstore/detail/gistbox-clipper/cejmhmbmafamjegaebkjhnckhepgmido
  4. @jookyboi jookyboi revised this gist Sep 24, 2013. 2 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
  5. @jookyboi jookyboi revised this gist Sep 24, 2013. 4 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
    File renamed without changes.
    File renamed without changes.
  6. @jookyboi jookyboi revised this gist Sep 24, 2013. No changes.
  7. jookyboi revised this gist Sep 24, 2013. 4 changed files with 47 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions cheesecake_recipe.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    Use Gists to keep track of any information you'd like to remember later on.

    ---

    ## White Chocolate Raspberry Cheesecake
    From: http://allrecipes.com/Recipe/White-Chocolate-Raspberry-Cheesecake/Detail.aspx

    9 changes: 9 additions & 0 deletions keyboard_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    Create documentation for your projects. Like so:

    ---

    ## Most popular keyboard shortcuts within GistBox

    - Up/Down - Previous/Next Gist
    - Ctrl+e - Edit a selected Gist
    - Ctrl+s - Save Gist
    2 changes: 2 additions & 0 deletions reuse_code.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    // Use Gists to store code you would like to remember later on
    console.log(window); // log the "window" object to the console
    32 changes: 32 additions & 0 deletions ruby_quicksort.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    # Use Gists to store entire functions
    class QuickSort

    def self.sort!(keys)
    quick(keys,0,keys.size-1)
    end

    private

    def self.quick(keys, left, right)
    if left < right
    pivot = partition(keys, left, right)
    quick(keys, left, pivot-1)
    quick(keys, pivot+1, right)
    end
    keys
    end

    def self.partition(keys, left, right)
    x = keys[right]
    i = left-1
    for j in left..right-1
    if keys[j] <= x
    i += 1
    keys[i], keys[j] = keys[j], keys[i]
    end
    end
    keys[i+1], keys[right] = keys[right], keys[i+1]
    i+1
    end

    end
  8. jookyboi created this gist Sep 24, 2013.
    32 changes: 32 additions & 0 deletions cheesecake_recipe.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    ## White Chocolate Raspberry Cheesecake
    From: http://allrecipes.com/Recipe/White-Chocolate-Raspberry-Cheesecake/Detail.aspx

    ![Raspberry Cheesecake](http://images.media-allrecipes.com/userphotos/250x250/00/08/75/87581.jpg)

    ### Ingredients

    - 1 cup chocolate cookie crumbs
    - 3 tablespoons white sugar
    - 1/4 cup butter, melted
    - 1 (10 ounce) package frozen raspberries
    - 2 tablespoons white sugar
    - 2 teaspoons cornstarch
    - 1/2 cup water
    - 2 cups white chocolate chips
    - 1/2 cup half-and-half cream
    - 3 (8 ounce) packages cream cheese, softened
    - 1/2 cup white sugar
    - 3 eggs
    - 1 teaspoon vanilla extract

    ### Directions

    1. In a medium bowl, mix together cookie crumbs, 3 tablespoons sugar, and melted butter. Press mixture into the bottom of a 9 inch springform pan.

    2. In a saucepan, combine raspberries, 2 tablespoons sugar, cornstarch, and water. Bring to boil, and continue boiling 5 minutes, or until sauce is thick. Strain sauce through a mesh strainer to remove seeds.

    3. Preheat oven to 325 degrees F (165 degrees C). In a metal bowl over a pan of simmering water, melt white chocolate chips with half-and-half, stirring occasionally until smooth.

    4. In a large bowl, mix together cream cheese and 1/2 cup sugar until smooth. Beat in eggs one at a time. Blend in vanilla and melted white chocolate. Pour half of batter over crust. Spoon 3 tablespoons raspberry sauce over batter. Pour remaining cheesecake batter into pan, and again spoon 3 tablespoons raspberry sauce over the top. Swirl batter with the tip of a knife to create a marbled effect.

    5. Bake for 55 to 60 minutes, or until filling is set. Cool, cover with plastic wrap, and refrigerate for 8 hours before removing from pan. Serve with remaining raspberry sauce.