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
// frida -U ${package} -l request.js | |
Java.perform(function () { | |
var OkHttpClient = Java.use("okhttp3.OkHttpClient"); | |
var RealCall = Java.use("okhttp3.RealCall"); | |
OkHttpClient.newCall.implementation = function (request) { | |
var result = this.newCall(request) | |
console.log(request.toString()) | |
return result |
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
import React, { Component } from 'react'; | |
import TextField from 'components/base/TextField'; | |
const WAIT_INTERVAL = 1000; | |
const ENTER_KEY = 13; | |
export default class TextSearch extends Component { | |
constructor(props) { | |
super(); |
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
<?php | |
/** | |
* Add schema to yoast seo breadcrumb | |
*/ | |
add_filter('wpseo_breadcrumb_links', 'jj_add_crumb_schema', 10, 1); | |
function jj_add_crumb_schema($crumbs) { | |
if ( ! is_array( $crumbs ) || $crumbs === array() ) { |
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
/* | |
Node.js, express, oauth example using Twitters API | |
Install Dependencies: | |
npm install express | |
npm install oauth | |
Create App File: | |
Save this file to app.js | |
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
package main | |
import ( | |
"log" | |
"net/http" | |
"net/url" | |
"fmt" | |
"golang.org/x/net/html" | |
"io/ioutil" | |
) |