openpgp4fpr:11FD4E775F8802ACD83B6DE5A2BC63FA0276FE65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # OTA updates for Onion. | |
| cmd=$1 | |
| sysdir=/mnt/SDCARD/.tmp_update | |
| # Colors | |
| RED='\033[1;31m' | |
| GREEN='\033[1;32m' | |
| YELLOW='\033[1;33m' | |
| BLUE='\033[1;34m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| MUPDF_SRC="https://casper.mupdf.com/downloads/archive/mupdf-1.26.3-source.tar.gz" | |
| PLUGIN_REPO="https://github.com/pwmt/zathura-pdf-mupdf" | |
| PLUGIN_BRANCH="develop" | |
| function color() { | |
| if [ "$#" -ne 2 ] ; then | |
| echo "[ERROR] color <color-name> <text> expected two arguments, but got $#" >&2 | |
| return 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import jobs from './jobs/jobs'; | |
| import cron from 'node-cron'; | |
| /** | |
| * CronDispatcher allows for handling multiple cron jobs at once. | |
| */ | |
| export default class CronDispatcher { | |
| /** | |
| * Manager for cron tasks, starts all jobs if isTest is false. | |
| * |
I hereby claim:
- I am SeraphimRP on github.
- I am s_rp (https://keybase.io/s_rp) on keybase.
- I have a public key whose fingerprint is 2BBA 067C 49F6 2C1D B4A9 E175 2627 9A48 C27D 2A43
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import asyncio # noqa: F401 | |
| import datetime | |
| import discord | |
| from redbot.core import commands, checks, Config | |
| class SuggestionBox(commands.Cog): | |
| """custom cog for a configurable suggestion box""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def binary_search(array, target): | |
| beginning = 0 | |
| end = len(array) | |
| searches = 1 | |
| while beginning < end: | |
| m = beginning + (end - beginning) // 2 | |
| val = array[m] | |
| if target == val: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| def binary_search(array, target): | |
| beginning = 0 | |
| end = len(array) | |
| searches = 1 | |
| while beginning < end: | |
| m = beginning + (end - beginning) // 2 | |
| val = array[m] |
I hereby claim:
- I am vypr on github.
- I am vypr (https://keybase.io/vypr) on keybase.
- I have a public key whose fingerprint is D3F5 E498 41C7 7B70 576C F54D B330 51CA 8089 24DF
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 04de079fe405208d1916a513cf1c95901d8b80b748dc755900e4d8b818cdc072f1600964ca52aa1b8d8589f44ae5b275dd3b1b8744314d86a4f46207e003625a18 |
NewerOlder