If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
<?php | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/* Change size for Yoast SEO OpenGraph image for all content | |
* Credit: Yoast Development team | |
* Last Tested: May 19 2020 using Yoast SEO 14.1 on WordPress 5.4.1 | |
* Accepts WordPress reserved image size names: 'thumb', 'thumbnail', 'medium', 'large', 'post-thumbnail' | |
* Accepts custom image size names: https://developer.wordpress.org/reference/functions/add_image_size/ | |
*/ | |
image: samueldebruyn/debian-git | |
pipelines: | |
custom: # Pipelines that are triggered manually | |
init: # -- First time init | |
- step: | |
script: | |
- apt-get update | |
- apt-get -qq install git-ftp | |
- git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST |
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
SELECT @a:=@a+1 serial_number, student_name, student_class FROM TBL_STUDENT, (SELECT @a:= 0) AS a; |
// $f = new NumberFormatter("en", NumberFormatter::SPELLOUT); | |
// echo $f->format(1432123.45); | |
$number = 1257.37; | |
$no = round($number); | |
$point = round($number - $no, 2) * 100; | |
$hundred = null; | |
$digits_1 = strlen($no); | |
$i = 0; | |
$str = array(); |
var number, no, point, hundred, digits_1, i, str, words, digits, divider, plural, counter, result, points; | |
number = 1257.37; | |
number = number.toString().split('.'); | |
no = number[0]; | |
point = number[1]; | |
hundred = ''; | |
digits_1 = no.length; | |
i = 0; | |
str = new Array(); | |
words = {'0':'', '1':'One', '2':'Two', '3':'Three', '4':'Four', '5':'Five', '6':'Six', '7':'Seven', '8':'Eight', '9':'Nine', '10':'Ten', '11':'Eleven', '12':'Twelve', '13':'Thirteen', '14':'Fourteen', '15':'Fifteen', '16':'Sixteen', '17':'Seventeen', '18':'Eighteen', '19':'Nineteen', '20':'Twenty', '30':'Thirty', '40':'Forty', '50':'Fifty', '60':'Sixty', '70':'Seventy', '80':'Eighty', '90':'Ninety'}; |
function daysInMonth(year, month) { | |
month++; | |
return new Date(year, month, 0).getDate(); | |
} | |
function CompareDates( d1, d2 ) { | |
if ( d1 < d2 ) return -1; // d1 is in the past of d2 | |
if ( d1 > d2 ) return 1; // d1 is in the future of d2 | |
return 0; | |
} | |
jQuery(document).ready(function($) { |