Skip to content

Instantly share code, notes, and snippets.

View Grossdm's full-sized avatar
🇺🇸
How should I know?

grossdm Grossdm

🇺🇸
How should I know?
  • Milky Way, Earth, Above Sea Level
View GitHub Profile
@Grossdm
Grossdm / mega.js
Created September 8, 2018 22:25 — forked from LI-NA/mega.js
MEGA Chrome extension was HACKED. Please remove it NOW!
// This is Chrome Mega extension script that hacked!!!
// Version is 3.39.4_0.
// You can check it from your comptuer too.
// %AppData%\Local\Google\Chrome\User Data\Default\Extensions\bigefpfhnfcobdlfbedofhhaibnlghod\3.39.4_0
// Original mega.js is here. https://github.com/meganz/chrome-extension/blob/master/mega.js
function getParameterByName(name, data) {
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), results = regex.exec(data);
if (!results) return '';
@Grossdm
Grossdm / swype.cpp
Created April 26, 2018 01:33 — forked from krisys/swype.cpp
Swype implementation in C++
/*
The MIT License (MIT)
Copyright (c) 2013 Krishna Bharadwaj <krishna@krishnabharadwaj.info>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is