Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: size

Posted on 11 June 201812 June 2018

[Swift] Get devices model range

Here a simple and easy memo for getting the iPhones devices models range.

Continue reading “[Swift] Get devices model range”

Posted on 26 September 201225 May 2018

[BASH] Create big file (custom) size

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”

Posted on 21 January 201024 May 2018

[C#] Split file by size or by Lines

Magari può essere utile questo metodo facile facile che permette di dividere un qualsiasi file (binario o testo) in un numero di parti definite.

Continue reading “[C#] Split file by size or by Lines”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress