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
#ifndef __CVS__HELPER__H | |
#define __CVS__HELPER__H | |
#include <exception> | |
#include <string> | |
#include <iostream> | |
#include <sstream> | |
class CSVRow | |
{ |
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
using UnityEngine; | |
namespace AquelaFrameWork.Core | |
{ | |
/// <summary> | |
/// | |
/// | |
/// This class was build to make easy to get a Singleton class in the Unity Engine System. | |
/// | |
/// If would you want a single instance of a specific class, extends this class and get access from it by the static function "Instance" |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.ServiceModel.Syndication; | |
using System.Xml; | |
static int Main(string[] args) | |
{ | |
XmlTextReader reader = new XmlTextReader("http://your.com/feed/"); |
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
public class CameraSizeHandler : MonoBehaviour { | |
//public Camera cam; | |
// Use this for initialization | |
void Start () | |
{ | |
Resolution res = Screen.currentResolution; | |
Camera cam = this.gameObject.GetComponent<Camera>(); |
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
public protocol GeneratorType { | |
associatedtype Element | |
public mutating func next() -> Self.Element? | |
} |
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
// Coolest class ever | |
class CoolGenerator: GeneratorType { | |
typealias Element = String | |
let collCount: Int | |
private var count: Int = 0 | |
init( collCount: Int ) { | |
self.collCount = collCount | |
} |
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
/// Prefix Class Generator | |
class StringPrefixGenerator: GeneratorType { | |
typealias Element = String | |
let string: String | |
var offset: String.Index | |
init(string:String) { | |
self.string = string | |
self.offset = string.startIndex | |
} |
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
#! /bin/sh | |
# /etc/init.d/ngrok | |
case "$1" in | |
start) | |
echo "Ngrok service is starting" | |
screen ./ngrok start -all -config /home/pi/.ngrok2/ngrok.yml | |
echo "Ngrok service was started" | |
;; | |
stop) |
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
authtoken: * | |
json_resolver_url: "" | |
dns_resolver_ips: [] | |
tunnels: | |
httpbin: | |
proto: http | |
addr: 80 | |
bind_tls: both #Here I chose HTTP and HTTPS protocols when active the flag 'both'. | |
sshbin: |
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
// | |
// Created by Douglas Barreto on 06/01/17. | |
// Copyright (c) 2017 Carrefour Comercio e Industria Ltda. All rights reserved. | |
// | |
import KIF | |
import UIKit | |
extension KIFUITestActor { | |
// | |
// MARK: Find View |
OlderNewer