Skip to content

Instantly share code, notes, and snippets.

View mntmn's full-sized avatar

minute mntmn

View GitHub Profile
const IOTA = require('./iota.lib.js/lib/iota.js')
const ccurlProvider = require('../iotaproxy/lib/ccurlprovider.js');
var iota = new IOTA({
'host': 'http://iota.bitfinex.com',
'port': 80
})
const seed='YOURSECRETSEED'
const IOTA = require('./iota.lib.js/lib/iota.js')
//const ccurlProvider = require('../iotaproxy/lib/ccurlprovider.js');
// Create IOTA instance with host and port as provider
var iota = new IOTA({
//'host': 'http://node.lukaseder.de',
//'port': 14265
'host': 'http://iota.bitfinex.com',
'port': 80
})
@mntmn
mntmn / fbactivityclean.js
Created August 7, 2017 08:30
Hacky script for bulk deleting FB timeline activities (posts)
// use on the page https://www.facebook.com/YOUR_USER_NAME/allactivity?privacy_source=activity_log&log_filter=cluster_11
// scroll down to as many posts you want to delete (make pencil icons visible)
// recommended to delete small batches as the process gets really slow for many deletes in parallel (UI issues)
// we do stuff in parallel because a single delete can take up to 7 seconds
// to launch, call deletePost()
var knownPencils={};
function deletePost() {
var pencils=document.querySelectorAll('[data-testid="pencil_icon_link"]');
var pencilFound=false;
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 21:49:19 03/22/2016
// Design Name:
// Module Name: z2
// Project Name:
// Target Devices:
@mntmn
mntmn / vga_zorro_lowest_noise.v
Created February 11, 2016 22:04
vga_zorro_lowest_noise
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: MNT Media & Technology UG
// Engineer: Lukas F. Hartmann
//
// Create Date: 01:44:12 05/03/2015
// Design Name:
// Module Name: vga
// Project Name:
// Target Devices:
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: MNT Media & Technology UG
// Engineer: Lukas F. Hartmann
//
// Create Date: 01:44:12 05/03/2015
// Design Name:
// Module Name: vga
// Project Name:
// Target Devices:
@mntmn
mntmn / vga.v
Created January 27, 2016 08:48
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: MNT Media & Technology UG
// Engineer: Lukas F. Hartmann
//
// Create Date: 01:44:12 05/03/2015
// Design Name:
// Module Name: vga
// Project Name:
// Target Devices:
(def ofs 0)
(def sofs 0)
(def x 0)
(def y 0)
(def x1 0)
(def x2 0)
(def x3 0)
(def y1 0)
(def y2 0)
(def sy 0)
irata:home-lisp mntmn$ ./a.out
plus: (+.<tag:3>)
globals: ((foo.123).((+.<tag:3>).nil))
evaluating t1: (+.(42.(23.nil)))
lookup expr: +
in env : ((foo.123).((+.<tag:3>).nil))
found lambda for +:
<tag:3>
@ dumps memory. r1: address
print_memory:
push {r0-r6}
ldr r6, =uart0
ldr r6, [r6]
mov r5, r1 @ store memory begin address
mov r1, #'\n'
strb r1, [r6]