This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Execute Windows programs with Proton from Steams installation folder, without | |
# starting Steam client. | |
# | |
# 1. Create a directory for Proton environment to run in. As an example make a | |
# folder "proton" in your home directory. This folder must exist in order | |
# to make Proton work. | |
# | |
# 2. Point the variable "env_dir" in this script to that folder or... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
array( | |
/** ... **/ | |
'FROM' => array( | |
ONE_TABLE => '1', | |
TWO_TABLES => array('2', '3'), | |
ONE_ON_TABLE => array('4' => array('2' =>'4.case = 2.case'), | |
TWO_ON_TABLES => array( | |
'5' => array('2' => '5.case = 2.case'), | |
'6' => array('3' => '6.case = 3.case'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'FROM' => array( | |
ONE_TABLE => '1', | |
TWO_TABLES => array('2', '3'), | |
ONE_ON_TABLE => array('4' => '4.case = 2.case', | |
TWO_ON_TABLES => array( | |
'5' => '5.case = 2.case', | |
'6' => '6.case = 3.case', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//addEventListener polyfill 1.0 / Eirik Backer / MIT Licence : Improved by brunoais | |
(function(win, doc){ | |
if(win.addEventListener)return; //No need to polyfill | |
function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}} | |
function addEvent(on, fn, self){ | |
// There are events IE does not support. This will translate those to the best option available | |
switch(on){ | |
case 'DOMContentLoaded': on = 'load'; | |
break; |