Skip to content

Instantly share code, notes, and snippets.

View ondrasak's full-sized avatar

Marian Ondrasak ondrasak

  • Slovakia, Bratislava
View GitHub Profile
@ondrasak
ondrasak / gist:10266716
Created April 9, 2014 12:54
Internet Explorer for Mac the Easy Way: Run IE 7, IE8, & IE9 in a Virtual Machine
1) If you have instaled VirtualBox skip this step. Download and install VirtualBox – Download Now (direct .dmg download link) – visit VirtualBox Downloads page
2) Launch the Terminal (located in /Applications/Utilities/)
3) Decide which versions of Internet Explorer you want to download and install. Select the text below and copy it:
- Install ALL versions of Internet Explorer: IE7, IE 8, and IE 9
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
- Install Internet Explorer 7 Only
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="7" bash
'use strict';
//
// Implementation of HAL http://stateless.co/hal_specification.html
//
// NB: self link always must exist!
//
angular.module('realty.common.resources', [])
.provider('backend', function () {
var options = {
exports.config = {
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
// Capabilities to be passed to the webdriver instance.
capabilities: {
// 'browserName': 'internet explorer', - special installation needed
// 'version':'10',
'browserName': 'chrome',
//'browserName': 'firefox'
@ondrasak
ondrasak / README.md
Last active March 13, 2017 09:30
Angular directive that
@ondrasak
ondrasak / icon.ts
Last active May 10, 2017 09:18
icon.ts
import * as angular from "angular";
class Icon {
color: string;
constructor(
private $element
) {
"ngInject";
}
import {fullscreenChangeEvents} from 'shared/utils/fullscreen';
type IframeResizerOptions = {
iframeElement: HTMLElement,
containerElement: HTMLElement
};
export class IframeResizer {
private originalWidth: number;
private originalHeight: number;
@ondrasak
ondrasak / machine.js
Last active December 14, 2020 08:50
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@ondrasak
ondrasak / machine.js
Created October 19, 2021 12:08
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions