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
| <?xml version="1.0" encoding="utf-8"?> | |
| <project name="FriendMobile" default="repository" basedir="."> | |
| <property name="workdir" value="${teamcity.build.workingDir}" /> | |
| <property name="project.name" value="FriendMobile"/> | |
| <property name="project.bundle.identifier" value="ru.sberbank.friendmobile"/> | |
| <property name="env" value="${teamcity.buildConfName}"/> | |
| <property name="ftp.server" value=""/> | |
| <property name="ftp.port" value="21"/> | |
| <property name="ftp.user" value=""/> |
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
| #!/bin/bash | |
| # | |
| # testflightapp.com tokens | |
| API_TOKEN="YOUR_API_TOKEN" | |
| TEAM_TOKEN="YOUR_TEAM_TOKEN" | |
| PRODUCT_NAME="RowMotion" | |
| ARTEFACTS="$PWD/Artefacts" |
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
| SELECT count(incident_id) as NUM, | |
| lvl2 as LVL2, | |
| atc_dept_name as DEPT | |
| FROM | |
| (SELECT t1.incident_id, | |
| t2.contact_name, | |
| t2.dept_name, | |
| SUBSTR(t3.Path, 27, 24) AS lvl2 , | |
| t3.Path, | |
| t4.atc_dept_name |
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
| CREATE OR REPLACE TYPE ProtocolType AS OBJECT ("ID" VARCHAR2(100), | |
| "Comment" CLOB, "CHECKIN" VARCHAR2(255)) | |
| CREATE OR REPLACE TYPE ProtocolTableType AS TABLE OF ProtocolType | |
| CREATE OR REPLACE VIEW ProtocolView AS | |
| SELECT CAST(MULTISET | |
| (SELECT t."ID", t."COMMENTS", t.atc_portal_checkin | |
| FROM HPCPROTOCOLM1 t) AS ProtocolTableType) ppdd | |
| FROM dual | |
| SELECT VALUE(p) | |
| FROM TABLE |
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
| function iterate() { | |
| var dept = new SCFile("dept"); | |
| var ret = dept.doSelect("true"); | |
| while (ret == RC_SUCCESS) { | |
| R(dept); | |
| ret = dept.getNext(); | |
| } | |
| } |
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
| Public Function RgxDfx(astring As Range) As String | |
| Dim re As RegExp | |
| Dim tempString | |
| Set re = New RegExp | |
| re.Pattern = "\d+" | |
| re.Global = True | |
| re.IgnoreCase = True | |
| Set objMatches = re.Execute(astring) | |
| RgxDfx = objMatches.Item(0).Value | |
| End Function |
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 genericPool = require('generic-pool'); | |
| // This is the 'nearinfinity' driver: `npm install oracle` | |
| var oracle = require('oracle'); | |
| conf = { | |
| "hostName": "localhost", | |
| "port": 1521, | |
| "user": "oracle", | |
| "password": "oracle", | |
| "database": "xe", | |
| } |
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
| ## | |
| ## SC-SM SSL Certificates Creator (client component) | |
| ## | |
| ## This batch file facilitates the creation of the SSL certificates that are needed to setup SSL encryption for Service Manager 7.0x. | |
| ## | |
| ## Run this batch file with the fully-qualified domain name of the client machine as the first argument (%1), from the command line : | |
| ## | |
| ## \prompt>tso_cln_svlt <fully-qualified domain name> | |
| ## | |
| ## Rerun this batch file for each client machine to create a unique |
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
| #!/bin/bash | |
| export JAVA_HOME="/usr/java/jdk1.7.0_45/jre" | |
| export KEYTOOL=$JAVA_HOME/bin/keytool | |
| # Password settings | |
| # | |
| # These are the default password settings used by the openssl and | |
| # keytool programs. All passwords can be changed, EXCEPT the | |
| # CACERT_PASSWD, as this is the default password that the SUN cacert | |
| # from the JRE uses! | |
| # |
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
| function unlock(resource) | |
| { | |
| var rteReturnValue = new SCDatum(); | |
| var rteNames = new SCDatum(); | |
| rteNames.push("name"); | |
| var rteValues = new SCDatum(); | |
| rteValues.setType(8); | |
| rteValues=system.functions.insert(rteValues, 0, 1, resource); |
NewerOlder