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($){ | |
| $.ui.datepicker.regional['da'] = { | |
| closeText: 'Luk', | |
| prevText: '<Forrige', | |
| nextText: 'Næste>', | |
| currentText: 'I dag', | |
| monthNames: ['januar','februar','marts','april','maj','juni', | |
| 'juli','august','september','oktober','november','december'], | |
| monthNamesShort: ['jan','feb','mar','apr','maj','jun', | |
| 'Jul','Aug','sep','okt','nov','dec'], |
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
| <?php | |
| function get_file_info( $file ) { | |
| $fp = fopen( $file, 'r' ); | |
| $data = fread( $fp, 8192 ); // get first 8kb | |
| fclose( $fp ); | |
| // Capture all the header within first comment block | |
| if( !preg_match( '!.*?/\*(.*?)\*/!ms', $data, $matches ) ) | |
| return array(); | |
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
| using Microsoft.VisualBasic; | |
| using Microsoft.VisualBasic.CompilerServices; | |
| namespace TangChr.Tools | |
| { | |
| public static class StringMatch | |
| { | |
| public static bool IsWildcardMatch(string search, string source) | |
| { // Wildcard: * | |
| return Operators.LikeString(source, search, CompareMethod.Text); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Link Color</title> | |
| </head> | |
| <style> | |
| body { | |
| background: #2c3e50; | |
| font-family: Arial, Verdana, sans-serif; | |
| } |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace TangChr | |
| { | |
| public static class ExtendForEach | |
| { | |
| public static void ForEach<T>(this IEnumerable<T> collection, Action<T> action, Func<T, bool> condition) | |
| { |
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
| <ul class="post-archive"> | |
| {% for p in site.posts %} | |
| <li> | |
| {% assign fdate = p.date | date: '%b %Y' %} | |
| {% if cur_date != fdate %} | |
| {% assign cur_date = fdate %} | |
| <h3>{{ p.date | date: '%B, %Y' }}</h3> | |
| {% endif %} | |
| <a href="{{ p.url }}">{{ p.title }}</a> | |
| </li> |
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
| @mixin slated-top-left($size, $foreground, $background) { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| top: 0; | |
| left: 0; | |
| border-top: $size solid $background; | |
| border-right: $size solid $foreground; | |
| } |
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
| rmdir _site /s /q | |
| rmdir .sass-cache /s /q | |
| del Gemfile.lock |
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
| language: ruby | |
| rvm: 2.3.3 | |
| branches: | |
| only: | |
| - master | |
| script: bundle exec rake test |
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
| [alias] | |
| ec = config --global -e | |
| br = branch | |
| sa = !git add --all | |
| ca = !git add --all && git commit -m | |
| up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
| lrb = !git remote -v | |
| co = checkout | |
| cob = checkout -b | |
| crb = !git cob $1 && git push origin -u |
OlderNewer