Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.
For instance if your usage resets at 3pm
./resume_claude.sh "15:00"
Resume claude after running out of usage limit. For Macos, it uses the automation scripts to resume usage.
For instance if your usage resets at 3pm
./resume_claude.sh "15:00"
| // ==UserScript== | |
| // @name Disable merge options on Github branches | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Avoid accidentally using the wrong merge option for specific branches. THIS SCRIPT NEEDS TO BE TWEAKED FOR YOUR PERSONAL NEEDS(more precisely "@match" column and "disabledBranchesByMethod"). | |
| // @author Ivan Degtiarenko | |
| // @match https://github.com/<YOUR_ORGANIZATION>/<YOUR_REPOSITORY>/pull/* | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
| // @grant none | |
| // @run-at document-start |
| :: | |
| :: Reclaims Windows disk space in a "destructive" manner (can't uninstall service packs and updates afterwards, etc.). | |
| :: Use at your own risk. Useful for Windows installations in space-constrained environments, such as a small Boot Camp | |
| :: partition on a Mac. | |
| :: | |
| :: [IMPORTANT] It is strongly suggested to make a full-disk backup of your Windows partition before running this script, | |
| :: as you can't roll back service packs and updates afterwards. | |
| :: | |
| :: [IMPORTANT] Run this script as admin (required to run `Dism.exe` among other things). | |
| :: |
| createStrippedAndDebugInfo() { | |
| cd ${REPO_PATH} # assuming we're in your repository's directory | |
| ANDROID_NDK=<PATH_TO_NDK> | |
| TMP_DIR_NAME=tmp_strip_symbols | |
| AAR=`find -name '*.aar'` # find the path to the AAR containing the binaries | |
| mkdir -p ${TMP_DIR_NAME} | |
| try cd ${TMP_DIR_NAME} |
| #!/usr/bin/env bash | |
| # Accept licenses | |
| ${ANDROID_HOME}/tools/bin/sdkmanager --licenses | |
| # Install dependencies | |
| ./gradlew androidDependencies || true |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
| /* | |
| * Copyright (C) 2017 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| package demo; | |
| import java.io.Serializable; | |
| import java.security.Principal; | |
| import java.util.Collection; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.UUID; |