I hereby claim:
- I am paradite on github.
- I am paradite (https://keybase.io/paradite) on keybase.
- I have a public key whose fingerprint is D52F 27FD B7CC 54ED F503 2B02 4F0E 079D 382E E914
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // tested in Chrome and Firefox | |
| this.onPaste = function (event) { | |
| if($(event.target).is(':focus')) { | |
| // actually typing on the element, stop paste progation to outside paste handler | |
| event.stopPropagation(); | |
| // intercept paste and format the text | |
| event.preventDefault(); | |
| var newText = (event.originalEvent || event).clipboardData.getData('text/plain'); | |
| newText = newText.replace(/\r?\n/g, ' '); |
This gist assumes:
| <?php | |
| /** | |
| * The template used for displaying page content in page.php | |
| * | |
| * @package Suits | |
| * @since Suits 1.0 | |
| */ | |
| ?> | |
| <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
| https://github.com/socketio/socket.io/issues/2044 |
| MIT License | |
| Copyright (c) 2020 Zhu Liang | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| <snippet> | |
| <!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
| <content><![CDATA[console.log($1);$0]]></content> | |
| <tabTrigger>conl</tabTrigger> | |
| <scope>text.html,source.js</scope> | |
| <description>console.log()</description> | |
| </snippet> | |
| <snippet> | |
| <!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |
| git checkout -b gh-pages | |
| git push --set-upstream origin gh-pages | |
| git branch -d master | |
| (change default branch on GitHub to gh-pages) | |
| git push origin :master |