Skip to content

Instantly share code, notes, and snippets.

mntmn mntmn

View GitHub Profile
View mntmn_igalia_chromium_patches1.txt
mntmn's igalia chromium for wayland patches to work around 2 startup crashes.
platform:
- Linux irata-debian 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1 (2018-02-18) x86_64 GNU/Linux
- vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz
View ledgui.tcl
set s1r 0
set s1g 0
set s1b 0
proc updateStrip {} {
global s1r s1g s1b
puts "$s1r $s1g $s1b"
exec nc -u 192.168.7.2 3333 -c "echo 3/1/$s1r/$s1g/$s1b"
exec nc -u 192.168.7.2 3333 -c "echo 2/1/$s1r/$s1g/$s1b"
}
View sendmsg.js
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'
View findmessages.js
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 Aug 7, 2017
Hacky script for bulk deleting FB timeline activities (posts)
View fbactivityclean.js
// 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;
View vga_zorro_sdram_first_working.v
`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 Feb 11, 2016
vga_zorro_lowest_noise
View vga_zorro_lowest_noise.v
`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:
View vga_zorro_first_working.v
`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:
View vga.v
`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:
View blittest.txt
(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)
You can’t perform that action at this time.