This file contains 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 targetFile = "SPREADSHEETKEY"; // Output file | |
var targetSheet = "SHEETNAME"; // output sheet | |
function Main() { | |
var CurrentDate = new Date() ; | |
var CurrentDateFormat = Utilities.formatDate(CurrentDate, "GMT", "MM.dd.YYYY") ; // YOU CAN CHOOSE ANOTHER FORMAT HERE | |
var ss = SpreadsheetApp.openById('SHEETNAME'); | |
var CSVDD = ss.getSheetByName('SHEETNAME'); |
This file contains 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
Move Shelveset to a Different Branch in TFS | |
Want to move a shelveset to a different branch? It’s more painful than I realised, but not to worry, here’s exactly what you need to do. | |
Step 1: Preparation | |
Make sure your source branch and target branch are both up to date by running Get Latest Changes. If you don’t you may receive the error: | |
“Unable to determine the workspace.” | |
Make sure you’ve created your shelveset and there are no pending changes for either branch. This includes the changes you just shelved! If you don’t you may receive the error: |
This file contains 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
If your certificate's file format is in pfx you will need to export it to a jks format. Follow these steps to do that: | |
* Access the following website and download KeyStore Explorer: | |
* http://keystore-explorer.org/downloads.html | |
* Open Key Store Explorer | |
* Open the key file (.pfx or other format) | |
* Type the certificate password | |
* Go to File > Save As | |
* Select JKS type and save it. |
This file contains 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
<xsl:template name="genTOC"> | |
<fo:block break-after="page"> | |
<fo:block space-after="5mm">Table of Contents</fo:block> | |
<xsl:for-each select="//PATH"> | |
<fo:block text-align-last="justify"> | |
<xsl:value-of select="./Name" />: | |
<fo:basic-link internal-destination="{generate-id(.)}"> | |
<fo:leader leader-pattern="dots" leader-pattern-width="2mm" /> | |
<fo:page-number-citation ref-id="{generate-id(.)}" /> |
This file contains 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
<!-- Example when tag is like this <Category /> --> | |
<xsl:if test="./Category"> | |
1 | |
</xsl:if> | |
<xsl:if test="not(./Category)"> | |
2 | |
</xsl:if> | |
<xsl:if test="./Category != ''"> |
This file contains 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
<!--This will format a date to "DD/MM/YYY HH:MM" from a format "YYYY-MM-DDTHH:MM:SS"--> | |
<xsl:variable name="dt" select="./When"/> | |
<xsl:value-of select="concat(substring($dt, 9, 2),'/',substring($dt, 6, 2),'/',substring($dt, 1, 4),' ', substring($dt, 12, 2),':',substring($dt, 15, 2))"/> |
This file contains 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
If the version is 8 then follow these steps. | |
$ cordova -v | |
8.0.0 | |
Modify the line 33--34 in your_project/plugins/cordova-plugin-crosswalk-webview/hooks/update_config.js | |
// platformConfigurationFile = path.join(androidPlatformDir, | |
// 'res', 'xml', 'config.xml'), | |
platformConfigurationFile = path.join(androidPlatformDir, | |
'app', 'src', 'main', 'res', 'xml', 'config.xml'), |
This file contains 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
/* | |
<angular-slickgrid gridId="importGrid" [columnDefinitions]="columnDefinitions" [gridOptions]="gridOptions" | |
[dataset]="dataset" (onAngularGridCreated)="angularGridReady($event)" | |
(sgOnCellChange)="onCellChanged($event.detail.eventData, $event.detail.args)" <----- required | |
> | |
</angular-slickgrid> | |
*/ |
This file contains 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
import { TestBed, inject } from '@angular/core/testing'; | |
import { FindMatchService } from './find-match.service'; | |
describe('FindMatchService', () => { | |
beforeEach(() => { | |
TestBed.configureTestingModule({ | |
providers: [FindMatchService] | |
}); | |
}); |
This file contains 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
// Ler um numero e escrever se o numero e par ou impar | |
inicio | |
variavel inteiro numero | |
variavel real quociente | |
variavel inteiro resto | |
variavel inteiro resto2 | |
escrever "Introduza numero: " | |
ler numero | |
OlderNewer