(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// $ g++ -o test -framework Foundation -Wall test.mm | |
// $ ./test | |
// The string length is 12 | |
// The string third char value is 108 | |
// The string is Hello World! | |
#include <iostream> | |
#import <Foundation/Foundation.h> | |
class MyCppNSStringWrapper |
using UnityEngine; | |
using System.Collections; | |
namespace UnityEngine { | |
/// <summary> | |
/// Usage: | |
/// | |
/// (optional) Call GUIScaler.Initialize() in Start(), Awake() or OnEnable() (only needed once) | |
/// Call GUIScaler.Begin() at the top of your OnGUI() methods | |
/// Call GUIScaler.End() at the bottom of your OnGUI() methods |
# Verifies the connectivity and validity of the objects in the database | |
git fsck —unreachable | |
# Manage reflog information | |
git reflog expire —expire=0 —all | |
# Pack unpacked objects in a repository | |
git repack -a -d -l | |
# Prune all unreachable objects from the object database |
<?xml version="1.0" encoding="UTF-8"?> | |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
<Product Id="*" Name="GradeCam Plugin" Language="1033" Version="${FBSTRING_PLUGIN_VERSION}" Manufacturer="${FBSTRING_CompanyName}" UpgradeCode="b0000000-4cf5-51d8-9699-b470daed7c1e"> | |
<Package InstallerVersion="200" Compressed="yes" Description="Installer for the GradeCam Plugin" InstallScope="perUser" /> | |
<Upgrade Id="b0000000-4cf5-51d8-9699-b470daed7c1e"> | |
<UpgradeVersion | |
Property="OLD_VERSION_FOUND" | |
Minimum="0.0.1" IncludeMinimum="yes" | |
Maximum="${FBSTRING_PLUGIN_VERSION}" IncludeMaximum="yes" |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. |
# Usage: powershell ExportSchema.ps1 "SERVERNAME" "DATABASE" "C:\<YourOutputPath>" | |
# Start Script | |
Set-ExecutionPolicy RemoteSigned | |
# Set-ExecutionPolicy -ExecutionPolicy:Unrestricted -Scope:LocalMachine | |
function GenerateDBScript([string]$serverName, [string]$dbname, [string]$scriptpath) | |
{ | |
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
def toCamelCase(String string) { | |
String result = "" | |
string.findAll("[^\\W]+") { String word -> | |
result += word.capitalize() | |
} | |
return result | |
} | |
afterEvaluate { project -> | |
Configuration runtimeConfiguration = project.configurations.getByName('compile') |
... or Why Pipelining Is Not That Easy
Golang Concurrency Patterns for brave and smart.
By @kachayev
var server = "http://yourserveraddress:8065/"; //Your server and IP address | |
var apiKey = "API-XXXXXXXXXXXXXXXXXXXXXXXXX"; // Get this from your 'profile' page in the Octopus web portal | |
var endpoint = new OctopusServerEndpoint(server, apiKey); | |
var repository = new OctopusRepository(endpoint); | |
var projectId = "projects-225"; //your project id | |
//This pulls out the info you need, the same call that's made on the Create Release page in the UI | |
var template = repository.Client.Get<Octopus.Client.Model.ReleaseTemplateResource>("/api/deploymentprocesses/deploymentprocess-" + projectId + "/template"); |