Skip to content

Instantly share code, notes, and snippets.

javascript: eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('y:(v(){2 4=5.x(\'.z-B\');2 A=0;C(v(){2 e=\'.l{-n-t:6-7 u 1;-w-t:6-7 u 1}@-n-r 6-7{0%{9-d:c(a,b,8,1)}m%{9-d:c(a,b,8,0)}}@-w-r 6-7{0%{9-d:c(a,b,8,1)}m%{9-d:c(a,b,8,0)}}\',f=5.f||5.G(\'f\')[0],3=5.Q(\'3\');3.P=\'O/e\';S(3.k){3.k.D=e}U{3.j(5.T(e))}f.j(3)},R);M(2 i=0;i<4.N;i++){2 h=4[i].F[0].E;2 g=H(s(h));2 o=I.L((s(h)-g)*K);2 p=g+\'.\'+o;4[i].J=p;4[i].q=4.q+" l"}})()',57,57,'||var|style|data|document|target|fade|158|background|255|251|rgba|color|css|head|hrs|||appendChild|styleSheet|meowk|100|webkit|min|result|className|keyframes|Number|animation|3s|function|moz|querySelectorAll|javascript|value|sum|cell|setTimeout|cssText|nodeValue|childNodes|getElementsByTagName|parseInt|Math
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 22, 2024 11:45
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@oilop9000
oilop9000 / DbmigrateController.php
Last active August 5, 2020 20:05 — forked from bruceoutdoors/DbmigrateController.php
Laravel 4 Convert existing MySQL database to migrations. This is a fork of Lee Zhen Yong https://gist.github.com/bruceoutdoors/9166186 fork from Christopher Pitt's work http://laravelsnippets.com/snippets/convert-an-existing-mysql-database-to-migrations, which is based off michaeljcalkins's work at http://paste.laravel.com/1jdw#sthash.0nEgQzQR.dpuf
<?php
/* * **
*
* This script converts an existing MySQL database to migrations in Laravel 4.
*
* 1. Place this file inside app/controllers/
*
* 2. In this file, edit the index() method to customize this script to your needs.
* - inside $migrate->ignore(), you pass in an array of table
@DaRaFF
DaRaFF / ubuntu-php-development-environment.md
Last active October 13, 2023 00:16
Ubuntu php development environment

#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!

I hope it helps you too!

fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup

@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active March 8, 2024 02:11
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh