Skip to content

Instantly share code, notes, and snippets.

@g00fy-
g00fy- / tevm-example.ts
Last active November 4, 2024 13:11
tevm
import { createMemoryClient, walletActions } from 'tevm'
import { HttpTransportConfig, fallback, http, parseUnits } from 'viem';
import { mainnet } from 'viem/chains'
const options: HttpTransportConfig = {
timeout: 5000,
async onFetchRequest(request: Request) {
console.log(`Fetching ${request.url.toString()}`, await request.clone().text())
},
async onFetchResponse(response) {
@g00fy-
g00fy- / tinder-api-documentation.md
Created September 27, 2016 08:27 — forked from rtt/tinder-api-documentation.md
Tinder API Documentation

Tinder API documentation

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this

API Details

@g00fy-
g00fy- / tmux-cheatsheet.markdown
Created March 14, 2016 21:31 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@g00fy-
g00fy- / install-docker-compose.sh
Last active August 26, 2015 12:31 — forked from lmakarov/install-docker-compose.sh
Install docker-compose in boot2docker 1.7.0+
#!/bin.sh
DOCKER_COMPOSE_VERSION=1.3.0
# Download docker-compose to the permanent storage
echo 'Downloading docker-compose to the permanent VM storage...'
sudo mkdir -p /var/lib/boot2docker/bin
sudo curl -sL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /var/lib/boot2docker/bin/docker-compose
sudo chmod +x /var/lib/boot2docker/bin/docker-compose
sudo ln -sf /var/lib/boot2docker/bin/docker-compose /usr/local/bin/docker-compose
#
# KMS Client Setup Keys: http://technet.microsoft.com/en-us/library/jj612867.aspx
#
####################################################################
# Windows 8.1 Enterprise Evaluation ISO:
# @url: http://go.microsoft.com/fwlink/?LinkId=302161
####################################################################
@g00fy-
g00fy- / angular-template-url-opt
Created September 26, 2014 13:50
Perf - compile
if(directive.templateUrl){
var tmplUrl = (isFunction(directive.templateUrl))
? directive.templateUrl($compileNode, templateAttrs)
: directive.templateUrl
var template = $templateCache.get(tmplUrl);
if(template){
directive = extend({},{templateUrl:null,template:template})
}
}
@g00fy-
g00fy- / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
@g00fy-
g00fy- / .gitignore
Last active August 29, 2015 14:06 — forked from GerHobbelt/.gitignore
# Editor backup files
*.bak
*~

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPad

Consumer key: CjulERsDeqhhjSme66ECg