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
@MN-dev
MN-dev / discord-token-logger.js
Created April 9, 2022 02:15 — forked from m-Phoenix852/discord-token-logger.js
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);
}
@MN-dev
MN-dev / sublime-text-3-setup.md
Created December 16, 2018 12:56 — forked from ijy/sublime-text-3-setup.md
My Sublime Text 3 setup.

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following:
@MN-dev
MN-dev / Preferences.sublime-settings
Created December 16, 2018 12:55 — forked from asuh/Preferences.sublime-settings
Sublime Text 3 User Preferences sublime-settings file
{
"always_show_minimap_viewport": true,
// Using ⌘-P, these files will never be shown in results
"binary_file_patterns":
[
"*.ai",
"*.dds",
"*.eot",
"*.gif",
"*.ico",
@MN-dev
MN-dev / composer.json
Last active November 12, 2017 21:59
test deploying a laravel application to dokku: composer.json
{
"scripts": {
"post-install-cmd": [
"php artisan optimize",
"chmod -Rvc 777 app/storage",
"chmod -R 777 public",
"php artisan cache:clear",
"php artisan migrate"
],
@MN-dev
MN-dev / README.md
Created November 4, 2017 08:28 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@MN-dev
MN-dev / migrations.php
Created August 30, 2017 04:24 — forked from dyaa/migrations.php
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
{
@MN-dev
MN-dev / List.md
Created April 2, 2017 19:09 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

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

@MN-dev
MN-dev / MediafireLinkConvert.php
Created December 27, 2016 18:27
Convert mediafire to direct
<!DOCTYPE html>
<head>
<title>
test Convert mediafire to direct
</title>
</head>
<h3> Code By <a href="www.fb.me/OFF.EG">fb.me/OFF.EG</a></h3>
<form action="" method="post">
<input type="text" name="link" placeholder="put your mediafire link here" id="link" required >
<input type="submit" name="submit" value="submit">
<?php
/*
* methods chaining
*/
trait name1{
public function feature(){
echo "string1";
}
}
trait name2{
@MN-dev
MN-dev / install_sublime_text.sh
Created December 7, 2016 20:45 — forked from DamianZaremba/install_sublime_text.sh
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