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
| { | |
| "name": "NEwsletter color palette", | |
| "dataColors": [ | |
| "#176175", | |
| "#619E7D", | |
| "#DE594A", | |
| "#FACBCC", | |
| "#C6E8EC", | |
| "#EDD8C2", | |
| "#86BCAC", |
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
| Date Table = | |
| VAR FirstFiscalMonth = 7 -- First month of the fiscal year | |
| VAR FirstDayOfWeek = 0 -- 0 = Sunday, 1 = Monday, ... | |
| VAR FirstDate = MIN ( 'All User Stories and Bugs'[Closed Date] ) | |
| VAR LastDate = MAX ( 'All User Stories and Bugs'[Closed Date] ) | |
| VAR FirstFiscalYear = -- Customizes the first fiscal year to use | |
| YEAR ( FirstDate ) | |
| + 1 * ( MONTH ( FirstDate ) >= FirstFiscalMonth && FirstFiscalMonth > 1) | |
| VAR LastFiscalYear = -- Customizes the last fiscal year to use | |
| YEAR ( LastSalesDate ) |
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
| const response = { | |
| "drinks": [ | |
| { | |
| "idDrink": "11007", | |
| "strDrink": "Margarita", | |
| "strDrinkAlternate": null, | |
| "strTags": "IBA,ContemporaryClassic", | |
| "strVideo": null, | |
| "strCategory": "Ordinary Drink", | |
| "strIBA": "Contemporary Classics", |
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
| $url = 'https://www.windowscentral.com/sites/wpcentral.com/files/styles/w830/public/field/image/2016/06/xpbliss_7.jpg' | |
| $imgpath = "C:\Users\$env:UserName\Downloads\wallpaper123.jpg" | |
| Invoke-WebRequest $url -OutFile $imgpath | |
| Function Set-WallPaper($Value) | |
| { | |
| Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value $value | |
| rundll32.exe user32.dll, UpdatePerUserSystemParameters | |
| } |
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 Records = React.createClass({ | |
| getInitialState: function(){ | |
| return { | |
| records: this.props.data | |
| } | |
| }, | |
| getDefaultProps: function(){ | |
| return { | |
| records: [] | |
| } |