This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p> | |
| <span style="background-color: red"> hello </span> | |
| foo | |
| <span style="background-color: pink">world</span> | |
| </p> | |
| %div | |
| %span{style: "background-color: pink;"} | |
| label1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // X-Calibar Yellings | |
| Say::New( sayHmmmm, "ready", "The time has come...Prepare yourself!"); | |
| Say::New( sayYoohooo, "taunt1", "The blade of purity cleanses yet another soul"); | |
| Say::New( saySighh, "sorry", "I am sorry, but tis my duty to fight"); | |
| Say::New( yellYouFool, "dsgst2", "You Fool! Do you realize what you have done?!?");␠ | |
| Say::New( yellProceed, "attac2", "Fight against me if you can"); | |
| Say::New( sayNoo, "dsgst4", "Impossible!"); | |
| Say::New( sayAllRight, "cheer3", "That was an excellent battle!!"); | |
| Say::New( yellHi, "hello", "Greetings!!! I am X-Calibar"); | |
| Say::New( yellCover, "coverme", "I may be X-Calibar... but I AM NOT immortal!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Generating an SSL private key to sign your certificate..." | |
| openssl genrsa -des3 -out myssl.key 1024 | |
| echo "Generating a Certificate Signing Request..." | |
| openssl req -new -key myssl.key -out myssl.csr | |
| echo "Removing passphrase from key (for nginx)..." | |
| cp myssl.key myssl.key.org | |
| openssl rsa -in myssl.key.org -out myssl.key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // taken from http://www.ioccc.org/years.html | |
| #include <ncurses.h> | |
| #define T typedef unsigned | |
| T long G; | |
| T short CT; | |
| #define ATG srand(time(0)); initscr(); cbreak(); noecho(); start_color(); | |
| #define GG(T,C) attrset(A_BOLD*!(T)|COLOR_PAIR(C%2+1)); | |
| #define AC(G) init_pair(G/2,G,nodelay(stdscr,G/3)); | |
| #define TCT(A,G,C) mvaddch(A+CTT*6+4,CGA*12+G,C) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| There were two of them. They lived in a world of sorts, with a few billion others. | |
| You might not call it a world, but it was. These two did the things one might | |
| expect to be done in this kind of world; Dance around, gravitate towards others, | |
| and generally just go with the flow. There was not much deviation, and although quite | |
| similar, these two did not know one another; for how could you when you lived | |
| nearly a hundred thousand lightyears apart. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # make Gemfile with 'gem rails' | |
| # make .rvmrc with ruby version and gemset for project | |
| # cd back in to pick up rvm | |
| # bundle to install rails alone | |
| # rails new . (let it overwrite gemfile, it will automatically bundle) | |
| # git init | |
| # git add . | |
| # git commit -m 'initial rails app' | |
| # (configure database yaml.. or use sqlite) | |
| # rake db:create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'omniauth-oauth' | |
| module OmniAuth | |
| module Strategies | |
| class Ravelry < OmniAuth::Strategies::OAuth | |
| # Give your strategy a name. | |
| option :name, "ravelry" | |
| # This is where you pass the options you would pass when | |
| # initializing your consumer from the OAuth gem. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CheckOutActive - Check the active window out for modification | |
| # | |
| # Usage: Called by a userdefined menu item | |
| # | |
| # CheckOutActive uses the ProjectInfo command to determine the | |
| # parent project for the file open as the Active window. Once this | |
| # project has been determined, the file open as the Active window | |
| # can be properly checked out. | |
| # | |
| # © Apple Computer, Inc. 1988 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [["Creature — Cat", 41], | |
| ["Creature — Vampire", 42], | |
| ["Creature — Elf", 45], | |
| ["Creature — Merfolk Wizard", 46], | |
| ["Creature — Shapeshifter", 50], | |
| ["Creature — Illusion", 52], | |
| ["Creature — Goblin Warrior", 55], | |
| ["Creature — Drake", 57], | |
| ["Creature — Dragon", 59], | |
| ["Creature — Wurm", 62], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 95 | 0 | |
|---|---|---|
| 45 | 1 | |
| 10 | 2 | |
| 30 | 1 | |
| 80 | 2 | |
| 5 | 0 |