Skip to content

Instantly share code, notes, and snippets.

View TheNicholasNick's full-sized avatar

Nicholas Nick TheNicholasNick

View GitHub Profile
@TheNicholasNick
TheNicholasNick / gist:3793124
Created September 27, 2012 09:34
Word2010 does not do shapes well
http://db.tt/mfwILmJB Here is a word 2007 docx file with lots of shapes and when opened in Word2007 or W2010 it is fine, computer responds able to edit shapes, move them around, change the numbers, example 27 to 207 quickly and eaisly
http://db.tt/tbzc6qSE Here is the same file in 2010 docx format and doing anything in the document with the file takes a lot longer than with the 2007docx file.
So in order to be helpful, MS need to update Word 2010 to deal with a lot of shapes in a document.
(I actually created this document in Word 2010 x32 and spent hours and hours doing the listening section (the numbers were only 1-10 in each column) then went to the pc that prints and it only has word2007 and i saved it as a word 2007 file and created the reading section and renumbered both sections from 11-200 in about 30mins. Word2010 is broken or under performing...)
Even if you open the W2007 file in W2010 and click convert the winword.exe process ramps up to 100% core use and stays there for a while, eventually fi
@TheNicholasNick
TheNicholasNick / _readme.txt
Created August 4, 2011 11:57
Simple Chrome extension to change the size of the YouTube video to 720p or 1080p. Mostly useful when you run 2560x1600 can watch vids at 1:1 resolution in a window :)
Example: http://yfrog.com/z/h2jk0bp
1. create a directory
2. put these two files in it and this image http://media.photobucket.com/image/youtube%20icon/librarysupporter/mlxperience/youtube-icon.png
3. open Chrome
4. tools > extensions
6. expand developer mode
7. load unpacked extension...
8. select directory with these two files in it
9. open a video
alpine:~# date
Thu Jul 7 01:51:53 UTC 2011
alpine:~# apk update
fetch http://dl-3.alpinelinux.org/alpine/v1.10/packages/main/APKINDEX.tar.gz
alpine 1.10.6 [/media/cdrom/apks]
main v1.10.6-79-g8595545 [http://dl-3.alpinelinux.org/alpine/v1.10/packages/main]
@TheNicholasNick
TheNicholasNick / gist:1040044
Created June 22, 2011 13:04 — forked from kennethkalmer/gist:278814
node.js SMTP Server
/*
smtpd.js is SMTP server written for node.js
this one works with node 0.4.8 and is standalone
sudo node smtpd.js
MIT License
*/
@TheNicholasNick
TheNicholasNick / 1. node output
Created June 21, 2011 16:53
IE8 chat app don't work - socket.io 0.7
info - handshake authorized
info - handshaken 4e2b6f6413b1ddd603a4e8843fe7bb97
debug - served static /static/flashsocket/WebSocketMain.swf
debug - setting request GET /socket.io/1/flashsocket/4e2b6f6413b1ddd603a4e8843fe7bb97
debug - publishing that 4e2b6f6413b1ddd603a4e8843fe7bb97 connected
debug - initializing client store for 4e2b6f6413b1ddd603a4e8843fe7bb97
debug - set heartbeat interval for client 4e2b6f6413b1ddd603a4e8843fe7bb97
debug - subscribing 4e2b6f6413b1ddd603a4e8843fe7bb97
/**
* Module dependencies.
*/
var express = require("express");
var app = module.exports = express.createServer();
// Configuration
@TheNicholasNick
TheNicholasNick / ishikawa_sha1.js
Created November 25, 2010 01:19
Takanori Ishikawa's JavaScript implementation of the Secure Hash Algorithm 1 (SHA1)
/*
* The JavaScript implementation of the Secure Hash Algorithm 1
*
* Copyright (c) 2008 Takanori Ishikawa <[email protected]>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
# all requests put "make" on the stdout
QwSiteGenerator.controllers :base do
get :make, :map => "/:prefix/:make.:format" do
p "make"
render "themes/#{@site_config.theme}/make"
end
get :year, :map => "/:prefix/:make-:year.:format" do
p "year"
alpine:~# rc-update show
mini_httpd | default
sshd | default
acpid | default
syslog | boot
cron | default
mdev | sysinit
modules | boot
sysctl | boot
hwclock | boot
Session Start: Fri May 07 09:07:16 2010
Session Ident: #padrino
03[09:07] * Now talking in #padrino
03[09:07] * Topic is '0.9.10 Released! http://bit.ly/blbRXF | Padrino : http://bit.ly/a7cJg8 | GitHub: http://bit.ly/daUL8z | Google Groups: http://bit.ly/c80Bim'
03[09:07] * Set by [email protected] on Fri Apr 23 04:23:14
03[09:07] * danishkhan ([email protected]) has joined #padrino
02[09:10] * neaf ([email protected]) Quit (Quit: neaf)
03[09:10] * zenom__ (~aj1973@unaffiliated/aj1973) has joined #padrino
02[09:11] * zenom_ (~aj1973@unaffiliated/aj1973) Quit (Ping timeout: 252 seconds)
03[09:11] * onethirtyfive ([email protected]) has joined #padrino