🏴
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
| AAA|Anaa|French Polynesia| | |
| AAE|Annaba [El Mellah]|Algeria| | |
| AAL|Aalborg|Denmark| | |
| AAO|Anaco|Venezuela| | |
| AAR|Aarhus [Tirstrup]|Denmark| | |
| AAY|Al Ghaydah|Yemen| | |
| ABA|Abakan, Khakassia|Russia| | |
| ABF|Abaiang|Kiribati| | |
| ABI|Abilene, TX [Abilene Regional Airport]|United States| | |
| ABJ|Abidjan [Port-Bouet]|Ivory Coast| |
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
| #! /usr/bin/perl | |
| # works out how much VAT you've paid on a given amount | |
| # Change the amount on the next line for the VAT rate | |
| # Uses a while loop to allow multiple calculations | |
| $vat = 17.5; | |
| print "Please enter an amount paid including the VAT or 0 to quit ........ "; | |
| $amount = <STDIN> ; | |
| while ($amount != 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
| #!/usr/bin/perl | |
| # Craig R Morton | |
| # Example usage of 'unshift' function | |
| # Last_Edit: 13-Feb-2007 | |
| use strict; | |
| my @myNames; |
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
| #!/usr/bin/python | |
| # De-dupe the signup email send list with the send list export from Sendy | |
| import os | |
| import sys | |
| import csv | |
| import pprint | |
| signup_emails = [] |
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 install source this file from your .zshrc file | |
| # see documentation at http://linux.die.net/man/1/zshexpn | |
| # A: finds the absolute path, even if this is symlinked | |
| # h: equivalent to dirname | |
| export __GIT_PROMPT_DIR=${0:A:h} | |
| export GIT_PROMPT_EXECUTABLE=${GIT_PROMPT_EXECUTABLE:-"python"} | |
| # Initialize colors. |
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 ll='ls -lG' | |
| export EDITOR=$(which vim) | |
| # Highlight the current autocomplete option | |
| zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" | |
| # Better SSH/Rsync/SCP Autocomplete | |
| zstyle ':completion:*:(scp|rsync):*' tag-order ' hosts:-ipaddr:ip\ address hosts:-host:host files' | |
| zstyle ':completion:*:(ssh|scp|ftp|sftp):*' hosts $hosts | |
| zstyle ':completion:*:(ssh|scp|ftp|sftp):*' users $users |
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
| ps aux | grep httpd | |
| _www 60997 0.0 0.0 4300784 476 ?? S 4:49pm 0:00.00 /usr/local/opt/httpd/bin/httpd -k start | |
| _www 60996 0.0 0.0 4300784 456 ?? S 4:49pm 0:00.00 /usr/local/opt/httpd/bin/httpd -k start | |
| _www 60995 0.0 0.0 4300784 456 ?? S 4:49pm 0:00.00 /usr/local/opt/httpd/bin/httpd -k start | |
| _www 60994 0.0 0.0 4300784 456 ?? S 4:49pm 0:00.00 /usr/local/opt/httpd/bin/httpd -k start | |
| root 26130 0.0 0.0 4300808 2032 ?? Ss 2:08pm 0:00.77 /usr/local/opt/httpd/bin/httpd -k start | |
| crmpicco 76683 0.0 0.0 4268040 788 s001 S+ 5:00pm 0:00.00 grep httpd | |
| _www 60998 0.0 0.0 4300784 456 ?? S 4:49pm 0:00.00 /usr/local/opt/httpd/bin/httpd -k start | |
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
| {% block form_errors -%} | |
| {% if errors|length > 0 -%} | |
| {% if form is not rootform %}<span class="help-block">{% else %}<div class="alert alert-danger">{% endif %} | |
| <ul class="list-unstyled"> | |
| {%- for error in errors -%} | |
| <li><span class="glyphicon glyphicon-exclamation-sign"></span> {{ error.message }}</li> | |
| {%- endfor -%} | |
| </ul> | |
| {% if form is not rootform %}</span>{% else %}</div>{% endif %} | |
| {%- endif %} |
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="braintree-paypal-loggedin" | |
| style=' | |
| display: block; | |
| max-width: 500px; | |
| overflow: hidden; | |
| padding: 16px; | |
| background-image: url("https://checkout.paypal.com/pwpp/2.15.7/images/paypal-small.svg"), none; | |
| background-position: 20px 50%; background-repeat: no-repeat; | |
| background-size: 13px 15px; | |
| border-top: 1px solid rgb(209, 212, 214); |
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
| 'use strict'; | |
| var paypalButton = document.getElementById('paypal'); | |
| var paypalEmail = document.getElementById('bt-pp-email'); | |
| var paypalCancel = document.getElementById('braintree-paypal-loggedin'); | |
| function displayPrettyPayPal(payload) { | |
| paypalEmail.innerHTML = payload.details.email; | |
| $('#braintree-paypal-loggedin').fadeIn('slow'); | |
| } |
NewerOlder