This file contains hidden or 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
elseif(!isset($info['file'])) { | |
foreach( FLang::instance()->ld()->languageCodes() as $language_code ){ | |
if(isset($info['file-'.$language_code])) { | |
$value = '<a href="'.$symphonySubdir.'/workspace'.$info['file-'.$language_code].'">'; | |
$value = '<a href="/workspace'.$info['file-'.$language_code].'">'; | |
$a = explode('.', $info['file']); | |
$ext = trim(strtolower($a[count($a)-1])); | |
// Check if JIT is enabled: |
This file contains hidden or 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
/* Default Form Values */ | |
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(3(7){7.D.B({5:3(o,h){s l.C(3(){g $2=$(l),5=o||$2.6(\'z\'),i={\'2\':$2};9($2.6(\'v\')==\'w\'){m()}j{n()}3 m(){g $8=p();i.8=$8;$8.y($2);$2.f();$2.k(3(){9($2.4().c<=0){$8.r();$2.f()}})}3 n(){b();$2.J(3(){9($2.4().c>0){b()}}).k(b).e(3(){$2.4()==5&&$2.4(\'\')});$2.I("F").G(3(){$2.4()==5&&$2.4(\'\')})}3 b(){4=7.L($2.4());9(4.c<=0||4==5){$2.4(5);$2.E(\'d\')}j{$2.K(\'d\')}}3 p(){g $a=7("<2 />").6({\'v\':\'H\',\'A\':5,\'t\':$2.6(\'t\')+\' d\',\'u\':$2.6(\'u\'),\'q\':$2.6(\'q\')});$a.e(3(){$a.f();$2.r();x(3(){$2.e()},1)});s $a}9(h){h(i)}})}})})(7);',48,48,'||input|function|val|defaultValue|attr|jQuery|clone|if|el|setState|length|empty|focus|hide|var|callback|callbackAr |
This file contains hidden or 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
$(document).on('click', 'section.sets a.ajax', function() { | |
var href = $(this).attr('href'); | |
$.ajax({ | |
url: href, | |
success: function(data){ | |
console.log(data); | |
$('section.sets div.items').append($(data).find('section.sets div.items').html()); | |
var href = $(data).find('section.sets a.ajax').attr('href'); | |
$('section.sets a.ajax').attr('href', href); | |
$(window).on('scroll', onScroll); |
This file contains hidden or 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
#!perl -w | |
# usage: portforward 18025:mail.messagingengine.com:25 | |
#where 18025 is the TCP port on the local machine and | |
# mail.messagingengine.com:25 is where that port is forwarded to. | |
# Based on: http://www.perlmonks.org/bare/?node_id=367253 | |
use Socket; | |
use IO::Socket; | |
use IO::Select; | |
use strict; |
This file contains hidden or 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
Create Port Forward: | |
netsh interface portproxy add v4tov4 listenport=<From Port> listenaddress=<From IP> connectport=<To Port> connectaddress=<To IP> | |
Remove Port Forward: | |
netsh interface portproxy delete v4tov4 listenport=<From Port> listenaddress=<From IP> |
This file contains hidden or 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
<button class="button primary>Primary Button Text</button> | |
<a class="button secondary" href="">Secondary Button Text</a> | |
<div class="button-group"> | |
<a class="button primary" href="">Primary Button Text</a> | |
<a class="button secondary" href="">Secondary Button Text</a> | |
</div> |
This file contains hidden or 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
.button { | |
background: black; | |
color: white; | |
&.primary { | |
background: red; | |
} | |
&.secondary { | |
background: green; | |
} | |
} |
This file contains hidden or 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
const button = { | |
background: black, | |
color: white, | |
'& + &': { | |
marginLeft: '8px', | |
} | |
}; | |
const buttonPrimary = { | |
background: red, | |
}; |
This file contains hidden or 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
import { cx, css } from 'emotion'; | |
const button = { | |
background: black, | |
color: white, | |
'& + &': { | |
marginLeft: '8px', | |
} | |
}; | |
const buttonPrimary = { | |
background: red, |
This file contains hidden or 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
import { cx, css } from 'emotion'; | |
const button = { | |
background: black, | |
color: white, | |
'& + &': { | |
marginLeft: '8px', | |
} | |
}; | |
const buttonPrimary = { | |
background: red, |