Wednesday, November 2, 2022

ImageStitcher


 

New features update:

  • Slideshow

Ffmpeg assisted features

(must have ffmpeg installed and set in path environment variables)

  • join two animated .gifs together
  • convert some unreadable .webp images to .jpg


C# Source code on Github https://github.com/jbao161/ImageStitcher/

Built with Visual Studio 2022




Friday, June 10, 2022

Yosemite National Park, CA

Wawona Tunnel Tree
Mist Trail
Nevada Falls
Mirror Lake
A Deer
Upper Yosemite Falls
Swinging Bridge

Sunday, March 20, 2022

Death Valley, CA

 Dante's View

 


Zabriskie Point


 

 Mosaic Canyon

 



 Golden Canyon

 



 Badwater


Mesquite Flat Sand Dunes

 


 Artist's View

 


 

 


Wednesday, July 15, 2020

Letters to my u.b.s



It is a wonderful thing to work without needing the income.
Your work is your life. Don't waste your life over salary.

Any profession has its high earners on one end and go-nowhere's on the other.
Choose a job in which you can do your life's work and achieve your goal.

  • Influence is the key to getting what you desire and money is the least substantial form of influence as well as the most readily taken away.
  • Possessions are tempting, but beware. The more you own, the more it owns you.
  • No amount of riches can defy mortal decay, so care for your health and your mind, or all your spoils of war will be of no avail.




People make earth a paradise or a purgatory, so treat each person you meet with respect and kindness. As populous as the world is, the individuals that we involve in our lives is limited by time and effort. So whoever you do interact with, give them a chance to contribute to a positive experience.




I know many things, yet there is much I don't know. You will meet people who think they know all there is to know, and want to stop you in your progress of learning. Hear what they have to say once, withhold your criticism, and move along. There is better use of time than struggling against a boulder that refuses to budge.


With those who seem to know little but are attentive to listen, be humble, and share your knowledge without talking down to them. Chat again from time to time. For eventually they will learn something from others that you don't know, and then it will benefit you to listen.





Friday, June 12, 2020

Cantenna

A homemade device to increase WiFi signal




Materials:

1 circular pizza tray (32 cm diameter)
1 Tin can lid (9 cm diameter)
Electrical tape

Specifications:

cantenna diameter: ~90 mm
cantenna length: ~300 mm
WiFi adapter antenna distance from closed end: ~30 mm

Other equipment:

USB WiFi adapter with antenna (2.4 GHZ)
(pictured but not required) powered USB hub
USB extension cable



The pizza tray is a circle with diameter of about 32 cm. When rolled up into a cylindrical tube, the maximum tube diameter is 10.2 cm. The max tube length at furthest points equals the tray diameter of 32 cm. Roll the tray to about 9 cm diameter so there is some overlap in the center.

The tin can lid acts as a reflector on the closed end of the tube. Place this about 2 cm from the furthest edge of the tube to reduce the effective tube length.

Any reflective material can be used as an closed end reflector. A tin can lid, a mirror, or even clear plastic!


Adjusting the position of the end reflector also in theory tunes the frequency to different WiFi channels by increasing the signal at different frequencies within the 2.4 GHZ band range.

The ideal tube length for a 9 cm diameter cantenna is calculated to be 15.4 cm (see ref) but since our tube is much longer, it is acceptable to use twice the calculated length at about 30 cm. This will capture twice the volume of WiFi packets per cycle, narrow the aperture angle and increase the signal.



References:



Monday, June 8, 2020

Art

My air conditioner fell on my monitor and broke it. I busted it up some more to make art.


Wednesday, May 20, 2020

Can't move off-screen window into active view

If a window is off screen from a disconnected secondary monitor and won't move into view with Win + Arrow Key, try restoring it by making it full screen with keyboard command Alt + Enter.

Saturday, May 16, 2020

Delete a specific cookie using autohotkey

To delete cookies, we edit the .sqlite database file in Firefox's APPDATA containing Mozilla Firefox's cookies.

Run DB Browser from the Command Prompt (cmd.exe) with command line options to run a SQL script (-s ) on the cookie database file and quit after execution (-q)

AutoHotkey script code:
   run, cmd.exe
Send "%path_dbbrowser%" -s "%path_sqlscript%" -q "%path_cookie%"{ENTER}
In context:
    ; // program paths
    path_cookie := "C:\Users\__USERNAME__\AppData\Roaming\
    Mozilla\Firefox\Profiles\__PROFILENAME__\cookies.sqlite"     path_dbbrowser := "D:\Program Files\DB Browser for SQLite\
    DB Browser for SQLite.exe"     path_sqlscript := "E:\Code\autohotkey scripts\cox\deletecookies.sql"
    
    cmd_timeout_sec := 10 ; time to wait for command prompt to respond

    run, cmd.exe
WinActivate ahk_exe cmd.exe
WinWaitActive ahk_exe cmd.exe, , %cmd_timeout_sec%
Send "%path_dbbrowser%" -s "%path_sqlscript%" -q "%path_cookie%"{ENTER}
    Send Exit{ENTER}
Remember to declare variables as global inside the functions, if they were assigned in the main execution.

SQL script contents:

DELETE FROM moz_cookies WHERE host like "%cox%"; 

Relevant Applications:

DB Browser for SQLite
Autohotkey
Mozilla Firefox

Wednesday, April 22, 2020

Laptop Fan Wiring

Image Source

Wiring Color Code


Red: Power
Black: Ground 
Yellow: Fan Speed Sensor (Tachometer)
Brown: Fan Speed Control (PWM*)

*PWM: Pulse Width Modulation

 

How to make your laptop fan run at max speed at all times:

Cut the fan speed control wire (brown wire). The color and ordering of the wire may vary by manufacturer. Typically red is power, yellow is sensor, and black is ground... leaving the fourth color to be the speed control.
 

Specifications

The above information is accurate for

Lenovo IdeaPad 320-15ABR
Machine Type Model: 80XS00DJUS
Processor: AMD A12-9720P
Graphics: Integrated


Las Vegas, NV. Covid-19 Grafitti

Downtown Las Vegas. April 2020

Fremont St.






Art District