Skip to content

Instantly share code, notes, and snippets.

Daryl Roberts sorahn

Block or report user

Report or block sorahn

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
@sorahn
sorahn / mario-odyssey.mmd
Created Nov 14, 2017
Super Mario Odyssey - mermaid flowchart.
View mario-odyssey.mmd
graph TD
wooded[Wooded Kingdom<br><small>Iron Mt. Path Station 8</small>] --> luncheon
luncheon(Lunhceon Kingdom<br><small>Path to the Meat Platteau</small>) --> mushroom
mushroom(Mushroom Kingdom<br><small></small>) --> snow
snow(Snow Kingdom<br><small></small>) --> cascade
cascade(Cascade Kingdom<br><small></small>) --> bowser
bowser(Bowser's Kingdom<br><small></small>) --> seaside
seaside(Seaside Kingdom<br><small></small>) --> lake
lake(Lake Kingdom<br><small>Cortyard Flag</small>) --> sand
sand(Sand Kingdom<br><small>Tosterena Ruins Sand Pillar</small>) --> metro
@sorahn
sorahn / side-shadow.scss
Last active Aug 29, 2015
Generate an "inset" shadow on a single side of a div.
View side-shadow.scss
//
// @author Daryl Roberts
// @license MIT
// @url https://gist.github.com/sorahn/7915cae6c820e351158f
//
@mixin side-shadow($shadow, $side, $base-size: 50px) {
// If you need to make shadows larger than 50px, you can
// override the base size.
@sorahn
sorahn / SassMeister-input.scss
Last active Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.1.0)
// ----
//
// @author Daryl Roberts
// @license MIT
//
@mixin side-shadow($shadow, $side, $base-size: 50px) {
@sorahn
sorahn / SassMeister-input.scss
Created Feb 6, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin appearance($var) {
-webkit-appearance: $var;
-moz-appearance: $var;
appearance: $var;
}
@sorahn
sorahn / SassMeister-input.scss
Created Oct 10, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
// Ratings.
$ranks-color: gold !default;
@mixin clearfix() {
content: "clearfix";
}
@sorahn
sorahn / gist:9442634
Created Mar 9, 2014
Simple hex helpers.
View gist:9442634
# Parse ini style numbers in strings.
# hex = '$123ABC'
# dec = '123456'
String::getHex = -> parseInt @, 16
String::iniHex = -> if "#{@.charAt 0}" is '$' then do "#{@.slice 1}".getHex else +@
@sorahn
sorahn / dabblet.css
Created Jan 23, 2014
css gradient for triangle shaped arrow (SO)
View dabblet.css
/**
* css gradient for triangle shaped arrow (SO)
* http://stackoverflow.com/q/12431596/1397351
*/
.shape {
float: left;
position: relative;
border: 1px solid #ccc;
border-right: none;
width: 240px; height: 80px;
View gist:5499918
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
<style>
</style>
<!-- none of the rest of the tags are required for html5, wee! -->
<!-- body -->
View gist:5264691
labuser@rsdirtylnx:/home/incoming/relayserver/quicksetup_apache$ sudo ./ap-setup.sh
+ source /home/incoming/relayserver/quicksetup_apache/__funcs__.sh
./ap-setup.sh: 12: ./ap-setup.sh: source: not found
+ clear
+ echo
+ echo You are about to execute the Relay Server quick setup script for
You are about to execute the Relay Server quick setup script for
+ echo Apache. Output of this setup script will be captured in ap-setup.log.
Apache. Output of this setup script will be captured in ap-setup.log.
You can’t perform that action at this time.