- Clear feature ownership
- Module usage predictibility (refactoring, maintainence, you know what's shared, what's not, prevents accidental regressions, avoids huge directories of not-actually-reusable modules, etc)
This file contains 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
version: "3.7" | |
services: | |
open-webui: | |
image: ghcr.io/open-webui/open-webui:main | |
depends_on: | |
- ollama | |
volumes: | |
- open-webui:/app/backend/data | |
ports: | |
- 9999:8080 |
This file contains 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
import Ember from 'ember'; | |
/** | |
* Mixin support for animating transitions/outlets. | |
*/ | |
var AnimateOutletMixin = Ember.Mixin.create(Ember.Evented, { | |
/** | |
* @private | |
* @property {jQuery} _$clone - temporary store of the cloned view for shared access | |
*/ |
This file contains 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
App = Ember.Application.create({ | |
LOG_TRANSITIONS: true | |
}); | |
// ROUTES | |
// Routes determine the naming convention for controllers, route, and models | |
App.Router.map(function() { | |
this.resource('dashboard', { path: '/onboarding' }); | |
this.resource('onboarding', { path: '/onboarding/:form_id' }, function() { | |
this.route('step1'); |
This file contains 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
<div id="touts_message" style="width: 170px; height:140px; margin-right: 33px;"> | |
<a href="http://www.facebook.com/dbhtees"><img style="border: 0;" src="http://www.designbyhumans.com/downloads/scraps/touts/facebook20101102.gif" /></a> | |
<h2><a href="http://www.facebook.com/dbhtees"></a></h2> | |
</div> | |
<div id="touts_message" style="width: 170px; height:140px; margin-right: 33px;"> | |
<a href="http://www.twitter.com/designbyhumans"><img style="border: 0;" src="http://www.designbyhumans.com/downloads/scraps/touts/twitter20101102.gif" /></a> | |
<h2><a href="http://www.twitter.com/designbyhumans"></a></h2> | |
</div> |
This file contains 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
=info-box($color) | |
background-color: $color | |
border-color: darken(desaturate($color, 70), 10) | |
section | |
&.info | |
font-size: 12px | |
font-weight: bold | |
padding: 1px 15px |
This file contains 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
case 'remove': | |
$clean = array( 'hash' => sqlite_escape_string(trim($_GET['hash'])) ); | |
$query = 'SELECT sig, art FROM winners WHERE hash = "' . $clean['hash'] . '"'; | |
$winner = array_shift($database->arrayQuery($query)); | |
if (!$winner) { | |
header( 'Location: ./admin.php' ); | |
die; | |
} | |
// remove files and directory |
This file contains 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
import gs.TweenMax; | |
import gs.easing.*; | |
// Begin XML Data Here | |
// Initialize Caption Number | |
var capNum:int = 0; | |
var caption:XML = <WORDS> | |
<CAP>This is caption 1!</CAP> | |
<CAP>This is caption 2!</CAP> |