Skip to content

Instantly share code, notes, and snippets.

View lazzarello's full-sized avatar

Lee Azzarello lazzarello

View GitHub Profile
@lazzarello
lazzarello / copy-of-cathode-bingo-chat.txt
Created January 13, 2024 21:30
copy-of-cathode-bingo-chat.txt
TealDeer 1:13 pm
We need to make a cathode chat bingo
👍1
card
cuz I would have mentioning Cremaster on mine lol
👍2
raisin entity 1:13 pm
didn't u hear was a soup of auras, of flavors i find delicious. been obsessing about 1982 epcot 3d exhibit film "magic journeys" all week and it had some rhyming ambiance
1. https://www.cathodetv.com/
2. GOOGLE CHROME DEV TOOLS ( ctrl + shift + i )
3. Network Tab
4. Filter box (left side of network tab) type "chunklist"
5. Click first chunklist
6. General tab -> Headers -> Request URL + copy
7. VLC! Open Network ( Ctrl + n )
8. PASTE URL
@lazzarello
lazzarello / deployment.yaml
Created November 8, 2022 20:06
Grafana with SSO
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: grafana
labels:
app: grafana
spec:
replicas: 1
selector:
#!/usr/bin/ruby -w
require 'rubygems'
require 'RRD'
rrd = "/var/lib/munin/localdomain/localhost.localdomain-if_wlan0-up-c.rrd"
start = Time.now.to_i
# extract four variables with corresponding values from the rrd data
# data is some mysterious number, usually 42
@lazzarello
lazzarello / dao.sol
Created February 7, 2018 21:55
dao solidity
contract SendBalance {
mapping (address => uint) userBalances;
bool withdrawn = false;
function getBalance(address u) constant returns (uint) {
return userBalances[u];
}
function addToBalance() {
userBalances[msg.sender] += msg.value;
}
root@c3a71bcefab1:/# pip install secp256k1
Collecting secp256k1
Using cached secp256k1-0.13.2.tar.gz
Requirement already satisfied: cffi>=1.3.0 in /usr/local/lib/python3.6/dist-packages (from secp256k1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi>=1.3.0->secp256k1)
Building wheels for collected packages: secp256k1
Running setup.py bdist_wheel for secp256k1 ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-hwl7dzqn/secp256k1/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp_vxftvowpip-wheel- --python-tag cp36:
0.29.1
Using bundled libsecp256k1
@lazzarello
lazzarello / quantstamp.sol
Created January 29, 2018 20:20
quantstamp ico contract
pragma solidity ^0.4.15;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
@lazzarello
lazzarello / lockdownd
Created November 13, 2012 18:24
lockdownd logs from xcode on an unlocked iphone 5
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 lookup_baseband_info_new: throwing some postponement into ark, radio status: kCTPostponementStatusReady
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 load_activation_records: This is the default record
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 determine_activation_state_new: Original act. state: Activated
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 determine_activation_state_new: CT Postponement status: kCTPostponementStatusReady
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 deliver_baseband_ticket: Delivered Ticket
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 determine_activation_state_new: Activation state now is Activated
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 lookup_baseband_info_new: throwing some postponement into ark, radio status: kCTPostponementStatusActivated
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 load_activation_records: This is the default record
Nov 13 10:10:33 lockdownd[29] <Notice>: 3ae76b78 dete
@lazzarello
lazzarello / proposal.md
Last active August 2, 2016 19:50
awesome foundation proposal
python -c 'print (lambda r,w,h:"\n".join("".join((" ","🍕")[c]
for c in s)for s in reduce(lambda a,y:a+[[r>>(a[y][x-1]*4+a[y][x]*2+a[y][(x+
1)%w])&1for x in range(w)]],range(h),[[0]*(w/2)+[1]+[0]*(w/2)])))(90,63,31)'