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
[interface] | |
resolution_dir="480_272" | |
[rawdisplay] | |
class="wide" | |
screen_x=480 | |
screen_y=272 | |
[map] | |
2dheadup="1" |
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
// defining function | |
(function($) { | |
$.eventReport = function(selector, root) { | |
var s = []; | |
$(selector || '*', root).addBack().each(function() { | |
var e = $._data(this, 'events'); | |
if(!e) return; | |
var tagGroup = this.tagName || "document"; | |
if(this.id) tagGroup += '#' + this.id; | |
if(this.className) tagGroup += '.' + this.className.replace(/ +/g, '.'); |
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
window.addEventListener('load', () => { | |
function TUGO_sendMessage(number, message) { | |
// Add Number | |
var _number_input = angular.element($(".host")[0]).scope(); | |
_number_input.tagList.addText(number); | |
// Add Text | |
var _text_input = angular.element($('textarea[ng-model="message"]')[0]).scope(); | |
_text_input.message = message; | |
_text_input.sendMessage(_text_input.message); | |
setTimeout(() => { |
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
var X_sacs = ["5521999395050", | |
"555199595050", | |
"557199595050", | |
"558182595050", | |
"5511999595050", | |
"554192905050", | |
"554891905050", | |
"556199595050", | |
"553199595050", | |
"5511943613092", |
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
javascript:( X_checkTest() ) |
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
# Android SDK setup | |
## Install Java | |
``` | |
sudo apt-get update | |
sudo dpkg --add-architecture i386 | |
sudo apt-get install libbz2-1.0:i386 | |
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 | |
sudo apt-get install openjdk-8-jdk openjdk-8-jre |
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/sh | |
versionMaj="1" | |
versionMin="0" | |
versionRev="1" | |
version="$versionMaj.$versionMin-$versionRev" | |
echo "Removing old Postman tarballs" | |
rm -f $(ls Postman*.tar.gz) |
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
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
sudo apt-add-repository "deb https://download.sublimetext.com/ apt/stable/" | |
sudo apt install sublime-text |
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
sudo mkdir /var/run/mysqld | |
sudo chmod 777 /var/run/mysqld | |
sudo /etc/init.d/mysql stop | |
sudo mysqld_safe --skip-grant-tables & | |
mysql -uroot | |
use mysql; | |
update user set authentication_string=password('mynewpassword') where user='root'; | |
flush privileges; | |
quit |
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
Step 1 – Add new repository sources | |
At the time of writing, PHP 7.0 hasn’t yet made the official repository sources, so we need to add one which provides us with the PHP 7.0 packages. Edit your sources file with this command: | |
sudo nano /etc/apt/sources.list | |
Below the existing entries in the file on a blank line, add the following two lines: | |
deb http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free | |
#deb-src http://repozytorium.mati75.eu/raspbian jessie-backports main contrib non-free | |
Your file should look a little like this: |
OlderNewer