Skip to content

Instantly share code, notes, and snippets.

View kaloyan-raev's full-sized avatar

Kaloyan Raev kaloyan-raev

View GitHub Profile
#!/bin/bash
# set go modules to default behavior
export GO111MODULE=auto
# go knows where our gopath is
export GOPATH=~/storj
# gospace knows where our gopath is (this is to avoid accidental damage to existing GOPATH)
# you should not use default GOPATH here
@gsitgithub
gsitgithub / Java SE JDK Download archive links
Created August 11, 2016 06:32
JDK archive direct download links
@P7h
P7h / jdk_download.sh
Last active February 20, 2024 11:29
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.
@DasRed
DasRed / ZendPHPUnit.php
Created August 29, 2012 07:41
Zend Studio PHPUnit - fix for: Out Of Memory Or Ignoring BackupGlobal
<?php
/**
* @author Seva Lapsha
* @copyright Zend Technologies Ltd.
* @license Commercial
*/
class ZendPHPUnitErrorHandler {
private static $ZendPHPUnitErrorHandler;