Moving my blog
Hey all I moved my tech blog to new platform
wallacepolsom

oozey mess
let's talk about Bridgerton tea, my ask is open
No title available
AnasAbdin
will byers stan first human second

pixel skylines

祝日 / Permanent Vacation
Acquired Stardust
noise dept.

izzy's playlists!
Monterey Bay Aquarium
sheepfilms

JVL
we're not kids anymore.
$LAYYYTER
hello vonnie
cherry valley forever

ellievsbear

JBB: An Artblog!
seen from India
seen from Germany

seen from Germany

seen from Malaysia
seen from Austria

seen from United Kingdom

seen from Germany

seen from Singapore
seen from Malaysia

seen from Canada
seen from Brazil

seen from Malaysia
seen from United Kingdom

seen from Türkiye
seen from Germany
seen from United States
seen from Romania

seen from France
seen from Estonia
seen from United States
@my-twisted-code
Moving my blog
Hey all I moved my tech blog to new platform
Alfred workflow issue
I applied pretty cool trick for Alfred where I sync settings and workflows between few devices
Brew and get disk space back
If you want to gain some disk space just run
brew cleanup -s
Stupid yarn install error
If you’re getting above error
Usage Error: The nearest package directory The solution for ” Usage Error: The nearest package directory ” can be found here.
The following code will assist you in solving the problem. solution
touch yarn.lock
and off you go
Simple validate file checksum
If you install stuff from source it is always good practice to validate if downloaded file checksum is the one the you expected it to be.
Example how to validate checksum for openssl source file
echo "f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96 openssl-1.1.1m.tar.gz" | sha256sum --check
Where do you get original checksum from ...website where the source can be found :)
git pre commit
I always felt that running flake8 manually is a mistake. I decided to write simple script which does that for me before each commit
.git/hooks/pre-commit
and the content
#!/bin/sh
echo "Running flake8 on made changes..."
CURRENT_DIR=`pwd` PROJECT_DIR=`git rev-parse --show-toplevel`
cd $PROJECT_DIR
git diff --name-status | awk '{print $2}' | grep -E ".*.py$" | xargs flake8
cd $CURRENT_DIR
pip in local folder
Recently I had this annoying error
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/command/install.py", line 248, in finalize_options "must supply either home or prefix/exec-prefix -- not both") distutils.errors.DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
When I was trying to install pandas in local folder, ie.
pip3 install -t ./ pandas
Fear not! It is pretty easy to fix this, just execute below cmd and live happy.
echo "[install] prefix=" > ~/.pydistutils.cfg
The model migrations are certainly a great feature of the Django framework. But, when it comes down to running tests,it really slows down the process. Especi...
The much anticipated Django 2.0 was recently released and we are updating Pinax apps, client projects, and our own sites. This offers the perfect opportunity to share our process and some of the most common issues.
I did the same for my previous 13" late 2013. Maybe this time is the time to upgrade my 2015 model?
How Apple and Google was growing...impressive
Mac OX: Can’t send iMessage
This thing was driving me nuts for about few days. Why the hell my iMessage on Mac suddenly broke.
I had this image in front of my face for all messages that i tried to send. Solution was...so easy. Just follow those steps.
Open Keychain Access either through the utilities folder or Spotlight Search
Navigate to the File menu and select “Lock Keychain ‘Login'”
Navigate to the File menu again and select “Unlock Keychain ‘Login'”
You’ll be asked to enter your Mac password
Enter the password and try to send your message again
When I fix a bug which was hiding another one
No no, thank you. I’m switching back to Safari
I have few Apple devices. I did an experiment. I’e been using Safari as my main browser for pretty long time. Reason being? Pretty awesome few features in Apple eco system
✔ having page opened in Mac and switch to iOS - continue seamlessly reading without doing anything extra
✔ saving and sharing passwords between iOS and OSX - another nice seamless experience
So by having lots of websites where I must use password validations for like every day work I was using this Safari/iOS/OSX feature for quite a while. Until I decided to try Chrome for some time. I thought to myself - why not? Everybody’s using Chrome nowadays.
The first thing that killed my effort was...passwords. Well I use 1password app so no big deal, I guess. I could live with that.
Unfortunately using Chrome on OSX does not give you seamless experience when switching to iOS. Why? Because of simple fact. Apple and iOS restrictions :(
Try to get an email or any message in iOS which contains a link. Click it... it will always redirect you to...Safari and guess what - there is no way to change it.
Then you have to take that link and open it in Chrome in your iOS to keep history between iOS Chrome and OSX? No, no, no. Thank you sir.
That is really annoying. Even if there is a way to sync histories, cookies and stuff between Chrome and Safari (mobile + desktop)i. Still iOS will not allow you to use Chrome as default browser so all the goodies from Google Chrome eco system will not be working same way as they do in Android,
For that reason after a day I gave up. Maybe there are just my bad habits or what I described above is a really strong reason why not to switch to Chrome? Or I am just to old or too lazy and like to flow with things that I feel comfortable with to use?
Logitech MX Master Mac OSX Mojave
Here I had found solution in the vast space of Internet. I hope that helps some of you. For me was a life saver. Annoying bug!
I had the same issue today. Very frustrating! There was a popup screen that came up and I inadvertently clicked deny which didn’t allow the Logitech Options Daemon to run. Once i enabled it and restarted my computer the mouse scrolling function worked again.
On your Mac…Go to
1) Click on the apple icon on the top left corner of the screen
2) Select System Preferences
3) Click Security & Privacy
4) Click Privacy tab
5) Click on Accessibility on the left hand side
6) Click on Logitech Options Daemon
(if it’s greyed out it’s because you have it locked…click on the pad lock on the bottom right of the little window to unlock it).
Hope that works for those who had issues!
Das keyboard
In my last post I mentioned that I fixed few broken CherryMX keys. Looks like numbers of hours or just too much dust killed them. Anyway. I love my keyboard and the one that I fixed is Das Keyboard
Features include:
– Designed for Mac compatibility – Two-port USB 3.0 SuperSpeed hub – Anodized aluminium top panel – Full n-key rollover – Mechanical key switches with gold contacts – UV hard coat-protected key caps to prevent fading
I seriously think that this is the best keyboard for Mac! Maybe not the cheapest but trust me...for developers - not killable.