I hereby claim:
- I am w00kie on github.
- I am frejete (https://keybase.io/frejete) on keybase.
- I have a public key whose fingerprint is E202 76C0 F466 44EC 7D95 7D2A 8EF7 523D 0CB9 BFA4
To claim this, I am signing this object:
import { z } from 'zod'; | |
import { ZipWriter, BlobReader, configure } from '@zip.js/zip.js'; | |
// Without this, we get uncaught error due to Workers runtime bug | |
// See: https://github.com/gildas-lormeau/zip.js/discussions/514 | |
configure({ | |
useCompressionStream: false, | |
}); | |
// Payload schema that lists the files to be bundled, their filenames and the archive filename |
# Workflow to deploy Vite apps to Github Pages with Bun | |
name: Deploy static content to Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ['main'] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: |
I hereby claim:
To claim this, I am signing this object:
mkvmerge -o output.mkv input.mkv subs.srt | |
mkvmerge -o output.mkv input.mkv --language 0:ger --track-name 0:German subs.srt |
Python 2.7.6 (default, Mar 22 2014, 22:59:56) | |
[GCC 4.8.2] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import requests | |
>>> requests.get('https://paymium.com/api/v1/data/eur/ticker') | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/home/vagrant/.virtualenvs/btcfxrate/local/lib/python2.7/site-packages/requests/api.py", line 59, in get | |
return request('get', url, **kwargs) | |
File "/home/vagrant/.virtualenvs/btcfxrate/local/lib/python2.7/site-packages/requests/api.py", line 48, in request |
<?php | |
/** | |
* WP Redix Index | |
* | |
* Redis caching system for WordPress. Inspired by Jim Westergren. | |
* | |
* @author Jeedo Aquino | |
* @see http://www.jeedo.net/lightning-fast-wordpress-with-nginx-redis/ | |
* @see http://www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/ | |
*/ |
# Use Piping Streams to copy files | |
copyFile = (source, target) -> | |
deffered = Q.defer() | |
muffin.mkdir_p path.dirname(target), 0o755, (err) -> | |
return done(err) if err | |
# Start Read Stream | |
rd = fs.createReadStream source | |
rd.on 'error', (err) -> | |
done err |
# Some stupid code that will issue an error | |
foo = 2 | |
derp = foo*2 + bar | |
console.debug "Should have been an error right there." |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import re | |
def kana_to_romaji(text): | |
dict={ | |
u'きゃ':'kya',u'きゅ':'kyu',u'きょ':'kyo', | |
u'しゃ':'sha',u'しゅ':'shu',u'しょ':'sho', |
#!/bin/bash | |
# License: Public Domain. | |
# Author: Joseph Wecker, 2012 | |
# | |
# -- DEPRICATED -- | |
# This gist is slow and is missing .bashrc_once | |
# Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch | |
# (Thanks gioele) | |
# | |
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile? |