<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
[user@www]# alternatives --install /usr/bin/java java /opt/jdk1.6.0_07/bin/java 2 | |
[user@www]# alternatives --config java | |
There are 2 programs which provide 'java'. | |
Selection Command | |
----------------------------------------------- | |
*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java | |
2 /opt/jdk1.6.0_07/bin/java | |
import cx_Oracle | |
def perform_query(query, bind_variables): | |
connection = db_pool.acquire() | |
cursor = connection.cursor() | |
cursor.execute(query, bind_variables) | |
result = cursor.fetchall() | |
cursor.close() | |
db_pool.release(connection) | |
return result |
ini_set('soap.wsdl_cache_enabled', 0); | |
ini_set('soap.wsdl_cache_ttl', 900); | |
ini_set('default_socket_timeout', 15); | |
$params = array('param1'=>$param1); | |
$wsdl = 'http://service_url/method?WSDL'; |
Example infrastructure outage incident report | |
Friday, May 13, 2077 | |
By the Example Security Team | |
Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response. | |
The following is the incident report for the Example Security outage that occurred on April 30, 2077. We understand this service issue has impacted our valued developers and users, and we apologize to everyone who was affected. |
DROP PROCEDURE IF EXISTS fillupdate; | |
DELIMITER // | |
CREATE PROCEDURE fillupdate() | |
BEGIN | |
DECLARE nbdate INT DEFAULT 0; | |
DECLARE dt DATETIME DEFAULT 0; | |
SET dt = '2016-01-01'; | |
-- If you want to generate a new Guid (uniqueidentifier) in SQL server the you can simply use the NEWID() function. | |
SELECT NEWID() | |
GO | |
-- This will return a new random uniqueidentifier e.g. | |
E75B92A3-3299-4407-A913-C5CA196B3CAB | |
To select this Guid in in a variable | |
--assign uniqueidentifier in a variable | |
DECLARE @EmployeeID uniqueidentifier |
What else can you do? | |
How to clone repository to a specific commit? (full clone) | |
# Create empty repository to store your content | |
git clone <url> | |
git reset <sha-1> --hard | |
More info: | |
How to clone single branch? |
>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found
/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]