This is a bullshit slider!

There really isn't anything to see here.

What was on that first slide?

It doesn't matter!

You've come this far.

Thats the end.

Wednesday, January 13, 2016

[MAC] Free WiFi Hack at O'Hare Airport

Here's a trick to get free wifi at O'Hare if you don't mind reconnecting every 30 minutes. This method spoofs the ID (mac address) that the limited free wifi service uses to identify you as a user. By changing your ID every 30 minutes, it appears to the wifi that you're a new user, so you can continue to use the free wifi.

Use this trick *after* your first free session. Reuse as many times as needed.

Windows, Android, iPhone:
Follow the instructions here for spoofing your MAC address: https://collegetimes.co/change-mac-address/

Mac:

1. Open up Terminal

2. Copy and paste the following into Terminal:
ifconfig en0 | grep ether
3. You should see a bunch of letters and numbers like this: a0:af:8b:00:00:00. This is your current mac address. 

4. Copy and paste the following:
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//
5. This will generate the new ID for you to use. Now copy and paste the following:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z
6. Now update your ID by putting it in the command below:
sudo ifconfig en0 ether THE_GENERATED_CODE_FROM_STEP_4
7. Finally, run this command.
networksetup -detectnewhardware
8. Connect to the wifi network and open up your browser in Incognito mode. You can choose the free access again!


Source


Tuesday, January 5, 2016

How to fix CORS preflight issues in local grunt app w/ self-signed SSL cert

After many hours of headbanging, I finally succeeded in making xhr requests between my local webapp running via grunt serve and my secure ASP.NET ServiceStack application on a self-signed certificate.

I tried to use the chrome trick of --disable-web-security on a shortcut of chrome, and using the Allow-Control-Allow-Origin: * plugin, but still I was running into errors like

  • Response for preflight has invalid HTTP status code 404
  • The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed.
  • Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access. 
I failed in trying to add CORS support to the server (which was okay-- we only want to bypass it for local testing).

With all these methods failing, I looked at the next logical progression: adding a proxy to the gruntfile to talk to the server. So I got my hands on the latest version of grunt-connect-proxy, followed their instructions for setting up, but I was still receiving issues. My requests would timeout at the proxy with the following error: Proxy error: ECONNRESET.

I finally found some others with the same problem in one of grunt-connect-proxy's github issues. The solution was to downgrade the version of grunt-connect-proxy. Low and behold, it works! My apps are talking to each other!


TL;DR: 
2. Install grunt-connect-proxy 0.1.10 
npm install grunt-connect-proxy@0.1.10



Here is the snippet of my gruntfile:


Monday, January 4, 2016

Convert font-awesome and glyphicons into exportable pngs

Check out this awesome site for converting icons into images!





Sunday, January 3, 2016

Update Website Footer automatically

Here is a super simple method for never having to update your footer again:

<script type="text/javascript">
    document.write(new Date().getFullYear());
</script>

More at:
http://updateyourfooter.com/



Monday, March 16, 2015

Best Free Shit on the Internet According to Reddit

Found this awesome list on Reddit;

Entertainment:
Project Gutenberg - Free books
OpenLibrary - download out-of-copyright books, borrow in-copyright books
LibriVox - Free audio books
Podiobooks.com - free audiobooks mostly from self-published authors.
Documentary Heaven - Free documentaries
TopDocumentaryFilms.com and FreeDocumentary.tv - more free documentaries.
Last.fm - Keeps track of your listening habits
Songza - Playlists for whatever mood you're in.
8tracks - Another playlist service with playlists created by users. Internet radio created by people, not algorithms.
Popcorn Time - /r/PopCornTime
Media Hint - Allows for US Netflix and Pandora access for those of us living abroad. Turns out Media Hint are now charging but here is a workaroundZenMate - (Chrome extension) MediaHint alternative.
Hola Unblocker - Same as above, allows access to US Netflix, Hulu, Pandora, etc. but be warned
Soundozer - it's kind of like Pandora, but you can listen to any song you search for and you can create a station based on that song. You don't have to register either.
Grooveshark - free music, online radio, streaming. recommended by /u/freebytes
Jango - Free music - internet radio that plays what you want, great for those who can't access Pandora. recommended by /u/your_mind_aches
Pornhub  - free porn, nuff said
TBLOP - The big list of porn
Thumbzilla - more porn.
That Mp3 - Convert YouTube to Mp3. Really simple. Don't click on any ads.

Courses and tutorials:
CourseBuffet - Search and organize free online courses in most university subjects
Class Central - Discover free online classes (MOOCs) from top universities like Stanford, MIT, Harvard, etc.
Coursera
OpenStudy
Open2Study - recommended by /u/SpiceFox
FutureLearn - Learning for life, provided by UK and international universities. recommended by/u/fdsafdaw3f3acvsda
Udacity
iTunes U - iTunes University offers many free open courses from leading university. recommended by/u/wuisawesome
Harvard Open Courseware
MIT Open Courseware
Yale Open Courseware - actual video lectures for the class so you can get the in-class experience. Lots of classes over lots of subjects.
Stanford Open Courseware
EDX - Free courses from the best universities, you can even get a diploma for a few dollars. recommended by/u/Ghune
Khan Academy - Free learning tutorials on just about every subject.
PatrickJMT - making FREE and hopefully useful math videos for the world! recommended by /u/thejoce1
Codecademy Free interactive coding tutorials
Become a programmer, motherfucker
Duolingo and FSI Language courses - Free language learning
Memrise - Learn vocabulary, languages, history, science, trivia and just about anything else easily using flashcard techniques. Recommended by /u/exploiting
Anki - Similar to Memrise. Anki is a program which makes remembering things easily. Intelligent flashcards
Ted Talks  - Free talks and lecture about anything and everything
Wolfram Alpha - Your one stop shop for calculations and questions about anything
Mathway - Awesome math problem solver. recommended by /u/RedS94
A giant collection of Computer Science books made freely available
FreeRice - Answer vocabulary questions and rice is donated to charity! /u/Jowzer 's recommendation. Be sure to turn off adblock when using this site, as that's how they supply the rice! (Thanks for the heads up /u/Jack0fspad3s) Mendeley - The best free way to manage your research. Organize, share, discover. Great for when writing a paper, it manages all your referencing/bibliography in many different available notations

Self-Help/Advice:
7 Cups of Tea - Free, anonymous, and confidential conversations with trained active listeners. Please don't spam the site, they offer a great service
Thrive On  - Not completely free, but aims to bring affordable online mental health programs to those who would otherwise go without. Starting next month
Blah Therapy - Online listening service. "Experience the rewards of venting to a stranger or lending an ear."
MoodGYM - Learn cognitive behaviour therapy skills for preventing and coping with depression. recommended by/u/sunnysidemegg
Social Services resources - a subreddit created by a professional Social Worker who has spent a career procuring resources for those in need. /u/TheFightGoes0n

Software/Add-ons:
Ninite - update/install all your programs at once
PortableApps - load several apps on a thumb drive to run on any Windows PC. recommended by /u/danteas1
SlimDrivers - Cloud based program that detects what drivers need to be updated. Incredible--especially after formatting an operating system. No need for CDs or trying to remember which model card, adapter...etc. you have. recommended by /u/El_Frijol
Copy- Online cloud storage. Start with 15gb free. Or 20gb with a referral link.
SyncThing - opensource alternative for bitsync. its recommended if you care about your privacy and security of your files. recommended by /u/akeryw
Mega Desktop Sync(50GB) and Symform (Unlimited, but you must share back!) - both cloud storage services recommended by /u/muntoo
Calibre - Free ebook library management
F.lux - Adjusts the gamma on your screen uses magic as the day progresses to reduce eye strain.
GIMP - Free photo manipulation software
Inkscape - Free and open vector graphics editor.
Paint.NET - Windows application designed to be the much needed upgrade to MS Paint. recommended by/u/SquirreI and /u/zeaga
Pixlr - Online photo editor. web-based equivalent to an old version of Photoshop from 2005 or something. Very functional for occasional use manipulating images, and seeing as it's web-based and doesn't require an account it's super easy to use from anywhere. recommended by /u/abercromby3
Sumo Paint - Powerful graphics editor for your web browser and pc, recommended by /u/NotMyCircus
Blender - Open source, cross platform suite of tools for 3D creation. recommended by /u/Tom7980
Prey Project - Multi-platform anti-theft software
RES - Reddit enhancement suite - A must have for all you redditing needs
KeePass - free, open source, light-weight and easy-to-use password manager.
LastPass - free (with premium for multiple platforms), easy-to-use password manager.
Dictionary Pop-up extension, double click on a word that you don't know the meaning of and a dictionary definition pops up. Firefox extension powered by dictionary.com
Chrome extension powered by Google
 ClipCube - clipboard history. ClipX - ClipX is a tiny clipboard history manager. It is sweet, it is free, use it. ClipCube alternative.
LeechBlock (Firefox add-on) - simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. recommended by /u/Rae_Starr
StayFocused - Chrome alternative to LeechBlock, recommended by /u/Jeskid14

Saturday, March 7, 2015

[FIX] SVN Cleanup Failed to process the following paths previous operation has not finished

I ran into a commit issue that prevented me from doing anything with svn for my project. This error would continually pop up, asking me to run cleanup, but that did nothing. None of my svn icons appeared to show up on any of the project files either.

The problem here is that the work_queue in the local svn db still has operations on it that were interrupted.

How to fix:

1. Download SQLite and extract in the base directory where the issue is occurring.

2. Start command prompt and navigate to the base directory. Run the following command:

sqlite3.exe .svn/wc.db "select * from work_queue"
My results:
295|(file-install /bin/Content/js/jquery-1.11.2.min.js 1 0 1 1)

We can clear out the work_queue to get things functioning again.

3. Run the following command to delete the work queue entries:
sqlite3.exe .svn/wc.db "delete from work_queue"
4. Refresh the windows explorer of your directory. You should see the svn icons now show up correctly.