Skip to content

Instantly share code, notes, and snippets.

@ayaanrauf
ayaanrauf / gist:5693f30f370b33f4e5df62e11a621e83
Created September 18, 2021 02:28
arduino code error for the umpteenth time
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\johnr\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10816 -build-path C:\Users\johnr\AppData\Local\Temp\arduino_build_770921 -warnings=all -build-cache C:\Users\johnr\AppData\Local\Temp\arduino_cache_34195 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgn
@ayaanrauf
ayaanrauf / gist:3de1d8133d041dbdce1f00f7e6be5f22
Created September 18, 2021 02:26
very verbose arduino error msg
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\johnr\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10816 -build-path C:\Users\johnr\AppData\Local\Temp\arduino_build_603018 -warnings=all -build-cache C:\Users\johnr\AppData\Local\Temp\arduino_cache_486954 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqg
@ayaanrauf
ayaanrauf / gist:5fe8d8ef44571b54b8ffe22a260cb2fc
Created September 18, 2021 02:11
Yet another arduino error message
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:\Users\johnr\AppData\Local\Temp\arduino_build_603018/sketch_sep11a.ino.hex:i
An error occurred while uploading the sketch
@ayaanrauf
ayaanrauf / gist:b80c59d0d592d7d507e23a03b3c63caf
Created September 18, 2021 02:08
Arduino error message
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
Sketch uses 864 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:\Users\johnr\AppData\Local\Temp\arduino_build_603018/sketch_sep11a.ino.hex:i
An error occurred while uploading the sketch
@ayaanrauf
ayaanrauf / gist:3e25eb863eb0ea5e3d6c7f99d1324691
Created September 18, 2021 02:05
Arduino error message
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
Sketch uses 864 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:\Users\johnr\AppData\Local\Temp\arduino_build_603018/sketch_sep11a.ino.hex:i
@ayaanrauf
ayaanrauf / gist:e1e1a153297a267cca9ff0b764c22871
Created September 18, 2021 01:58
Arduino error message
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Arduino Uno"
Sketch uses 864 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.51.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:\Users\johnr\AppData\Local\Temp\arduino_build_603018/sketch_sep11a.ino.hex:i
@ayaanrauf
ayaanrauf / index.html
Created August 16, 2021 05:00
JavaScript mini-script inside of HTML
<html>
<head><title>test</title></head>
<body>
<script>
//This is where you type the JS code.
</script>
</body>
</html>
@ayaanrauf
ayaanrauf / README.md
Last active August 17, 2021 01:28 — forked from lopspower/REAMDE.md
Increase Android Studio memory

Increase Android Studio memory

Twitter

Locate the configuration file

Run command:

touch ~/Library/Preferences/AndroidStudioX.X/studio.vmoptions
@ayaanrauf
ayaanrauf / README.md
Created August 16, 2021 04:18 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@ayaanrauf
ayaanrauf / pixelArtResource.md
Last active August 16, 2021 01:16 — forked from halimbimantara/pixelArtResource.md
[Pixel Art ]linklearing #Design2D #PixelArt #GameDeveloper

Pixel Art Resources (Not affiliated / sponsored. Just helping) PIXEL ART TUTORIALS & RESOURCES

LOSPEC (Tutorials / Palettes / Tools / Resources / etc)
https://lospec.com/

Pixeljoint's Pixel Art Tutorial
https://pixeljoint.com/forum/forum_posts.asp?TID=11299

Pixel Logic ($9 USD Pixel Art guide series)