Skip to content

Instantly share code, notes, and snippets.

View DavidBabel's full-sized avatar
🎯
Focusing

David Babel DavidBabel

🎯
Focusing
  • Strasbourg
View GitHub Profile
@DavidBabel
DavidBabel / vast test
Last active September 27, 2017 08:13
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="3.0">
<Ad>
<InLine>
<AdSystem/>
<AdTitle>
<![CDATA[not previewable campaign video david]]>
</AdTitle>
<Description>
<![CDATA[not previewable campaign video david]]>
var oopinou_to = 0;
var service = 'http://whateverorigin.org/get?url=' // http://whateverorigin.org/get?url=
var cache_page = false;
var get_lang = function () {
return $('[alt="Lang"]')
.attr('src')
@DavidBabel
DavidBabel / helpers.sh
Last active October 31, 2016 12:21
bit.ly/load_helpers
s="$HOME/.helpers";test ! -f $s && curl -Ls bit.ly/helpers_sh>$s;source $s
@DavidBabel
DavidBabel / helpers.sh
Last active November 1, 2016 12:04
bit.ly/helpers_sh
# invocation :
# s="$HOME/.helpers";test ! -f $s && curl -Ls bit.ly/helpers_sh>$s;source $s
# ressources : http://misc.flogisoft.com/bash/tip_colors_and_formatting
_prefix_colors="\033["
RESET="${_prefix_colors}0m"
RESET_COLORS="${_prefix_colors}39m"
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-core-modules │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-android │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-ios │ │ 2.3.0 │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘
10-17 18:06:37.909 1332 29689 W System.err: at org.json.JSON.typeMismatch(JSON.java:111)
10-17 18:06:37.909 1332 29689 W System.err: at org.json.JSONObject.<init>(JSONObject.java:160)
10-17 18:06:37.909 1332 29689 W System.err: at org.json.JSONObject.<init>(JSONObject.java:173)
10-17 18:06:38.063 1332 29689 W System.err: org.json.JSONException: Value <body> of type java.lang.String cannot be converted to JSONObject
10-17 18:06:38.063 1332 29689 W System.err: at org.json.JSON.typeMismatch(JSON.java:111)
10-17 18:06:38.063 1332 29689 W System.err: at org.json.JSONObject.<init>(JSONObject.java:160)
10-17 18:06:38.063 1332 29689 W System.err: at org.json.JSONObject.<init>(JSONObject.java:173)
10-17 18:06:38.207 1332 29689 W System.err: org.json.JSONException: Value Got of type java.lang.String cannot be converted to JSONObject
10-17 18:06:38.207 1332 29689 W System.err: at org.json.JSON.typeMismatch(JSON.java:111)
10-17 18:06:38.208 1332 29689 W System.err: at org.json.JSONObject.<init>(JSONObje
{
"name": "Tiger",
"description": "HTML5 banner creator",
"author": "David Babel",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/blackang-us/tiger"
},
06 Sep 15:44:31 - error: Redefinition of property (64109:497)
Syntax at Parser.pp.raise (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:1745:13)
at Parser.pp.checkPropClash (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:853:84)
at Parser.pp.parseObj (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:1312:10)
at Parser.pp.parseExprAtom (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:1124:19)
at Parser.pp.parseExprSubscripts (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:1023:19)
at Parser.pp.parseMaybeUnary (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:1004:19)
at Parser.pp.parseExprOps (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:948:19)
at Parser.pp.parseMaybeConditional (/Users/davidbabel/projects/tiger/backoffice3/node_modules/acorn/dist/acorn.js:930:19)
at Parser.pp.parse