
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Postrocktu.es is a fantastic site for getting inspiration for new postrock artists and tracks.
I use it every tuesday(when new tracks are released) so I build this gem to get Spotify links from the tracks. Oh how awesome! Do you know what's even more awesome?! Creating a gorgeous Postrock playlist out of this, oh yeah
Add this line to your application's Gemfile:
gem 'postrocktues'
And then execute:
$ bundle
Or install it yourself as:
$ gem install postrocktues
First of all, you need a Spotify premium account, if you don't have one pay up and get one! You'll thank me later!!
app_key.key
file in the root of this projectconfig.yml
file,
there is an example provided.require 'postrocktues'
feed = Postrocktues::Feed.new
tracks = feed.tracks
# This step unfortunatly takes a while..
# since it has to search for all of the tracks
track = tracks.last
track.name
#=> "Your Hand In Mine"
track.artist
#=> "Explosions in the Sky"
track.uri
#=> "spotify:track:2kZVhrdxG7BEIsyrTJYdq9"
track.url
#=> "http://open.spotify.com/track/2kZVhrdxG7BEIsyrTJYdq9"
Here's how you would create a playlist out of the tracks!
playlist = Postrocktues::Playlist.new
playlist.add tracks # tracks comes from the previous example
playlist.upload # uploads it to Spotify
Then just pop open Spotify and enjoy some glorious Postrock.
Sadly, the whole creating tracks process is a bit slow. It currently takes ~30 seconds to load up all of the tracks. Since I first have to:
It is a bit slow, but it's manageable! It will get faster, as soon as I figure out how..
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that postrocktues demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.