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.Collections; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class ScrollViewAdapter : MonoBehaviour { | |
public RectTransform prefarb; | |
public Text countText; | |
public RectTransform content; |
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
const Koa = require('koa'); | |
const path = require('path'); | |
const serve = require('koa-static'); | |
const http = require('http'); | |
const https = require('https'); | |
const fs = require('fs'); | |
const commonDir = path.join(__dirname, '..', 'Client'); | |
const app = new Koa(); |
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
const http = require('http'); | |
const url = require('url'); | |
const port = 6006; | |
const requestHandler = (request, response) => { | |
const query = url.parse(request.url, true).query; | |
if (query && query.count && (query.count > 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class ScrollViewAdapterConnected : MonoBehaviour { | |
public RectTransform prefarb; | |
public Text countText; | |
public RectTransform content; |
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 soap = require('soap'); | |
var Cookie = require('soap-cookie'); | |
exports.get = function(req, res){ | |
var url = 'http://ws.example.com/wsclientPath?wsdl'; | |
soap.createClient(url, function(err, client) { | |
if (err) { | |
res.send(err); |
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
const childProcess = require('child_process'); | |
function execProcess(command) { | |
childProcess.exec(command, function(error, stdout, stderr) { | |
console.log(`stdout: ${stdout}`); | |
console.log(`stderr: ${stderr}`); |
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
<html> | |
<head> | |
<title>Lazy loading by #Blondiecode</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body { | |
font-family: Arial, "Helvetica Neue", Helvetica, serif; | |
} | |
footer { |
NewerOlder