Skip to content

Instantly share code, notes, and snippets.

View franz101's full-sized avatar
🎯
Focusing

franz101 franz101

🎯
Focusing
View GitHub Profile
text label
0 im feeling rather rotten so im not very ambitious right now sadness
1 im updating my blog because i feel shitty sadness
2 i never make her separate from me because i don t ever want her to feel like i m ashamed with her sadness
3 i left with my bouquet of red and yellow tulips under my arm feeling slightly more optimistic than when i arrived joy
4 i was feeling a little vain when i did this one sadness
5 i cant walk into a shop anywhere where i do not feel uncomfortable fear
6 i felt anger when at the end of a telephone call anger
7 i explain why i clung to a relationship with a boy who was in many ways immature and uncommitted despite the excitement i should have been feeling for getting accepted into the masters program at the university of virginia joy
8 i like to have the same breathless feeling as a reader eager to see what will happen next joy
text
im feeling rather rotten so im not very ambitious right now
im updating my blog because i feel shitty
i never make her separate from me because i don t ever want her to feel like i m ashamed with her
i left with my bouquet of red and yellow tulips under my arm feeling slightly more optimistic than when i arrived
i was feeling a little vain when i did this one
i cant walk into a shop anywhere where i do not feel uncomfortable
i felt anger when at the end of a telephone call
i explain why i clung to a relationship with a boy who was in many ways immature and uncommitted despite the excitement i should have been feeling for getting accepted into the masters program at the university of virginia
i like to have the same breathless feeling as a reader eager to see what will happen next
console.log("INJECTED")
console.log("window.__wired__")
console.log(window.__wired__)
@franz101
franz101 / get_idm_ethereum.SQL
Created April 7, 2022 12:59
Query Ascii text on ethereum
SELECT * FROM `bigquery-public-data.crypto_ethereum.transactions` WHERE DATE(block_timestamp) > "2021-06-01" AND
(input LIKE '%68747470733a2f2f%' OR input LIKE '%2074686520%' OR input LIKE '%20616e6420%') AND input NOT LIKE '%000%'
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.5.0/contracts/token/ERC20/ERC20.sol";
contract NivCoin is ERC20 {
constructor(string memory name, string memory symbol, uint256 amount ) ERC20(name, symbol) {
// Mint 100 tokens to msg.sender
// Similar to how
// 1 dollar = 100 cents
@franz101
franz101 / hello_world.py
Last active October 18, 2021 06:09
Hello World
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "0a601a93-a986-43e1-9631-e944ba5a7013",
"metadata": {},
"outputs": [
{
"ename": "NameError",
@franz101
franz101 / run.sh
Created April 30, 2020 23:03
EC2 NVIDIA DOCKER-SETUP
echo "START"
@franz101
franz101 / docker_setup.sh
Created April 7, 2020 19:07
Docker Setup and cheat sheets
# Launch an EC2 Instance:
# https://eu-central-1.console.aws.amazon.com/ec2/v2/home?region=eu-central-1
# SSH into your instance
# Locate docker installation. For example on CentOS:
# https://docs.docker.com/engine/install/centos/
# Examples
# https://github.com/PacktPublishing/Docker-Fundamentals/
# Useful commands:
# docker ps
# -> Cheat sheets:
@franz101
franz101 / machine.js
Created March 2, 2020 12:47
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@franz101
franz101 / machine.js
Last active February 26, 2020 14:44
Generated by XState Viz: https://xstate.js.org/viz
const orderMachine = Machine({
id: 'order',
initial: 'start',
context:
{},
states: {
start: {
on: {BUSINESS:'business.idle',
CONSUMER:'consumer.idle'