Skip to content

Instantly share code, notes, and snippets.

View Coqueiro's full-sized avatar
:octocat:
Coding with purpose

Lucas Garcia Coqueiro

:octocat:
Coding with purpose
View GitHub Profile
@shiftgeist
shiftgeist / add-likes-to-playlist.js
Last active June 11, 2025 14:35
Soundcloud: Add all liked songs to playlist
// 1. Start on https://soundcloud.com/you/likes
// 2. Scroll all the way to the bottom (may only add 300 items at a time because of soundcloud api)
// (playlists are limited to 500 songs)
playlistName = 'Likes' // <== your playlist
list = Array.from(document.querySelectorAll('.badgeList__item .sc-button-more'))
console.log('Found', list.length, 'liked songs')
@FreddieOliveira
FreddieOliveira / docker.md
Last active July 12, 2025 19:06
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@BigSully
BigSully / DNS over TLS for unbound
Last active October 1, 2024 10:20
DNS over TLS configuration for unbound, including Google DNS, Cloudflare DNS and Quad9 DNS
server:
logfile: ""
# verbosity: 2
username: "nobody"
interface: 0.0.0.0
access-control: 0.0.0.0/0 allow
prefetch: yes
# include: "/opt/unbound/local.conf"
# include: "/opt/unbound/customize.conf"
@juniorcesarabreu
juniorcesarabreu / How to Install Older version of Chrome Extensions.md
Last active July 14, 2025 14:56
How to Install Older version of Chrome Extensions
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active July 14, 2025 06:05
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nobitagit
nobitagit / iterm2.md
Last active July 30, 2024 01:01
iterm2 cheatsheet

This gist has been moved to its own Github repo, so it's easier to contribute with additions and corrections. Please open a PR there if you see any mistake, I don't track comments on here as there's no notification system for gists AFAIK. Thanks.

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
[alias]
ci = commit
br = branch
co = checkout
df = diff -b
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an, %cr)%Creset' --abbrev-commit --date=relative
rclone = clone --reference /git/cache.git/
ph = push origin HEAD
last = cat-file commit HEAD
@hugoboos
hugoboos / trakt-remove-history.js
Created February 14, 2015 12:14
Remove history from Trakt
// Run in console on the history page (http://trakt.tv/users/<username>/history)
// Will remove all the items, on that page, from the watched history.
$(".posters .grid-item").each(function(){
var $this = $(this);
historyRemove($this, $this.data("history-id"));
})
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 14, 2025 16:18
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k