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
| // Three Category values | |
| var context = { | |
| contentInfo: { | |
| categories: 'Shows\\Good Day Philadelphia Weekend,Category\\News,Source\\FOX 29 Philadelphia,Category\\Money,Category\\Awesome News,Type\\From TV' | |
| } | |
| } | |
| console.log( typeof(context) ) | |
| console.log( typeof(context.contentInfo.categories) ) | |
| console.log( String(context.contentInfo.categories) ) |
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
| # custom WebStorm VM options, this configuration also works well for other IDEs like phpstorm, pycharm..etc. | |
| -Xms1024m | |
| -Xmx2048m | |
| -XX:ReservedCodeCacheSize=240m | |
| -XX:+UseConcMarkSweepGC | |
| -XX:SoftRefLRUPolicyMSPerMB=50 | |
| -ea | |
| -Dsun.io.useCanonCaches=false | |
| -Djava.net.preferIPv4Stack=true |
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
| function doPost(y) { | |
| var token = PropertiesService.getScriptProperties().getProperty("xoxp-123"); | |
| var name = "name"; | |
| var token = PropertiesService.getScriptProperties().getProperty('SLACK_ACCESS_TOKEN'); | |
| var app = SlackApp.create(token); | |
| var spreadsheet = SpreadsheetApp.openById('sheetID'); | |
| var sheet = spreadsheet.getSheetByName('シート1'); | |
| var range = sheet.getRange("シート1!C1").setFormula('=INDIRECT("シート1!A:A" & INT(RAND()*n+1))'); |
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| from __future__ import unicode_literals | |
| import requests as req | |
| URL_ROOT = 'http://localhost:5050' | |
| def get_logged_in_session(name): |
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
| {"lastUpload":"2018-04-24T05:39:21.283Z","extensionVersion":"v2.9.0"} |
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
| { | |
| "shows": [ | |
| { | |
| "name": "The #1 Show", | |
| "summary": "<p>The <a href=\"http://staging.screwattack.com/community/tags/1\">#1</a> Show is a show about everything... except video games. We have enough shows for that. A show that was conceived after arguing while in a backyard pool over the best cereals, this is the end result... but is still a work in progress.</p>", | |
| "seasons": [{ | |
| "slug": "the-1-show-season", | |
| "title": "", | |
| "show_episodes": [{ | |
| "title": "WHAT'S THE BEST PIZZA? | THE #1 SHOW ", |
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
| [{ | |
| "name": "The #1 Show", | |
| "summary": "<p>The <a href=\"http://staging.screwattack.com/community/tags/1\">#1</a> Show is a show about everything... except video games. We have enough shows for that. A show that was conceived after arguing while in a backyard pool over the best cereals, this is the end result... but is still a work in progress.</p>", | |
| "seasons": [{ | |
| "slug": "the-1-show-season", | |
| "title": "", | |
| "show_episodes": [{ | |
| "title": "WHAT'S THE BEST PIZZA? | THE #1 SHOW ", | |
| "caption": "SERIES PREVIEW - The #1 Show is a show about everything... except video games. We have enough shows for that. A show that was conceived after arguing while in a backyard pool over the best cereals, this is the end result... but is still a work in progress", | |
| "description": "<p>SERIES PREVIEW - The <a href=\"http://staging.screwattack.com/community/tags/1\">#1</a> Show is a show about everything... except video \ngames. We have enough shows for that. A show that was conceived after \narguing while in a |
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
| apiVersion: v1 | |
| kind: ReplicationController | |
| metadata: | |
| name: kube-registry-v0 | |
| namespace: kube-system | |
| labels: | |
| k8s-app: kube-registry | |
| version: v0 | |
| spec: | |
| replicas: 1 |
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
| #!/usr/bin/env bash | |
| echo "Expected arguments: 1) version" | |
| version=$1 | |
| if [ -z "$version" ]; then | |
| echo "version is not set" | |
| exit 1 | |
| fi |
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
| { | |
| "results": [ | |
| { | |
| "gender": "female", | |
| "name": { | |
| "title": "miss", | |
| "first": "marluce", | |
| "last": "da rosa" | |
| }, | |
| "location": { |
NewerOlder