Skip to content

Instantly share code, notes, and snippets.

@realenjoyer
realenjoyer / WL.csv
Created April 23, 2024 10:28
Here you can find a list of 15000 top $ENJOY holders (Snapshot Taken at 2024-04-22T00:00:00Z)
We can't make this file beautiful and searchable because it's too large.
Address,Balance
0xb6b701878a1f80197df2c209d0bdd292ea73164d,6.732254577217902e+10
0xe6d15aef7fa74241dfdc83a79814be99ccd9d8c8,8.690907205403254e+09
0x3a3f615b05aad54d8a7af1d1b20854f0513278da,3.396818521577127e+09
0x40c0e36e6921b1bef210503448f2acee5192d81d,3.6754405100132924e+08
0x430f09841d65beb3f27765503d0f850b8bce7713,3.630043999702476e+08
0x8106928e60bfe96a1c86cd17afb8a867e5e0d0a9,3.2483606499927497e+08
0xa9fb3e29b7f789faf8e2656bfc7f9bff2ed766e9,3.1927183420359284e+08
0x5b8ce4b3e7a74befbbad1954f9a2f1c1257ea84a,3.0162127859761006e+08
0xa30e4c545bbdc568a9491e7e339268ae0626464b,2.9114270578000003e+08
@codecitizen
codecitizen / serverless.yml
Created November 22, 2018 20:42
A serverless.yml file configuring a AWS ElastiCache redis instance that is accessible by all AWS Lambda functions deployed by this serverless function.
service: my-service
provider:
name: aws
runtime: nodejs8.10
stage: ${opt:stage, 'dev'}
environment:
REDIS_HOST:
"Fn::GetAtt": [ElasticCacheCluster, RedisEndpoint.Address]
functions:
@thousandlemons
thousandlemons / how-to-connect-django-to-remote-mysql.md
Created November 1, 2016 09:06
How to Connect Django to Remote MySQL

How to Connect Django to Remote MySQL

==[ONLY for Ubuntu]== Install libmysqlclient-dev

$ sudo apt-get install libmysqlclient-dev

Install mysqlclient.

@7645re
7645re / JetBrainsActivation.md
Last active May 8, 2024 12:23
JetBrains Activation MacOS/Windows

1. Proxifier method

Right now, the easiest way to activate JetBrains products is to use redirection of all requests from the application to localhost, but then nothing will work for you, neither pull/push git nor other plugins that use Internet access.

There is a better way, we will forward requests only to those that will go to the address account.jetbrains.com. This can be done without using the program, but it seems to me the easiest way to do it is through Proxifier. This program is available for both Windows and macOS.

@v1mkss
v1mkss / JetBrains Activation.md
Last active May 8, 2024 12:23
JetBrains Activation

Choose any IDE from Jetbrains, then the activation window opens, go to the “Proxy Settings” and paste the following:

  • Manual proxy configuration http:
    • Hostname: localhost
    • port: 80
  • No proxy for:
*.apache.org, *.github.com, *.github.io, *.githubusercontent.com, *.gitlab.com, *.google.com, *.gradle.org, *.jetbrains.space, *.maven.org, cache-redirector.jetbrains.com, cloudconfig.jetbrains.com, download-cdn.jetbrains.com, download.jetbrains.com, downloads.marketplace.jetbrains.com, ea-report.jetbrains.com, github.com, gitlab.com, google.com, gradle.org, jcenter.bintray.com, plugins.jetbrains.com, resources.jetbrains.com, www.jetbrains.com

Activation Key:

@xfournet
xfournet / pluginHttp2Proxy.ts
Last active May 8, 2024 12:23
Vite support for HTTP2 and proxy
import proxy from 'http2-proxy';
import type { Plugin, ProxyOptions } from 'vite';
export const pluginHttp2Proxy = (): Plugin => {
let routes: Record<string, string | ProxyOptions>;
return {
name: 'vite-plugin-http2-proxy',
config: (config) => {
const { server } = config;
routes = server?.proxy ?? {};
@alexstandiford
alexstandiford / tailwind.config.js
Created August 27, 2021 17:54
WordPress theme.json that extends Tailwind CSS configs
const fs = require( 'fs' )
const themeJson = fs.readFileSync( './theme.json' )
const theme = JSON.parse( themeJson )
const colors = theme.settings.color.palette.reduce( ( acc, item ) => {
const [color, number] = item.slug.split( '-' )
// If there is a number identifier, make this an object
if(undefined !== number) {
SteamVR System Report created Thu Aug 24 23:22:17 2017
<Report>
SteamVR Version: 1499136050
SteamVR Date: 2017-07-04
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
OS: Windows 10
@alfchee
alfchee / git-prune.bash
Created May 3, 2021 16:43
Delete all merged branches in remote, excluding branches `dev` and `main`.
git branch --merged | egrep -v "(^\*|main|dev)" | xargs git branch -d