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
#!/usr/bin/env bash | |
for tenant in $(seq 1 12); do | |
input=sitemap-${tenant}.json | |
for i in $(seq 0 $(expr $(jq length ${input}) - 1 )); do | |
jq ".[$i]" -r ${input} > sitemap-${tenant}-${i}.json | |
done | |
done |
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
CREATE TEMPORARY TABLE t ( | |
location VARCHAR(255), | |
car_group_id SERIAL8, | |
start_timestamp TIMESTAMP WITH TIME ZONE, | |
end_timestamp TIMESTAMP WITH TIME ZONE, | |
ignore1 TEXT, | |
ignore2 TEXT, | |
ignore3 TEXT | |
); |
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
<bean id="datasource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> | |
<property name="driverClassName" value="${db.driverClass}" /> | |
<property name="url" value="${db.connectionURL}" /> | |
<property name="username" value="${db.user.username}" /> | |
<property name="password" value="${db.user.password}" /> | |
<property name="validationQuery" value="${db.connection.validationQuery}"/> | |
<property name="testOnBorrow" value="${db.connection.testOnBorrow}"/> | |
<property name="defaultTransactionIsolation" value="2"/> | |
</bean> |
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
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future |
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
alter database datafile '/u01/app/oracle/oradata/XE/poslifeuk_data.dbf' resize 2048M; |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.rollxx.projects</groupId> | |
<artifactId>analyzer24</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<name>analyzer24</name> | |
<properties> | |
<play2.version>2.1.2</play2.version> |
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
BEGIN | |
FOR cur_rec IN (SELECT object_name, object_type | |
FROM user_objects | |
WHERE object_type IN | |
('TABLE', | |
'VIEW', | |
'PACKAGE', | |
'PROCEDURE', | |
'FUNCTION', | |
'SEQUENCE' |
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
$ launchctl setenv MY_ENV_VAR /my/path |
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
launchctl unload /System/Library/LaunchAgents/com.apple.syncdefaultsd.plist | |
launchctl unload /System/Library/LaunchAgents/com.apple.CalendarAgent.plist | |
launchctl unload /System/Library/LaunchAgents/com.apple.AddressBook.SourceSync.plist |
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
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user |
NewerOlder