List & disable/uninstall
Check whenever USB debugging is enabled
Settings > Developer Options > USB debugging
Download & check adb
<?php | |
$host='tcp:172.18.0.3,1433'; | |
$dbname='Master'; | |
$sa='sa'; | |
$pwd='yourStrong(!)Password'; | |
try { | |
//The caveat is that disabling MARS means you can only have one active statement/result at a time. So depending on how your PHP code is structured you could encounter errors when executing a second statement or accessing a result. | |
$dbDB = new PDO("sqlsrv:Server=$host;Database=$database;MultipleActiveResultSets=false", $sa, $pwd); |
FROM php:7.0-apache | |
COPY src/ /var/www/html/ | |
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux | |
RUN apt-get update && apt-get install -y \ | |
apt-transport-https \ | |
gnupg \ | |
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ | |
&& curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list \ |
### Keybase proof | |
I hereby claim: | |
* I am empirefx on github. | |
* I am efex (https://keybase.io/efex) on keybase. | |
* I have a public key whose fingerprint is 8911 7745 CC5C D178 83E1 1D08 85F8 0A4C E22F 4530 | |
To claim this, I am signing this object: |
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from PyQt4 import QtGui, QtCore, QtWebKit | |
import subprocess, os | |
from sys import exit, argv | |
if __name__ == '__main__': | |
app = QtGui.QApplication(argv) | |
view = QtWebKit.QWebView() | |
//JQuery | |
function interate (arg) { | |
$.each(arg, function(index, value){ | |
isObjArr = Object.prototype.toString.call( value ); | |
if( isObjArr === '[object Object]' ) { | |
notThis = (index === 'this') ? "" : index; | |
console.log("found: object "+notThis); |
var socket = io.connect(); | |
socket.on('info', function (data) { | |
console.log(data); | |
var state = JSON.parse(data.state); | |
for( i = 0; i < state.length; i++) | |
{ | |
var body = document.getElementsByTagName("body")[0]; |
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from PyQt4.QtGui import QApplication | |
from PyQt4.QtCore import QUrl | |
from PyQt4.QtWebKit import QWebView | |
from sys import exit, argv | |
if __name__ == '__main__': | |
app = QApplication(argv) |
<?php if (! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Codeigniter HTMLPurifier Helper | |
* | |
* Purify input using the HTMLPurifier standalone class. | |
* Easily use multiple purifier configurations. | |
* | |
* @author Tyler Brownell <[email protected]> | |
* @copyright Public Domain |
/* */ | |
table{background-color: green;} | |
/* */ | |
.windowbg2:last-child{width: 100%;} | |
/* background 1 */ | |
body {background-color:#fff;} | |
/* background 2 */ |