Skip to content

Instantly share code, notes, and snippets.

Keios Solutions keiosweb

Block or report user

Report or block keiosweb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View saints_row.debug
System Information:
OS Version:
Linux Distribution: Arch Linux
Kernel Version: 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016
Hardware Info:
Machine Type Hewlett-Packard HP Compaq dc7900 Convertible Minitower
CPU Type GenuineIntel x86_64
CPU Info Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz
CPU Speed 3333 MHz
@keiosweb
keiosweb / msbt54_item_number_bugfix_pl.md
Created Mar 4, 2016
MSBT 5.4 Loot Item Number Bugfix PL
View msbt54_item_number_bugfix_pl.md
  1. Przejdź do folderu /Interface/AddOns/MikScrollingBattleText/

  2. Skopiuj gdzieś w ramach kopii zapasowej plik MSBTLoot.lua

  3. Otwórz plik MSBTLoot.lua

  4. Znajdź linie 100 - 102

  5. Zmień

@keiosweb
keiosweb / msbt54_item_number_bugfix.md
Last active Mar 4, 2016
MSBT 5.4 Loot Item Number Bugfix
View msbt54_item_number_bugfix.md
  1. Go to /Interface/AddOns/MikScrollingBattleText/

  2. Copy MSBTLoot.lua somewhere (backup)

  3. Open MSBTLoot.lua

  4. Find lines 100 - 102

  5. Change

@keiosweb
keiosweb / git-update.sh
Created Nov 22, 2015
Visits all directories in current directories and git pulls them if they are git repos. Lists directories in which git pull failed at the end.
View git-update.sh
#!/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 "-----------------------------------------"
View account.twig
{{ 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') }}">
View register.twig
{% 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">
View webvariables.twig
<!-- meta partial to use freely -->
<meta charset="{{ website_charset }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ this.page.title }} | {{ website_title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ website_description }}"/>
<meta name="keywords" content="{{ website_keywords }}"/>
<meta name="author" content=""/>
View signIn.twig
{% if not user %}
<form
onsubmit="$(this).request('onSignin', {
url: '{{ __SELF__.signInTarget | raw }}'
{% if __SELF__.hasRedirect %}
, data: {
redirect: '{{ __SELF__.redirect }}'
}
{% endif %}
}); return false;">
View ContactForm.twig
<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">
@keiosweb
keiosweb / simplemenu.twig
Last active Oct 15, 2015
SimpleMenu Raw
View simplemenu.twig
<!-- Static navbar -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
You can’t perform that action at this time.