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
3106 NP | |
Romeo | |
O | |
Tybalt | |
Juliet | |
Come | |
Ay | |
God | |
thou art | |
a man |
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 mozprocess | |
p = mozprocess.ProcessHandler(['/tmp/test.sh']) | |
p.run() | |
p.wait() |
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
# Any copyright is dedicated to the Public Domain. | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# | |
# A GDB Python script to fetch debug symbols from the Mozilla symbol server. | |
# | |
# To use, run `source /path/to/symbols.py` in GDB 7.9 or newer, or | |
# put that in your ~/.gdbinit. | |
from __future__ import print_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
#!/usr/bin/env python | |
import distutils.spawn | |
import os | |
import requests | |
import shutil | |
import subprocess | |
import sys | |
import tempfile | |
import urlparse |
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
# | |
# Print hilighted messages & private messages to window named "hilight" for | |
# irssi 0.7.99 by Timo Sirainen | |
# | |
# Modded a tiny bit by znx to stop private messages entering the hilighted | |
# window (can be toggled) and to put up a timestamp. | |
# | |
# Forked from https://github.com/irssi/scripts.irssi.org/blob/gh-pages/scripts/hilightwin.pl | |
use strict; |
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
WARNING: detected application not running, pid=3924 | |
INFO: backing off, wait=2s, failures=1 | |
DEBUG: getting elevated token, elevation required | |
DEBUG: processes in session 1: csrss.exe, winlogon.exe, nvxdsync.exe, nvvsvc.exe, nvwmi64.exe, taskhost.exe, dwm.exe, explorer.exe, RtkNGUI64.exe, RAVBg64.exe, DellPoaEvents.exe, VidyoDesktop.exe, BTSync.exe, LogonUI.exe, | |
DEBUG: found winlogon.exe in session 1 | |
DEBUG: got token 636, duplicating | |
DEBUG: duplicated, new token: 616 | |
INFO: starting new process | |
DEBUG: launched syntool to check active desktop | |
DEBUG: adopting new buffer |
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 getGIF(words) { | |
return new Promise(function(resolve, reject) { | |
var req = new XMLHttpRequest(); | |
req.responseType = "json"; | |
req.onload = function() { | |
if (req.response.meta.status != 200 || | |
!req.response.data.hasOwnProperty('images')) { | |
reject("Failed"); | |
} else { | |
resolve(req.response.data.images.downsized.url); |
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
xprop -root -notype _NET_DESKTOP_GEOMETRY | |
xprop -root -notype _NET_DESKTOP_VIEWPORT | |
xprop -root -notype _NET_NUMBER_OF_DESKTOPS | |
xwininfo -root | grep geometry |
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
// g++ -o gtk-simple gtk-simple.cpp `pkg-config --libs --cflags gtk+-2.0` | |
#include <gtk/gtk.h> | |
int main( int argc, char *argv[]) | |
{ | |
GtkWidget *window; | |
gtk_init(&argc, &argv); | |
window = gtk_window_new(GTK_WINDOW_TOPLEVEL); |
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
Not using buckd because watchman isn't installed. | |
[-] PARSING BUCK FILES...FINISHED 0.0s | |
Creating a build with 10 threads. | |
BUILT //:system_libs (1/102 JOBS) | |
BUILT //:rr#default,header-symlink-tree (3/102 JOBS) | |
BUILT //:headers (4/102 JOBS) | |
BUILT //:headers#default,exported-header-symlink-tree (4/102 JOBS) | |
BUILT //:generate_syscalls (5/102 JOBS) | |
BUILT //:gen_SyscallEnumsForTestsX86.h (6/102 JOBS) | |
BUILT //:gen_AssemblyTemplates.h (7/102 JOBS) |