You should go here to see what I'm talking about. But it includes Sass for loops and mixins and it's really rather good, I think you'll agree.
A Pen by Anthony Williams on CodePen.
| var today = moment(new Date()), | |
| monthEnd, | |
| nextDate; | |
| do { | |
| if (monthEnd === undefined) { | |
| monthEnd = moment(new Date()); | |
| } | |
| else { | |
| monthEnd = monthEnd.add('months', 1); |
You should go here to see what I'm talking about. But it includes Sass for loops and mixins and it's really rather good, I think you'll agree.
A Pen by Anthony Williams on CodePen.
| /* | |
| // Token Generation Script | |
| // | |
| // This will require you to visit the Google Developer Console at https://console.developers.google.com and | |
| // create an app. You'll want to create a web application client ID and grab the client key and secret. | |
| // | |
| // This will then take you through the process of generating the keys in a quick and dirty fashion. | |
| // | |
| // Usual npm install shenanigans apply -- you'll need moment, mongodb and googleapis for this. | |
| */ |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous"> | |
| <script src="http://code.jquery.com/jquery.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script> | |
| <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | |
| <script src="http://abitgone.github.io/jQuery-Plugins/ClassToggle/abitgone-classtoggle.js"></scri |
| WITH | |
| BankHoliday AS ( | |
| SELECT | |
| Holiday_Date_Observed, | |
| Holiday_Name, | |
| Holiday_Jurisdiction, | |
| Holiday_Notes | |
| FROM ( VALUES | |
| ('1979-01-01', 'New Year''s Day', 'england-and-wales', NULL), | |
| ('1979-01-01', 'New Year''s Day', 'scotland', NULL), |