Skip to content
View ahoehne's full-sized avatar
  • Grevenbroich, Germany

Organizations

@Php-Tuning @exgade
Block or Report

Block or report ahoehne

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. exgade/linux-gaming exgade/linux-gaming Public

    Basic Gaming Setup Scripts for Linux

    Shell 17 2

  2. Php-Tuning/dnschk Php-Tuning/dnschk Public

    simple shell script using dig that fetches multiple dns servers. helpful if you want to see if an dns update is still pending

    Shell 1

  3. Php-Tuning/sslvalid Php-Tuning/sslvalid Public

    simple script using curl to see if a ssl certificate is valid or not.

    Shell

  4. php - do something in christmas/ adv... php - do something in christmas/ advent season....
    1
    <?php
    2
    $day_mon = date('md');
    3
    $firstadvent = 1224 - date('w',mktime(1,1,1,12,24,date('Y'))) - (7*3);
    4
    if ( $firstadvent <= 1200 ){
    5
    	$firstadvent = $firstadvent - 70;
  5. phpLikeRound.js phpLikeRound.js
    1
    /**
    2
     * Returns rounded number with defined precision
    3
     * @param {number} value - number that gets rounded
    4
     * @param {number} decimal_place - precision
    5
     * @returns {number}