Skip to content

Instantly share code, notes, and snippets.

View MN-dev's full-sized avatar
🎯
Focusing

MN-DEV MN-dev

🎯
Focusing
View GitHub Profile
@DamianZaremba
DamianZaremba / install_sublime_text.sh
Last active May 25, 2021 21:01
Install sublime text on linux
cd /usr/src/
wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3047_i386.deb
dpkg -i sublime-text_build-3047_i386.deb
301 moved permanently (redirect):
<?php
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.example.com');
die();
?>
302 moved temporarily(redirect):
<?php
header('Location: http://www.example.com');
@dyaa
dyaa / migrations.php
Created January 2, 2014 15:03
Convert an existing MySQL database to #laravel migrations. One time quick job might be helpful for someone
<?php
/*
@michaeljcalkins
// When run from a controller.
$migrate = SqlMigrations::ignore(['some_table'])
->convert('datebase')
->write();
**/
class SqlMigrations
{
@msurguy
msurguy / List.md
Last active April 30, 2024 15:14
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@m-Phoenix852
m-Phoenix852 / discord-token-logger.js
Created August 26, 2020 07:45
Simple script to log in to discord account using token.
let token = "your token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"`
}, 50);
setTimeout(() => {
location.reload();
}, 2500);
}