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
$methodName = 'name_of_remote_soap_method'; | |
$params = array('params'=>'to','send'=>'to','the'=>'server'); | |
$client = new SoapClient("https://wsdl-url", array('trace' => 1, 'exceptions' => false)); | |
$response = $client->{$methodName}($params); | |
if (get_class($response) !== 'SoapFault') { | |
print_r($response); //call was successful | |
} else { |
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
{ | |
"vars": { | |
"@gray-base": "#3e2723", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "#04a3dd", | |
"@brand-success": "#7fbb42", |
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
Initialize engine version: 5.5.0f3 (38b4efef76f0) | |
GfxDevice: creating device client; threaded=1 | |
Direct3D: | |
Version: Direct3D 11.0 [level 11.0] | |
Renderer: AMD Radeon (TM) R9 390 Series (ID=0x67b1) | |
Vendor: ATI | |
VRAM: 3072 MB | |
Driver: 21.19.137.514 | |
Begin MonoManager ReloadAssembly | |
Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Project Highrise\Game_Data\Managed\UnityEngine.dll (this message is harmless) |
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 java.util.Random; | |
public class RandomWalk | |
{ | |
public static void main(String[] args) | |
{ | |
Random rand = new Random(); | |
int position = 0; | |
int zeroCrossings = 0; | |
int i = 0; |
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 userList = []; | |
function getUsers(page, cb) { | |
management.users.getAll({per_page: 50, page: page},function (err, users) { | |
if(!err) { | |
if (users.length > 0) { | |
userList = userList.concat(users); | |
getUsers(page + 1, cb); | |
} else { | |
if(cb) { |
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 identities = []; | |
db.collection("identities").doc("jokerstash").collection("queue").get(). | |
then(snapshot => { | |
snapshot.forEach(doc => { | |
var newIdentity = { | |
status: doc.data().status, | |
url: doc.data().url, | |
username: doc.data().username, | |
pwd: doc.data().pwd, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<script> | |
if(typeof test !== 'undefined') { |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Gol : MonoBehaviour { | |
private float spacing = .5f; | |
public GameObject Cell; |