Skip to content

Instantly share code, notes, and snippets.

View bisko's full-sized avatar

Biser Perchinkov bisko

View GitHub Profile
@BrunIF
BrunIF / serveo.sh
Created September 24, 2018 12:43
Make own tunneling over SSH based on Serveo
#!/bin/bash
# Change `site.com` - to own name
read SERVER_NAME
sudo -s
# Change codepage
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
# Update and install software
@kovshenin
kovshenin / array-callables.php
Created November 17, 2015 12:53
Some array callables for WordPress
<?php
function __array_append( $item ) {
return function( $array ) use ( $item ) {
$array[] = $item;
return $array;
};
}
function __array_set( $key, $value ) {
return function( $array ) use ( $key, $value ) {
class kalendar{
public:
char month[10];
int day;
char hour[5];
void days(char m[10], int d, char h[5]){
this->month[10] = m[10];
this->day = d;
this->hour[5] = h[5];