I hereby claim:
- I am vunguyen-it on github.
- I am vunguyen10989 (https://keybase.io/vunguyen10989) on keybase.
- I have a public key ASBhlj2MUYjvoZsFqhidByqGRhy3dZ7nsfGoliN86sFcpgo
To claim this, I am signing this object:
#!/bin/bash | |
# warmly.sh | |
# A wget based, easy, poor man`s cache warmer script | |
# https://gist.github.com/thomasfr/7926314 | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2013,2014 Thomas Fritz <[email protected]> (http://fritzthomas.com) | |
# |
# aws-devops docker image for bitbucket pipeline | |
FROM alpine:3.17.0 | |
RUN apk add --no-cache helm curl aws-cli | |
RUN curl -LO https://dl.k8s.io/release/v1.25.0/bin/linux/amd64/kubectl && \ | |
mv ./kubectl /usr/local/bin/ | |
RUN chmod +x /usr/local/bin/kubectl |
I hereby claim:
To claim this, I am signing this object:
# Command lines tools | |
xcode-select --install | |
# Install dependencies | |
brew install wget autoconf openssl libjpeg libpng lzlib curl imap-uw readline postgresql libxml2 mcrypt gettext libxslt homebrew/dupes/libiconv icu4c expat bison webp freetype | |
# Dirs | |
mkdir -p /Applications/MAMP/bin/php/php7.1.1/include | |
cd /Applications/MAMP/bin/php/php7.1.1/include |
<# | |
.SYNOPSIS | |
Performs a SQL query and returns an array of PSObjects. | |
.NOTES | |
Author: Jourdan Templeton - [email protected] | |
.LINK | |
https://blog.jourdant.me/post/simple-sql-in-powershell | |
#> | |
function Invoke-SqlCommand() { | |
[cmdletbinding(DefaultParameterSetName="integrated")]Param ( |
try { | |
final File realDocument = new File(adapter.get(currentPage).getUriLocal().getPath()); | |
final File copyDocument = File.createTempFile("pdf", "pdf"); | |
IOUtils.copy(new FileInputStream(realDocument), new FileOutputStream(copyDocument)); | |
PDDocument document = PDDocument.load(copyDocument); | |
PDPage page=document.getPage(document.getNumberOfPages() - 1); | |
ByteArrayOutputStream outputStream=new ByteArrayOutputStream(); |
<?php | |
/** | |
* Remove any non-ASCII characters and convert known non-ASCII characters | |
* to their ASCII equivalents, if possible. | |
* | |
* @param string $string | |
* @return string $string | |
* @author Jay Williams <myd3.com> | |
* @license MIT License | |
* @link http://gist.github.com/119517 |