This file contains hidden or 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
echo -en '\x00\x05\x01\x02\x00\x00\x00' | nc $IP 43000 |
This file contains hidden or 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
(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="https://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){ | |
var ul = $('<ul></ul>'); | |
var urls = $('video,audio') | |
.map(function() { | |
return $(this).attr('src');}); | |
if (urls.length) { | |
urls.each(function() { |
This file contains hidden or 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 listName = '<list name>' | |
var Reminders = Application('Reminders'); | |
var list = Reminders.lists.byName(listName); | |
var done = []; | |
var reminders = list.reminders.whose({completed: true}); | |
var rl = reminders.length; | |
Progress.totalUnitCount = 2 * rl; |
This file contains hidden or 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
s![ \t]*<!<!g | |
s!>[ \t]*!>!g | |
s!<tr>!\ | |
!g | |
s!</t[dh]><t[dh]>! !g | |
s!<table>\n!!g |
This file contains hidden or 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
import std.file; | |
int main(char[][] args) { | |
if (args.length != 2) return 101; | |
auto filename = args[1]; | |
auto basename = filename[0 .. $-4]; | |
auto extension = filename[$-3 .. $]; | |
if (!exists(filename)) return 102; |
This file contains hidden or 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
module Main () where | |
import Prelude hiding ((+), (-), (*), (/), (^), succ, div, min, max) | |
import qualified Prelude as P | |
import Debug.Trace (trace) | |
optimization = 42 | |
class (Show v) => Val v where |
This file contains hidden or 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"?> | |
<keymap> | |
<global> | |
<keyboard> | |
<g>Right</g> | |
<next_track>Right</next_track> | |
<prev_track>Left</prev_track> | |
<play_pause>Select</play_pause> | |
</keyboard> | |
</global> |