Skip to content

Instantly share code, notes, and snippets.

@wcypierre
wcypierre / php.conf
Created August 6, 2013 04:18
Nginx - Ajaxplorer php.conf
location ~ \.php {
try_files $uri =404;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
@wcypierre
wcypierre / ssh
Created August 6, 2013 04:58
/etc/init.d/ssh
#!/bin/sh
### BEGIN INIT INFO
# Provides: sshd
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: OpenBSD Secure Shell server
### END INIT INFO
@wcypierre
wcypierre / gist:6164444
Created August 6, 2013 13:33
Lumia unable to turn on screen discussion list
# reread before actually posting
http://discussions.nokia.com/t5/Nokia-Lumia/Lumia-920-Cannot-unlock-phone-black-start-screen/m-p/1634648/highlight/true#M28994
http://discussions.nokia.com/t5/Nokia-Lumia/Nokia-Lumia-920-freezing/m-p/1604040/highlight/true#M24005
http://discussions.nokia.com/t5/Nokia-Lumia/Lumia-920-Will-not-power-up/m-p/1607270/highlight/true#M24588
http://discussions.nokia.com/t5/Nokia-Lumia/Nokia-Lumia-920-freezing/td-p/1604040/highlight/true/page/25
@wcypierre
wcypierre / cheap domain registrar
Created August 6, 2013 17:42
cheap domain registrar
Cheap .net domain(with paypal as a method of payment)
http://www.namesilo.com/pricing.php
Cheap .com domain(but without paypal, only major cc)
http://internet.bs/
@wcypierre
wcypierre / VPS Coupon
Created August 8, 2013 10:19
VPS Coupon
http://vpseer.com/i-recommend(added on 8th Aug 2013)
@wcypierre
wcypierre / outlook pst recovery
Created August 9, 2013 11:31
[Howto] If the pst for your Outlook is gone and you don't have a backup for it
this is a way to recover your outlook if your pst file is gone and it keep prompting you for the file and if you don't provide it one then it will close.
1. Open cmd
2. Go to where the Outlook executable is
3. Type: "Outlook.exe /profile test"
4. Create the profile and all will be fine
Optional:
To set the new profile as default
Type: "Outlook.exe /profiles" and choose your profile name and press option and select it as default
@wcypierre
wcypierre / Low ping from Malaysia to <Destination>
Created August 9, 2013 17:52
Low ping from Malaysia to <Destination>
US
- Los Angeles(190 - 210, avg >205) - Easy to find, cheap
- San Diego(190 - 200, avg 200) - Hard to find or costly
Germany
- idk where(200+ - 220) - hard to find, costly, but its not at US
Unable to run a virtualized Ubuntu due to low spec hardware? Lazy to start up your VMWare and wait for it to boot your Ubuntu? Unable to do any homework at library due to the lack of Ubuntu? Fear no more!
@wcypierre
wcypierre / Windows OS Download list
Last active May 1, 2025 17:37
Windows OS Download list
Windows 7 SP1 ISO:
http://www.w7forums.com/official-windows-7-sp1-iso-image-downloads-t12325.html
Windows XP ISO:
http://download.microsoft.com/download/e/e/9/ee9d0116-c9fe-4fc2-b59c-406cbfb6d515/xpsp3_5512.080413-2113_usa_x86fre_spcd.iso
http://download.microsoft.com/download/8/1/d/81d1f546-f951-45c5-964d-56bdbd758ba4/w2k3sp2_3959_usa_x64fre_spcd.iso
Windows 98 Live CD:
http://www.archive.org/download/Windows98LiveCd/Windows98LiveCdIso.iso
@wcypierre
wcypierre / gateone_setup.sh
Last active December 23, 2015 02:38
gateone_setup.sh
#!/bin/bash
apt-get update -y;
apt-get install g++ debconf autoconf binutils bison debhelper python-dev python3 python-support python-pip python-openssl python-pam git dtach libpng-dev libjpeg-dev -y
cd /usr/;
git clone https://github.com/liftoff/GateOne.git
pip install --upgrade tornado stdeb slimit cssmin Pillow mutagen futures
cd /usr/GateOne/;
python setup.py install
start gateone