Skip to content

Instantly share code, notes, and snippets.

View CanYouJustWorkPlease's full-sized avatar

CanYouJustWorkPlease

View GitHub Profile
@catalinmiron
catalinmiron / spotify-waveform.js
Created April 21, 2022 20:02 — forked from leemartin/spotify-waveform.js
Spotify Waveform Data Generation from Audio Analysis API
const fs = require('fs')
const data = require('./track.json')
let duration = data.track.duration
let segments = data.segments.map(segment => {
return {
start: segment.start / duration,
duration: segment.duration / duration,
loudness: 1 - (Math.min(Math.max(segment.loudness_max, -35), 0) / -35)
@luetage
luetage / intercept-shortcuts.user.js
Last active March 5, 2025 17:56
Stops websites from hijacking keyboard shortcuts.
// ==UserScript==
// @name Intercept Shortcuts
// @namespace https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb
// @updateURL https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb/raw
// @supportURL https://forum.vivaldi.net/post/459981
// @description Stops websites from hijacking keyboard shortcuts.
// @version 2022.9.0
// @author luetage
// @match *://*/*
// @run-at document-start
@Jeremie-Chauvel
Jeremie-Chauvel / Dark mode toggle bookmarklet.md
Created November 23, 2020 23:14
Dark mode toggle bookmarklet

Dark mode toggle bookmarklet

To use this simply create a new bookmark and copy past the code in the url field. Then you only need to click on the bookmark to execute the script.

javascript: (function () {
  if (document.children[0].style['filter']) {
    document.children[0].style['filter'] = ''
  } else {
    document.children[0].style['filter'] = 'invert(100%) hue-rotate(180deg)'
 }
@txoof
txoof / Setup.md
Last active July 16, 2025 11:55
Setup Termux on Android

Termux & Macrodroid Setup on Android

Setup termux for ssh, scripts, tasker/macrodroid integration

Install:

Note If secure Google accounts are active on the device, it is not possible to install apps from Fdroid Store

Install The following from the Fdroid Store:

  • Termux
  • Termux:API
  • Termux:Widget
@erajanraja24
erajanraja24 / Upload file from URL to Google drive
Created April 24, 2020 10:47
Upload file from URL to Google drive
function uploadFiles(url) {
var response = UrlFetchApp.fetch(url)
var fileName = getFilenameFromURL(url)
var folder = DriveApp.getFolderById('1IxMiswEfi67ovoBf8ZH1RV7qVPx1Ks6l');
var blob = response.getBlob();
var file = folder.createFile(blob)
file.setName(fileName)
file.setDescription("Download from the " + url)
return file.getUrl();
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active November 28, 2025 21:19
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@rjeczalik
rjeczalik / how-to-find-forks-of-deleted-repo.md
Created August 26, 2019 16:39
How to find forks of a deleted repository?
@imba-tjd
imba-tjd / .Cloud.md
Last active December 2, 2025 14:34
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.

其他人的集合

@sundowndev
sundowndev / GoogleDorking.md
Last active December 2, 2025 19:05
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@Log1x
Log1x / debloatNox.md
Last active October 29, 2025 17:01
Debloating & Optimizing Nox

Debloating Nox

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

  1. Download and Install a fresh copy of Nox. The latest version is fine (for now). If you already have it installed, that is fine too. No need to reinstall.

  2. Enable Root Mode on Nox by clicking the gear icon and then checking the Root Startup box.

  3. Install a new Launcher from the Play Store. ANYTHING but Nox's default. I suggest [Nova Launcher](https://play.google.com/s