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
public boolean downloadWithDeluge(String magnetSite) { | |
String command = "deluge-console add -p /home/billy/deluge-downloads/ " + magnetSite; | |
//String command = "ping -c 4 google.com"; | |
String out = executeCommand(command); | |
System.out.println(out); | |
return false; | |
} | |
private String executeCommand(String command) { |
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
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "empty" (class Deck), not marked as ignorable (one known property: "cards"]) | |
at [Source: {"deck":{"cards":[{"rank":4,"value":6,"selected":false},{"rank":2,"value":12,"selected":false},{"rank":3,"value":5,"selected":false},{"rank":4,"value":8,"selected":false},{"rank":4,"value":9,"selected":false},{"rank":3,"value":13,"selected":false},{"rank":1,"value":7,"selected":false},{"rank":4,"value":4,"selected":false},{"rank":3,"value":3,"selected":false},{"rank":2,"value":6,"selected":false},{"rank":2,"value":13,"selected":false},{"rank":4,"value":11,"selected":false},{"rank":4,"value":14,"selected":false},{"rank":4,"value":10,"selected":false},{"rank":3,"value":12,"selected":false},{"rank":2,"value":2,"selected":false},{"rank":3,"value":8,"selected":false},{"rank":1,"value":12,"selected":false},{"rank":2,"value":3,"selected":false},{"rank":4,"value":12,"selected":false},{"rank":4,"value":13,"selected":false},{"rank":1,"value":14,"s |
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
enum Alphabet | |
{ | |
A, | |
B, | |
C, | |
D, | |
E, | |
F, | |
G |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<ProjectGuid>{14D0B9CD-9F23-45D3-BBA9-DA97460C5076}</ProjectGuid> | |
<OutputType>Library</OutputType> | |
<AppDesignerFolder>Properties</AppDesignerFolder> | |
<RootNamespace>CardGame</RootNamespace> |
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
(plotly) pi@pizero:~/readings/plot $ pip install -i https://www.piwheels.hostedpi.com/simple/ pandas -v | |
Collecting pandas | |
1 location(s) to search for versions of pandas: | |
* https://www.piwheels.hostedpi.com/simple/pandas/ | |
Getting page https://www.piwheels.hostedpi.com/simple/pandas/ | |
Looking up "https://www.piwheels.hostedpi.com/simple/pandas/" in the cache | |
Current age based on date: 414 | |
Freshness lifetime from request max-age: 600 | |
The response is "fresh", returning cached response | |
600 > 414 |
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
/* | |
AC Voltage dimmer with Zero cross detection | |
Author: Charith Fernanado <a href="http://www.inmojo.com"> http://www.inmojo.com | |
</a> | |
Adapted by DIY_bloke | |
License: Creative Commons Attribution Share-Alike 3.0 License. | |
Attach the Zero cross pin of the module to Arduino External Interrupt pin | |
Select the correct Interrupt # from the below table |