Skip to content

Instantly share code, notes, and snippets.

View levitation's full-sized avatar
💭
I may be slow to respond.

Roland Pihlakas levitation

💭
I may be slow to respond.
View GitHub Profile
IE 6 and 7: 2
IE 8: 6
IE 9: 6
IE 10: 8
IE 11: 8
Firefox 2: 2
Firefox 3: 6
Firefox 4 to 17: 6
Opera 9.63: 4
Opera 10: 8
@levitation
levitation / hosts.md
Created January 13, 2016 00:08 — forked from RustingSword/hosts.md
Hosts for Google Services

via http://shen0956.com/?p=1523

173.194.72.82 www.google.com.hk

74.125.31.189 mail.google.com
74.125.31.189 plus.google.com
74.125.31.189 adsense.google.com
74.125.31.189 analytics.google.com
74.125.31.189 drive.google.com

74.125.31.189 translate.google.cn

@levitation
levitation / record.php
Created November 17, 2015 05:53 — forked from xeoncross/record.php
Record audio from flash to MP3 using PHP
<?php
// https://code.google.com/p/wami-recorder/
# Save the audio to a URL-accessible directory for playback.
parse_str($_SERVER['QUERY_STRING'], $params);
$name = isset($params['name']) ? $params['name'] : 'output.wav';
$content = file_get_contents('php://input');
$fh = fopen($name, 'w') or die("can't open file");
fwrite($fh, $content);
fclose($fh);
@levitation
levitation / DllInjector.cs
Last active October 21, 2023 15:26 — forked from ultratrunks/DllInjector.cs
Clean class in C# used for DLL injection
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace DllInjector
{
public static class DllInjector
{