-
Go to /Interface/AddOns/MikScrollingBattleText/
-
Copy MSBTLoot.lua somewhere (backup)
-
Open MSBTLoot.lua
-
Find lines 100 - 102
-
Change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// by Erik Wrenholt | |
import java.util.*; | |
class Mandelbrot | |
{ | |
static int BAILOUT = 16; | |
static int MAX_ITERATIONS = 1000; | |
private static int iterate(float x, float y) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function boot() { | |
$request = $this->app->make('request'); | |
if ($request->is('should/not/be/csrf/checked/path/*')) { | |
$this->app->make('csrf')->disable(); | |
} | |
} | |
// or, alternatively with facades | |
public function boot() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="confirm-container"> | |
<!--This will contain the confirmation when the email is successfully sent--> | |
</div> | |
<form class="flexiContactForm" role="form" | |
data-request="{{ __SELF__ }}::onMailSent" | |
data-request-update="'{{ __SELF__ }}::confirm': '.confirm-container'"> | |
<div class="form-groups"> | |
<div class="form-group"> | |
<input type="text" class="form-control" value="" name="name" placeholder="Enter name"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if not user %} | |
<form | |
onsubmit="$(this).request('onSignin', { | |
url: '{{ __SELF__.signInTarget | raw }}' | |
{% if __SELF__.hasRedirect %} | |
, data: { | |
redirect: '{{ __SELF__.redirect }}' | |
} | |
{% endif %} | |
}); return false;"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if not user %} | |
<form onsubmit="$(this).request('onRegister', { | |
url: '{{ __SELF__.registerTarget | raw }}' | |
{% if __SELF__.hasRedirect %} | |
, data: { | |
redirect: '{{ __SELF__.redirect }}' | |
} | |
{% endif %} | |
}); return false;"> | |
<div class="form-group"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ form_ajax('onUpdate', { model: user, redirect: __SELF__.getRedirect }) }} | |
<div class="form-group"> | |
<label for="firstName">First Name</label> | |
<input name="name" type="text" class="form-control" id="firstName" value="{{ form_value('first_name') }}"> | |
</div> | |
<div class="form-group"> | |
<label for="lastName">First Name</label> | |
<input name="name" type="text" class="form-control" id="lastName" value="{{ form_value('last_name') }}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
date=`date +%d%m%Y-%H%M` | |
echo "Failed updates:" > /tmp/gitupdate-$date.log | |
for dir in *; do | |
if [[ -d $dir ]]; then | |
cd $dir | |
if [[ -d ".git" ]]; then | |
echo | |
echo "Updating $dir ..." | |
echo "-----------------------------------------" |
-
Przejdź do folderu /Interface/AddOns/MikScrollingBattleText/
-
Skopiuj gdzieś w ramach kopii zapasowej plik MSBTLoot.lua
-
Otwórz plik MSBTLoot.lua
-
Znajdź linie 100 - 102
-
Zmień
OlderNewer