- Create a new directory;
mkdir Apple\ Enterprise
cd Apple\ Enterprise
- Generate a certificate signing request
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest
mkdir Apple\ Enterprise
cd Apple\ Enterprise
openssl req -nodes -newkey rsa:2048 -keyout ios_enterprise.key -out CertificateSigningRequest.certSigningRequest
#!/bin/bash | |
# cron setup: | |
# copy this script to ~ | |
# chmod +x ~/gitlab_runner_cleanup.sh | |
# crontab -e | |
# # add following line: | |
# 0 3 * * * ~/gitlab_runner_cleanup.sh >> ~/gitlab_runner_cleanup.log 2>&1 | |
# Threshold for disk space, set to 5GB (5 * 1024 * 1024 * 1024 bytes) |
var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b); |
####################################### APPEND TO EOF cmder\vendor\profile.ps1 ################################################### | |
function adbr { & adb reverse tcp:8081 tcp:8081 } | |
function adbm { & adb shell input keyevent 82 } |
(function(){ | |
var cookies; | |
function readCookie(name,c,C,i){ | |
if(cookies){ return cookies[name]; } | |
c = document.cookie.split('; '); | |
cookies = {}; | |
for(i=c.length-1; i>=0; i--){ |
Param( | |
[Parameter(Mandatory = $true)] | |
[string]$file | |
) | |
#port of RoundhousE WindowsFileSystemAccess.get_file_encoding | |
function getFileEncoding($file){ | |
$enc = [System.Text.Encoding]::Default | |
$buffer = gc $file -Encoding Byte |
REM usage: gpx_route_to_track.bat source.gpx target.gpx | |
gpsbabel -r -i gpx -f %1 -x transform,trk=rte,del -o gpx -F %2 | |
gpsbabel -r -i gpx -f %2 -x track,faketime=f20160101110000+2 -o gpx -F %2 |
workflow PingUrlParallel { | |
param( | |
[string]$url, | |
[int]$parallelCount = 10, | |
[int]$iterations = 10 | |
) | |
foreach -parallel ($x in 1..$parallelCount) { | |
1..$iterations | %{ |
CREATE TABLE TST_MGA ( | |
from_time NUMBER(22) NOT NULL, | |
to_time NUMBER(22) NOT NULL, | |
mga NUMBER(22) NOT NULL); | |
CREATE TABLE tst_mga_mba( | |
from_time NUMBER(22) NOT NULL, | |
to_time NUMBER(22) NOT NULL, | |
mga NUMBER(22) NOT NULL, | |
mba NUMBER(22) NOT NULL); |
public class OracleConnectionProvider | |
{ | |
private readonly ProxyGenerator proxyGenerator = new ProxyGenerator(); | |
private readonly IInterceptor interceptor = new SqlLoggingInterceptor(SqlLogger); | |
public IDbConnection CreateConnection() | |
{ | |
var con = new OracleConnection(connectionString); | |
con.Open(); |