Skip to content
View TomCan's full-sized avatar

Organizations

@Intracto
Block or Report

Block or report TomCan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

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

Report abuse

Pinned

  1. iodigital-com/SecretSanta iodigital-com/SecretSanta Public

    Secret santa is the #1 online gift exchange organizer. https://www.secretsantaorganizer.com

    PHP 125 62

  2. Intracto/combell-api Intracto/combell-api Public

    A client implementation of the Combell shared-hosting API

    PHP 6 4

  3. resize partition after hd expand.sh resize partition after hd expand.sh
    1
    # in case of VM and live update of harddisk size, first rescan scsi bus to refect changes
    2
    for DEV in `ls -1 /sys/class/scsi_device/`; do echo 1 > /sys/class/scsi_device/$DEV/device/rescan; done
    3
    
                  
    4
    # resize partitions, assumes /dev/sda2 is extended and /dev/sda5 is logical in /dev/sda2
    5
    parted /dev/sda
  4. Add apt keys NO_PUBKEY error Add apt keys NO_PUBKEY error
    1
    for KEY in ABCDEFGHIJKLMN
    2
    do
    3
        gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv $KEY
    4
        gpg --export --armor $KEY | apt-key add -  
    5
    done
  5. Check websocket connection (eg. from... Check websocket connection (eg. from monitoring software)
    1
    #!/bin/bash
    2
    #
    3
    # Check a websocket connection with curl. Pass URL to check as parameter.
    4
    # In normal conditions, this should return a 101 (Switching protocol).
    5
    #
  6. SoundTouchApi SoundTouchApi Public

    A library for using the Bose SoundTouch API

    PHP 16 3