Skip to content

Instantly share code, notes, and snippets.

View yogeshmuthuraj's full-sized avatar
🎹
Star gazing..

Yogesh Muthuraj yogeshmuthuraj

🎹
Star gazing..
  • Remote
View GitHub Profile
@yogeshmuthuraj
yogeshmuthuraj / LPX-Trial-Reset.sh
Created August 18, 2023 17:21 — forked from maxwellmlin/LPX-Trial-Reset.sh
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@yogeshmuthuraj
yogeshmuthuraj / oldmactonewmac
Created August 17, 2023 05:17
old mac to new mac
Migration assistant works fine, need to plug both macs together and keep them on charge.
Chrome profiles needs to be loaded in new mac - Shortcuts, dont dispaly on the home screen option needs tobe enabled
REctangle app - Shiftit app -
https://www.groovypost.com/howto/map-command-key-usb-keyboard-mac/ Comnnad Key re assign
@yogeshmuthuraj
yogeshmuthuraj / created_at_formatting.rb
Created July 7, 2022 03:43 — forked from nickmeehan/created_at_formatting.rb
How to format created_at in Ruby!
%a - The abbreviated weekday name (''Sun'')
%A - The full weekday name (''Sunday'')
%b - The abbreviated month name (''Jan'')
%B - The full month name (''January'')
%c - The preferred local date and time representation
%d - Day of the month (01..31)
%H - Hour of the day, 24-hour clock (00..23)
%I - Hour of the day, 12-hour clock (01..12)
%j - Day of the year (001..366)
%m - Month of the year (01..12)
mvn install -Dmaven.compiler.failOnError=false
@yogeshmuthuraj
yogeshmuthuraj / How do you convert an entire directory with ffmpeg?
Created November 15, 2021 08:44
How do you convert an entire directory with ffmpeg?
for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
for i in *.NEF; do sips -s format jpeg $i --out "${i%.*}.jpg"; done
@yogeshmuthuraj
yogeshmuthuraj / replace master with branch force
Created October 9, 2021 07:36
How to replace master branch in Git, entirely, from another branch? [duplicate]
How to replace master branch in Git, entirely, from another branch? [duplicate]
What about using git branch -m to rename the master branch to another one, then rename seotweaks branch to master? Something like this:
git branch -m master old-master
git branch -m seotweaks master
git push -f origin master
@yogeshmuthuraj
yogeshmuthuraj / Visual Studio Code Keys
Last active August 24, 2021 06:43
Visual Studio Code shortcut keys
Visual Studio Code / VS Code shortcut keys
# Move line up and down:
Opt(Alt) + Up / Down
# Console log printer (Plugin required) https://marketplace.visualstudio.com/items?itemName=ChakrounAnas.turbo-console-log
Opt(Alt) + L
Adding custom filter step by step
Create new directory (if you don't have it) - /Library/Filters
Add there new filter file with unique filter - f.e. Reduce Size with good quality.qfilter
The file should contain XML with new filter - you can base on the /System/Library/Filters/Reduce File Size.qfilter file or use my below example. Change compression setting, image size and add unique display name for your filter.
Filter file structure/example
I marked key settings by comments.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Jira Enterprise:
https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/myself-getUser
https://wiki.cerner.com/display/public/ipfactory/JIRA+REST+APIs
https://jira2.cerner.com/rest/api/2/myself