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
if [ $# -lt 4 ]; | |
then | |
echo "4 args pls: SOURCEFILE SOURCEDIR DESTDIR PACKNAME (opt: LAYOUTFILE CON | |
FFLAGS)" && exit 1 | |
fi | |
SOURCEFILE=$1 | |
SOURCEDIR=$2 | |
DESTDIR=$3 | |
PACKNAME=$4 |
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
function getMethods(obj) { | |
var result = []; | |
var positionOfBrace = null; | |
var functionAndParams = ''; | |
var functionAsString = ''; | |
for (var id in obj) { | |
try { | |
if (typeof(obj[id]) == "function") { | |
functionAsString = obj[id].toString(); |
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
CC(target) out/Release/obj.target/libssl/net/third_party/nss/ssl/ssl3ext.o | |
net/third_party/nss/ssl/ssl3ecc.c: In function 'ssl3_FilterECCipherSuitesByServerCerts': | |
net/third_party/nss/ssl/ssl3ecc.c:971:7: error: 'SEC_OID_PKCS1_SHA224_WITH_RSA_ENCRYPTION' undeclared (first use in this function) | |
net/third_party/nss/ssl/ssl3ecc.c:971:7: note: each undeclared identifier is reported only once for each function it appears in | |
make: *** [out/Release/obj.target/libssl/net/third_party/nss/ssl/ssl3ecc.o] Error 1 | |
make: *** Waiting for unfinished jobs.... |
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
--- ./net/third_party/nss/ssl/ssl3ecc.c 2012-03-09 15:01:27.000000000 +0100 | |
+++ ./net/third_party/nss/ssl/ssl3ecc.c 2012-03-10 21:03:38.000000000 +0100 | |
@@ -968,7 +968,7 @@ | |
case SEC_OID_PKCS1_MD4_WITH_RSA_ENCRYPTION: | |
case SEC_OID_PKCS1_MD5_WITH_RSA_ENCRYPTION: | |
case SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION: | |
- case SEC_OID_PKCS1_SHA224_WITH_RSA_ENCRYPTION: | |
+ /*case SEC_OID_PKCS1_SHA224_WITH_RSA_ENCRYPTION:*/ | |
case SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION: | |
case SEC_OID_PKCS1_SHA384_WITH_RSA_ENCRYPTION: |
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
// header for all templates, so you don't have to worry about the include order | |
appNamespace = appNamespace || {}; | |
appNamespace.templates = appNamespace.templates || {}; | |
// template definition | |
appNamespace.templates.exampleTemplate = [ | |
'{{#logo}}<div class="logo"></div>{{/logo}}', | |
'<div class="shareIconSet">', | |
'{{#share.facebook}}<div class="facebook"></div>{{/share.facebook}}', | |
'{{#share.twitter}}<div class="twitter"></div>{{/share.twitter}}', |
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
// states if the layer is opened (true) | |
var isOpened; | |
isOpened = status; | |
/* removes layer if already opened and runs a function to | |
output the state of the other layers */ | |
if (isOpened) { | |
doSomething(); | |
} |
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
var layerIsOpenend; | |
layerIsOpenend = currentLayerStatus; | |
if (layerIsOpened) { | |
layer.remove(); | |
outputStateOfOtherLayers(); | |
} |
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
function phpStormGitGistCheck() { | |
if (gistExists) { | |
console.log('it works'); | |
} | |
} |
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
var setUserProfileValuesFromJson = function () { | |
var configuration = { | |
url: dataUrl, | |
type: 'GET', | |
dataType: 'json' | |
}; | |
var whenSuccessful = function (data) { | |
user = data.data; |
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
var setUserProfileValuesFromJson = function () { | |
var configuration = { | |
url: dataUrl, | |
type: 'GET', | |
dataType: 'json' | |
}; | |
var handleData = function (data) { | |
user = data.data; |
OlderNewer