https://github.com/franksorro/DotNetCoreWithDapper
A starter .NET Core project with Dapper & MySQL and some preset features: Controller with authorization NLog AutoMapper Swagger User secrets AppSettings info in object class MemCached Sentry AWS S3…
Appunti, stralci di programmazione e altro
A starter .NET Core project with Dapper & MySQL and some preset features: Controller with authorization NLog AutoMapper Swagger User secrets AppSettings info in object class MemCached Sentry AWS S3…
Eseguire il download di memcached da questo indirizzo:http://downloads.northscale.com/memcached-win64-1.4.4-14.zip Scompattare il contenuto nella cartella c:\memcached Aprire un prompt dei comandi con privilegi di amministratore ed eseguire i seguenti comandi: memcached -d…
Questa procedura permette di passare da una versione Home di Windows 10 ad una versione Pro. E’ necessario avere un Product Key valido di Windows 10 Pro: Impostazioni -> Sistema…
Editare il file del progetto ed aggiungere le seguenti informazioni: <PropertyGroup> <DebugType Condition=" '$(Configuration)' == 'Release' ">None</DebugType> </PropertyGroup>
Questa configurazione vale per il servizio memcached installato su MacOS con homebrew: Editare il file /usr/local/opt/memcached/homebrew.mxcl.memcached.plist Modificare la sezione<key>ProgramArguments</key><array><string>/usr/local/opt/memcached/bin/memcached</string><string>-l</string><string>localhost</string></array> in <key>ProgramArguments</key><array><string>/usr/local/opt/memcached/bin/memcached</string><string>-l</string><string>localhost</string><string>-l</string><string>ip_address</string></array> salvare e riavviare il servizio con il comando brew…
mv /var/lib/rpm/__db* /tmp/ rpm --rebuilddb yum clean all
Editare il file Podfile ed aggiungere in testa questa riga: source ‘https://github.com/cocoapods/specs.git’
Dopo aver creato il progetto in Xcode, eseguire i seguenti comandi: pod spec create Peanut edit Peanut.podspec pod spec lint Peanut.podspec pod trunk register [email protected] ‘<nomeLibreria>’ –description='<descrizione della librearia>’ pod…
Aggiungere ad info.plist: <key>UIUserInterfaceStyle</key><string>Light</string>
Connettersi al db con l’utente root e lanciare il seguente comando: SET GLOBAL general_log = ‘OFF’; Riavviare il servizio