https://www.unrealengine.com/en-US/blog/unreal-property-system-reflection
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
//Arduino Misuratore di potenzza e corrente elettrica con SCT-013-030 | |
//use EmonLib | |
// https://www.progettiarduino.com/76-arduino-amperometro-con-sct-013-corrente-e-potenza.html | |
#include "EmonLib.h" | |
#include <Wire.h> // Libreria wire già presente in Arduino ide | |
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
import keras | |
import numpy as np | |
from keras.applications import vgg16, inception_v3, resnet50, mobilenet | |
#Load the VGG model | |
vgg_model = vgg16.VGG16(weights='imagenet') | |
#Load the Inception_V3 model | |
inception_model = inception_v3.InceptionV3(weights='imagenet') | |
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
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. | |
#include "Ten.h" | |
#include "TenBlock.h" | |
#include "TenBlockGrid.h" | |
ATenBlock::ATenBlock() | |
{ | |
// Structure to hold one-time initialization | |
struct FConstructorStatics |
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 | |
function createStructure { | |
if [ -f default_conf.js ]; then | |
echo -ne 'Structure already found, aborting' | |
else | |
echo 'Structure not found, creating...' | |
wget https://github.com/stormsson/protractor_scaffolding/archive/master.zip && | |
unzip master && | |
rm master.zip && |
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
# app/config.yml | |
framework: | |
... | |
session: | |
handler_id: %session_handler_id% # read from parameters.yml | |
#handler_id: session.handler.memcache # use service defined later | |
services: | |
# MEMCACHE SESSION MANAGEMENT SERVICE CONFIGURATION |
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
update wp_options set option_value = REPLACE(option_value,'www.old_site.com','www.new_site.com'); | |
update wp_postmeta set meta_value = REPLACE(meta_value,'www.old_site.com','www.new_site.com'); | |
update wp_posts set guid = REPLACE(guid,'www.old_site.com','www.new_site.com'), post_content = REPLACE(post_content,'www.old_site.com','www.new_site.com'); |
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 | |
# create Dev Machine structure | |
function createStructure { | |
# TODO | |
# 1- check existing folders | |
# 2- ask user for overwriting | |
if [ -d manifests ] || | |
[ -d modules ] || | |
[ -d xdebug ] || |
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
ga('send','pageview', 'path_of_the_fake_page'); |
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
$imagick = new \Imagine\Imagick\Imagine(); | |
$image = $imagick->open($image_path); | |
$image = $image->getImagick()->coalesceImages(); | |
foreach ($image as $frame) | |
{ | |
$frame->cropImage($crop_w,$crop_h,0,0); | |
$frame->thumbnailImage($resize_w,$resize_h); |
NewerOlder