Skip to content

Instantly share code, notes, and snippets.

🤠
¯\_(ツ)_/¯

Leo Taifa Merinen leotm

🤠
¯\_(ツ)_/¯
Block or report user

Report or block leotm

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 twitch-trihard.txt
╲ TriHard ╱⧹ TriHard ⧸╲ TriHard ╱⧹ TriHard ⧸⧹ TriHard ⧸ ╲ TriHard ╱⧹ TriHard ⧸╲ TriHard ╱⧹ TriHard ⧸⧹ TriHard ⧸ ╲ TriHard ╱⧹ TriHard ⧸╲ TriHard ╱⧹ TriHard ⧸⧹ TriHard ⧸ ╲ TriHard ╱⧹ TriHard ⧸╲ TriHard ╱⧹ TriHard ⧸⧹ TriHard ⧸ ╲ TriHard ╱⧹ TriHard ⧸╲ TriHard ╱⧹ TriHard ⧸⧹ TriHard ⧸
View twitch-break.txt
ด้้้้้็็็็็้้้้้็็็็็้้้้้้ ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ํํํํํํํํํํํํํํํํํํํํํํํํํํ ̅̅̃̄̅̂̂̈̄̀̀̀̀̆̄̂́́̀̄̀̂̂̂̈̈̃́̂̆̂̀̆̀̃́̆̀̂̀̀̈̆́̀̀̂̄̃́̂̂̀̋̀̂̃̂̇̃̌̊̆̃Ỏ͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫̫̹̗̹͈̼̠̖͍͚̥͈̮̼͕̠̤̯̻̥̬̗̼̳̤̳̬̪̹͚̞̼̠͕̼̠̦͚̫͔̯̹͉͉̘͎͕̼̣̝͙̱̟̹̩̟̳̦̭͉̮̖̭̣̣̞̙̗̜̺̭̻̥͚͙̝̦̲̱͉͖͉̰̦͎̫̣̼͎͍̠̮͓̹̹͉̤̰̗̙͕͇͔̱͕̭͈̳̗̭͔̘̖̺̮̜̠͖̘͓̳͕̟̠̱̫̤͓͔̘̰̲͙͍͇̙͎̣̼̗̖͙̯͉̠̟͈͍͕̪͓̝̩̦̖̹̼̠̘̮͚̟͉̺̜͍͓̯̳̱̻͕̣̳͉̻̭̭̱͍̪̩̭̺͕̺̼̥̪͖̦̟͎̻̰
|ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ํํํํํํํํํํํํํํํํํํํํํํํํํํ| ̅̅̃̄̅̂̂̈̄̀̀̀̀̆̄̂́́̀̄̀̂̂̂̈̈̃́̂̆̂̀̆̀̃́̆̀̂̀̀̈̆́̀̀̂̄̃́̂̂̀̋̀̂̃̂̇̃̌̊̆̃|Ỏ͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫̫̹̗̹͈̼̠̖͍͚̥͈̮̼͕̠̤̯̻̥̬̗̼̳̤̳̬̪̹͚̞̼̠͕̼̠̦͚̫͔̯̹͉͉̘͎͕̼̣̝͙̱̟̹̩̟̳̦̭͉̮̖̭̣̣̞̙̗̜̺̭̻̥͚͙̝̦̲̱͉͖͉̰̦͎̫̣̼͎͍̠̮͓̹̹͉̤̰̗̙͕͇͔̱͕̭͈̳̗̭͔̘̖̺̮̜̠͖̘͓̳͕̟̠̱̫̤͓͔̘̰̲͙͍͇̙͎̣̼̗̖͙̯͉̠̟͈͍͕̪͓̝̩̦̖̹̼̠̘̮͚̟͉̺̜͍͓̯̳̱̻͕̣̳͉̻̭̭̱͍̪̩̭̺͕̺̼̥̪͖̦̟͎̻̰|'| ̅̅̃̄̅̂̂̈̄̀̀̀̀̆̄̂́́̀̄̀̂̂̂̈̈̃́̂̆̂̀̆̀̃́̆̀̂̀̀̈̆́̀̀̂̄̃́̂̂̀̋̀̂̃̂̇̃̌̊̆̃|
ก้้้้้้้้้้้ Ỏ̷͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫̫̹̗̹͈̼̠̖͍͚̥͈̮̼͕̠̤̯̻̥̬̗̼̳̤̳̬̪̹͚̞̼ ̠͕̼̠̦͚̫͔̯̹͉͉̘͎͕̼̣̝͙̱̟̹̩̟̳̦̭͉̮̖̭̣̣̞̙̗̜̺̭̻̥͚͙̝̦̲̱͉͖͉ ̰̦͎̫̣̼͎͍̠̮͓̹̹͉̤̰̗̙͕͇͔̱͕
View mysql-init.sh
# Check process with: ps -ef | grep mysql OR ps aux|grep mysql
pkill mysqld
mysqld_safe --skip-grant-tables &
mysql -u root
FLUSH PRIVILEGES;
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('foobar');
quit
pkill mysql_safe
service mysql start
# now u good 2 go
View useful.htaccess
Options +FollowSymLinks
RewriteEngine on
# beautiful addr/location bar
RewriteRule ^profile/(.*)/(.*)/?$ profile.php?id=$1&name=$2 [B]
# no need to see dem file ext.'s
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
View mysql-connector-java-5.1.39.zip
Home: https://dev.mysql.com/downloads/connector/j/
Download: https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.39.zip
@leotm
leotm / options.dopt
Created Sep 14, 2016
Darksiders 2560x1440 resolution (1440p)
View options.dopt
444f 5054 0004 0000 0056 604a 5801 2121
0100 0001 0101 0137 0000 00a0 0500 0000
0a00 0000 0040 3f
@leotm
leotm / options.dopt
Created Sep 14, 2016
Darksiders 2560x1440 resolution (1440p)
View options.dopt
444f 5054 0004 0000 0056 604a 5801 2121
0100 0001 0101 0137 0000 00a0 0500 0000
0a00 0000 0040 3f
@leotm
leotm / ChromePhpbug.php
Created Jun 16, 2016
ChromePhp tab bug
View ChromePhpbug.php
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\rndsquare.com\profile-edit.php:35) in C:\xampp\htdocs\rndsquare.com\inc\ChromePhp.php on line 394
Call Stack
# Time Memory Function Location
1 0.0006 187872 {main}( ) ...\profile-edit.php:0
2 0.0056 334032 ChromePhp::log( ) ...\profile-edit.php:35
3 0.0056 334320 ChromePhp::_log( ) ...\ChromePhp.php:161
4 0.0057 338832 ChromePhp->_addRow( ) ...\ChromePhp.php:274
5 0.0057 339384 ChromePhp->_writeHeader( ) ...\ChromePhp.php:389
From
@leotm
leotm / php_check.php
Last active Jun 12, 2016
PHP Options/Info Functions
View php_check.php
// It seems PDO attributes are set per connection establishment
// Rather than checking if the attribute is what we desire first, if so not executing it at all
// So I wondered, should the PHP options be just set each connection like PDO?
// Refresh
var_dump(memory_get_usage()); // 167704
if (ini_get('error_reporting') != '22527')
ini_set('error_reporting', 'E_ALL');
var_dump(memory_get_usage()); // 167704
View bashQuotesHang
$ `bash`
$ ssh <username>@<host> -p<port>
# Causes hang
$ bash
$ ssh <username>@<host> -p<port>
# Works
$ `ssh-agent`
bash: SSH_AUTH_SOCK=/tmp/ssh-ic83uMHi6MDg/agent.4932;: No such file or directory
You can’t perform that action at this time.