helm upgrade --install sealed-secrets --namespace kube-system --version 1.16.1 sealed-secrets/sealed-secrets
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/zsh | |
state=open | |
pullis=`gh search prs --review-requested @me --state $state --json number,title,state,url,author,repository| jq -rc '.[]| "gh pr diff \(.number) --repo=\(.repository.nameWithOwner);sleep 1; gh pr review \(.number) --repo=\(.repository.nameWithOwner) -a" '` | |
for pulli in $pullis;do | |
echo $pulli | |
eval $pulli | |
done |
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
#will improve this later | |
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
root /var/www/stock-rss.vapesetups.com/; | |
index index.html index.htm index.php; | |
access_log /var/log/nginx/ttrss_access.log; | |
error_log /var/log/nginx/ttrss_error.log info; |
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
<?php | |
/** | |
* @author: michael schmitt | |
* @desc: copy file to the / of a wordpress instance | |
* execute on commandline: php user.php username + password | |
*/ | |
if($argc < 3) { | |
die("usage php user.php username password" .PHP_EOL); | |
} | |
$userName= $argv[1]; |
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
// Grunt tasks | |
module.exports = function (grunt) { | |
"use strict"; | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
banner: '/*!\n' + |
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
<?php | |
// Requiring composer autoloader (local or global) | |
foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php'] as $file) { | |
if (file_exists($file)) { | |
define('COMPOSER_AUTOLOADER', $file); | |
break; | |
} | |
} |
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 | |
wd=$(pwd) | |
git clone [email protected]:ZF2Buch2/kapitel02.git | |
git clone [email protected]:ZF2Buch2/kapitel03.git | |
git clone [email protected]:ZF2Buch2/kapitel04.git |
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
<?php | |
public function testGetMax52Weeks() { | |
$d = new DateTime('2015-08-01 00:00:00'); | |
$date52WeeksAgo = $d->modify('-52 weeks'); | |
var_dump($date52WeeksAgo->format(DateTime::ISO8601)); | |
$dates =[]; | |
$dates[] = '2014-08-01 00:00:00'; |
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
<ListView android:id="@+id/MyListView" | |
android:layout_height="fill_parent" | |
android:layout_width="fill_parent" | |
android:divider="@android:color/transparent" | |
android:dividerHeight="10.0sp"/> |
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
package de.schmitt.michael.lebensmittelwarnung.de; | |
import java.io.IOException; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.StatusLine; | |
import org.apache.http.client.ClientProtocolException; | |
import org.apache.http.client.HttpClient; | |
import org.apache.http.client.methods.HttpGet; | |
import org.apache.http.impl.client.DefaultHttpClient; |
NewerOlder