Skip to content

Instantly share code, notes, and snippets.

View spiroski's full-sized avatar

Dimitar S. spiroski

View GitHub Profile
@spiroski
spiroski / autossh
Created March 4, 2018 19:20
Script alternative to autossh
#!/bin/bash
# ------------------------------------------------------------------------------
# FILE: autossh
# DESCRIPTION: This is an SSH-D proxy with auto-reconnect on disconnect
# AUTHOR: Hector Nguyen (hectornguyen at octopius dot com)
# VERSION: 1.0.0
# ------------------------------------------------------------------------------
VERSION="1.0.0"
GITHUB="https://github.com/hectornguyen/autossh"
AUTHOR="Hector Nguyen"
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
<?php
class User
{
private $id;
private $firstName;
private $lastName;
private $email;
private $password;
@spiroski
spiroski / gist:e77e4b52d23934303696
Created October 11, 2014 12:50
Build za ios na ionic
npm install
gulp install
bower install
dodadi packages :
http://forum.ionicframework.com/t/cant-build-ng-cordova-demo-app/6136/6 ( na krajot od stranata )
npm install -g ios-deploy
ionic ios build
odis vo /platform/ios/ i go otvoras .xcode proektot
od tamu go startuvas na emulator
|-- Running: Deploy (Deploys the website) [~102.36s]
|---- Running: Primer (Run local checks to ensure deploy can proceed)
Cloning repository in "/home/nrfiorg/sites/clients/gsmn-aca/releases/20140816035508"
|------ Running strategy for Deploy: Clone
|---- Running: CreateRelease (Creates a new release on the server) [~6.95s]
$ git clone "git@git.assembla.com:aca.git" "/home/nrfiorg/sites/clients/gsmn-aca/releases/20140816035508" --branch="develop" --depth="1"
[nrfiorg@nrfi.org] (development) stdin: is not a tty
[nrfiorg@nrfi.org] (development) Initialized empty Git repository in /home/nrfiorg/sites/clients/gsmn-aca/releases/20140816035508/.git/
Initializing submodules if any
$ cd /home/nrfiorg/sites/clients/gsmn-aca/releases/20140816035508