View five_minutes.yml
---
- hosts: all
vars:
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx'
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx'
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com
ubuntu_common_deploy_user_name: deploy
ubuntu_common_deploy_public_keys:
- ~/.ssh/id_rsa.pub
View ic-c0101..py
#Python 3.6.5
import math
class State():
def __init__(self, canibaisEsquerda, missionariosEsquerda, barco, canibaisDireita, missionariosDireita):
self.canibaisEsquerda = canibaisEsquerda
self.missionariosEsquerda = missionariosEsquerda
self.barco = barco
self.canibaisDireita = canibaisDireita
View output_log.txt
Log uploaded on Wednesday, August 15, 2018, 6:24:20 AM
Loaded mods:
Core: (no assemblies)
HugsLib[5.0.0]: 0Harmony(1.1.0.0), HugsLib(1.0.0.0)
[SYR] Set Up Camp: 0Harmony(1.2.0.0), SetUpCamp(1.0.0.0)
Active Harmony patches:
Caravan.GetGizmos: post: Syrchalis_SetUpCamp.SetUpCamp.GetGizmosPostfix
DebugWindowsOpener.DevToolStarterOnGUI: TRANS: HugsLib.Patches.DevToolStarterOnGUI_Patch.ExtendButtonsWindow
DebugWindowsOpener.DrawButtons: TRANS: HugsLib.Patches.DebugWindowsOpener_Patch.DrawAdditionalButtons
View ReactiveUICommands.cs
/*
* Define Commands
*/
public ReactiveCommand ShowActionSheetCommand { get; }
public ReactiveCommand ShowAlertCommand { get; }
public ReactiveCommand<CopyItem, bool> SelectItemCommand { get; }
View visualize_decision_trees.py
class DecisionTreeVisualizer(object):
"""
Visualize a decision tree, either in code like format, or graphviz
"""
@staticmethod
def visualize(model, feature_column_names, label_names, tree_path, visual=True):
"""
Visualize a decision tree, either in a code like format, or graphviz
:param model: the fitted decision tree classifier
View untrusted-lvl10-solution.js
/*************
* ambush.js *
*************
*
* Oh. Oh, I see. This wasn't quite part of the plan.
*
* Looks like they won't let you take the Algorithm
* without a fight. You'll need to carefully weave your
* way through the guard drones.
*
View LinqChallenge3.cs
// Problem 4 - Anagrams
public IEnumerable<string> Anagrams(string sequence)
{
var result = sequence.Split(',');
return result;
}
View Lbs.php
<?php
/**
* Written by Amri Shodiq.
* Do not hesitate to copy and paste this code.
* It's not embarassing.
*/
if (!defined('BASEPATH'))
exit ('No direct script access allowed');
View HomePage.xaml
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="RxUIForms.Views.HomePage" Title="{Binding Title}">
<ContentPage.Content>
<StackLayout Padding="10,20">
<ListView SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ItemsSource="{Binding CopyItems}">
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Title}" />
</DataTemplate>
</ListView.ItemTemplate>