- Clone or download: https://github.com/open-source-parsers/jsoncpp
- Create a dir to build inside the JsonCpp dir: mkdir -p build/debug
- Change to new directory: cd build/debug
- Run Cmake:
cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON
-DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ../.. - Build:
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
#!/bin/bash | |
#Script para instalação e configuração do Mono no RaspBerryPi3+ Stretch 9 | |
#executar em modo sudo! | |
#TODO: Permite a instalação do Mono, Mono-Devel e Dotnet | |
ERROR_LOG = "/tmp/log.dat" | |
instalar_menu(){ | |
echo "--------------------------------------" | |
echo "O que deseja instalar?" |
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 void ShowNetworkInterfaces(Label label_mac) | |
{ | |
var end_mac=""; | |
IPGlobalProperties computerProperties = IPGlobalProperties.GetIPGlobalProperties(); | |
NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); | |
//nics[1] eh a interface wlan0, sendo : nics[1] = eth0, nics[2] = wlan0 | |
PhysicalAddress address = nics[2].GetPhysicalAddress(); | |
byte[] bytes = address.GetAddressBytes(); |
- DotnetFiddle - C#
- Reply.it - Miscelaneus languages
- Js.do - Javascript
- Go Playground - Golang
- Python Shell - Python
Written with StackEdit.
- The Phoenix Project (by Gene Kim, Kevin Behr, George Spafford) - A Novel About IT, DevOps, and Helping Your Business Win
- Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation(by Jez Humble, David Farley) - The principles and technical practices that enable rapid, incremental delivery of high quality, valuable new functionality to users. Lean Enterprise: How High Performance Organizations Innovate at Scale (by Jez Humble, Joanne Molesky, Barry O’Reilly) - Lean and Agile principles and patterns to help
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
def search_line(i): | |
with open("file") as fp: | |
for index, line in enumerate(fp): | |
if index == i: | |
print (line) |