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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Please read: http://msdn.microsoft.com/en-us/library/ie/dn455106.aspx --> | |
<browserconfig> | |
<msapplication> | |
<tile> | |
<square70x70logo src="assets/pictures/design/ms-small-tile.png"/> | |
<square150x150logo src="assets/pictures/design/ms-medium-tile.png"/> | |
<wide310x150logo src="assets/pictures/design/ms-wide-tile.png"/> | |
<square310x310logo src="assets/pictures/design/ms-big-tile.png"/> | |
<TileColor>#3498db</TileColor> |
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
const $ajax = (url, data) => new function() { | |
this.success | |
this.error | |
let xhr = new XMLHttpRequest(); | |
xhr.onreadystatechange = e => { | |
if (xhr.readyState == 4) { | |
if(xhr.status == 200) this.success(xhr.responseText); | |
else this.error(xhr.status); | |
} |
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 is_ascii($str) { | |
return (preg_match('/[^\x00-\x7F]/S', $str) === 0); | |
} | |
function codificacao($string) { | |
return mb_detect_encoding($string.'x', 'UTF-8, ISO-8859-1'); | |
} | |
function word_limiter($str, $limit = 100, $end_char = '…') { | |
if (trim($str) === '') return $str; |
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
SET DATEFIRST | |
SET DATEFORMAT | |
SET IDENTITY_INSERT | |
SET LANGUAGE | |
SET ROWCOUNT | |
SET SHOWPLAN_ALL | |
SET STATISTICS IO | |
SET STATISTICS TIME |
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
keytool -genkey -v -keystore PATH_TO/MYAPP.KEYSTORE -alias MYAPP_ALIAS -keyalg RSA -keysize 2048 -validity 100000 | |
jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore PATH_TO/MYAPP.KEYSTORE PATH_TO/MY_UNSIGNED_RELEASE.APK MYAPP_ALIAS | |
zipalign -f -v 4 PATH_TO/MY_UNSIGNED_RELEASE.APK PATH_TO/MY_SIGNED_RELEASE.APK |
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
bcdedit /set hypervisorlaunchtype auto|off |
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
SET lc_time_names = 'pt_BR'; |
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
php -m | grep EXTENSION_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
Server=SERVIDOR; Database=NOME_DB; User Id=USUARIO; Password=SENHA; |
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
config.Formatters.JsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects; | |
config.Formatters.Remove(config.Formatters.XmlFormatter); |