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
| UPDATE: This is tested and working on both Linux and Windows 11 used for LlaMa & DeepSeek | |
| Here's a sample `README.md` file written by Llama3.2 using this docker-compose.yaml file that explains the purpose and usage of the Docker Compose configuration: | |
| **ollama-portal** | |
| A multi-container Docker application for serving OLLAMA API. | |
| **Overview** |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <ImageView | |
| android:id="@+id/alert_icon_image" | |
| android:layout_width="24dp" |
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
| function interval(func, wait, times){ | |
| var interv = function(w, t){ | |
| return function(){ | |
| if(typeof t === "undefined" || t-- > 0){ | |
| setTimeout(interv, w); | |
| try{ | |
| func.call(null); | |
| } | |
| catch(e){ | |
| t = 0; |
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
| // Icon list (corresponds to icon font characters) | |
| // Note associative arrays will be easier in Sass version 3.3: https://github.com/nex3/sass/issues/642 | |
| $icons: ( | |
| 'facebook' '\e000', | |
| 'googleplus' '\e001', | |
| 'linkedin' '\e002', | |
| 'twitter' '\e003', | |
| 'youtube' '\e004', | |
| 'email' '\e005' | |
| ); |
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
| // To simulate associative arrays | |
| // Source: http://hugogiraudel.com/2013/08/12/sass-functions/#mapping | |
| @function match($haystack, $needle) { | |
| @each $item in $haystack { | |
| $index: index($item, $needle); | |
| @if $index { | |
| $return: if($index == 1, 2, $index); | |
| @return nth($item, $return); | |
| } | |
| } |
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
| var Tabs = { | |
| el: { | |
| nav: $(".nav"), | |
| tabs: $(".nav > li > a"), | |
| panels: $(".nav > li > section") | |
| }, | |
| init: function() { | |
| Tabs.bindUIActions(); |
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
| <div id="wrapper"> | |
| <div class="logo chrome"> | |
| <div class="part-1"></div> | |
| <div class="part-2"></div> | |
| <div class="part-3"></div> | |
| <div class="circle"></div> | |
| <div class="center"></div> | |
| </div> |
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
| //////////HTML///////////////////////// | |
| <label for="email">Email</label> | |
| <input id="email" name="email" type="email" placeholder="[email protected]"> | |
| //////////CSS///////////////////////// | |
| @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro); | |
| body { |
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
| //Usage | |
| //<input type="checkbox"> | |
| /* Face Toggle --------------------------------- */ | |
| input[type="checkbox"] { | |
| appearance: none; | |
| outline: none; | |
| position: relative; | |
| margin: auto; |
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
| MIXINS: | |
| ========================================================= | |
| //CSS3 Animation Delay and Duration with vendor-prefixes | |
| @mixin animate-props ($delay: 1s, $duration: 1s, $mode: both) { | |
| -webkit-animation-delay : $delay; | |
| -webkit-animation-duration : $duration; | |
| -webkit-animation-fill-mode: $mode; | |
| -ms-animation-delay : $delay; | |
| -ms-animation-duration : $duration; |
NewerOlder