Imagine that you need to add a file in your XCode project the first time that you build the app.
For instance, you have a configuration file, in Swift, that you want to compile and embed in your app (instead of using a PLIST file that is in CLEAR…) during the build phase and of course use in your project.
Continue reading “XCode – Add a file in project at build time”
a little reminder to configure raspberry as NAS server, to backup and access your file everywhere.
Continue reading “Raspberry PI – Easy setup a backup NAS server”
This create a 15Mb file. For any use.
[code lang=”bash” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]dd if=/dev/random of=BigFile.dat bs=1500000 count=10[/code]
Continue reading “[BASH] Create big file (custom) size”
Here a unix command line script to count code lines for your project (or something else!).
Continue reading “[SHELL] Count lines of code in all files recursively”
Può capitare di dover caricare le impostazioni di un programma da un file di testo…
vediamo come fare utilizzando anche le regular expression.
Continue reading “[C#] Leggere un file di configurazione”