Skip to content

Instantly share code, notes, and snippets.

Avatar

Mihai Tomescu matomesc

View GitHub Profile
@george
george / unofficial_emberjs_doc.md
Created Sep 10, 2012
Unofficial Ember.js Docs
View unofficial_emberjs_doc.md

Unofficial Ember.js Docs

This is an unofficial collection of resources for Ember.js. This is what worked for me. Hopefully you'll have a similar experience.

Get Help

Official Docs

@Peratryn
Peratryn / achievement.json
Last active Oct 24, 2018
WoW Community API Json Examples
View achievement.json
{
"accountWide": true,
"criteria": [
{
"description": "To Honor One's Elders",
"id": 7553,
"max": 1,
"orderIndex": 0
},
{
@milleniumbug
milleniumbug / getmus.ps1
Last active Oct 6, 2020
download video from YouTube, extract music and normalize volume
View getmus.ps1
param(
[string]$url
)
youtube-dl `
$url `
--quiet `
--extract-audio `
--audio-format mp3 `
--audio-quality 3 `
@adammw
adammw / client.js
Last active Jan 1, 2021
simple-peer / socket.io test
View client.js
var Peer = require('simple-peer');
var io = require('socket.io-client');
var debug = require('debug')('client');
var socket = io.connect();
var peers = {};
var useTrickle = true;
socket.on('connect', function() {
debug('Connected to signalling server, Peer ID: %s', socket.id);
});
@facultymatt
facultymatt / roles_invesitgation.md
Last active May 11, 2021
Roles and permissions system for Nodejs
View roles_invesitgation.md
@sshtmc
sshtmc / ubuntu-configure-sendmail-with-gmail
Created Oct 25, 2012
Ubuntu sendmail using smtp.gmail.com
View ubuntu-configure-sendmail-with-gmail
#!/bin/bash
HOST=$(hostname)
function install_postfix() {
echo | sudo debconf-set-selections <<__EOF
postfix postfix/root_address string
postfix postfix/rfc1035_violation boolean false
postfix postfix/mydomain_warning boolean
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
View rxjs_operators_by_example.md
@nickbudi
nickbudi / README.md
Last active Aug 29, 2021
Budi's Counter-Strike: Global Offensive config
View README.md

Budi's CS:GO Config

This is my constantly updated CS:GO autoexec config. Changelogs can be found under revisions here

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

View Exploiting Lua 5.1 on 32-bit Windows.md

Exploiting Lua 5.1 on 32-bit Windows

The following Lua program generates a Lua bytecode program called ignore-unsigned-sga.fnt, which in turn loads a DLL from within an extremely locked down Lua 5.1 sandbox in a program called RelicCOH2.exe. The remainder of this document attempts to explain how this program works by a whirlwind tour of relevent bits of the Lua 5.1 virtual machine.

if string.dump(function()end):sub(1, 12) ~= "\27Lua\81\0\1\4\4\4\8\0" then
  error("This generator requires a 32-bit version of Lua 5.1")
end

local function outer()
  local magic -- In bytecode, the stack slot corresponding to this local is changed