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
#!/usr/bin/env bash | |
# The installation script of PSCyr package (for texlive system). | |
# On Ubuntu 13.10 it equals to '/usr/share/texlive/texmf-dist' | |
TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` | |
echo "###> Installing PSCyr to '$TEXMF' folder" | |
mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts,fonts/enc,fonts/map/dvips}/pscyr |
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
console.log = console.__proto__.log; var tok=$("#signout-form .authenticity_token").val(); jQuery(".stream-item").map( function() { var id=jQuery(this).attr("data-item-id"); var tweet = jQuery(this).find(".tweet"); return {"tweet_id": id, "user_id": tweet.attr("data-user-id"), "screen_name": tweet.attr("data-screen-name"), "report_type": "spam", "block_user": true, "authenticity_token": tok}; } ).each(function(){jQuery.post("https://twitter.com/i/tweet/report", this, function(d){console.log(d);})}); |
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
<! DOCTYPE html> | |
<%@page import="com.google.appengine.datanucleus.query.*"%> | |
<%@page import="java.util.*"%> | |
<%@page import="com.google.appengine.api.datastore.*"%> | |
<%@page import="com.google.appengine.repackaged.com.google.api.client.util.store.DataStore"%> | |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<%@ page import="com.google.appengine.api.users.*" %> | |
<%@ page import="com.google.common.html.HtmlEscapers" %> <!-- Guava --> | |
<html><body> |
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
private BigInteger getBigIntegerFromUuid(UUID randomUUID) { | |
ByteBuffer bb = ByteBuffer.wrap(new byte[16]); | |
bb.putLong(randomUUID.getMostSignificantBits()); | |
bb.putLong(randomUUID.getLeastSignificantBits()); | |
return new BigInteger(bb.array()); | |
} |
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
root@beaglebone:~/tub-doorflirt/sample# sleep 2 && ./raspberry_pi_capture && ./show_ascii | |
spi mode: 0 | |
bits per word: 8 | |
max speed: 16000000 Hz (16000 KHz) | |
Calculating min/max values for proper scaling... | |
maxval = 8314 | |
minval = 7853 | |
........... ..,;c | |
.............. ..',codk0 | |
............... ....,;cox0K0Ox |
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
In the late 1980s, Stuart GraBois, a federal prosecutor in New York, had become obsessed with the disappearance of a 6-year-old boy named Etan Patz. GraBois had worked with the Manhattan boy’s parents, interviewed police investigators and developed a theory: The boy, who had gone missing while on the way to school one morning in 1979, had been abducted and killed by a convicted pedophile named Jose Ramos. | |
It was not an outlandish notion. Ramos, it turned out, had been a onetime boyfriend of Patz’s regular babysitter. He could well have known the boy’s route to school. And he had a record of abusing young children. | |
GraBois, as part of his pursuit, came to work with an informant in the New York prison where Ramos was an inmate. Get him to tell you what he did to the boy, GraBois told the informant. Figure out what he had done with the boy’s body, which had never been found. | |
And so the informant, a man named Jack Colbert who was imprisoned on a fraud conviction, soon got to work at the federal facility in Otisvi |
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
CREATE table Questions ( | |
ID SERIAL, | |
QUESTION varchar (300) NOT NULL, | |
PRIMARY KEY (ID) | |
); | |
CREATE table Answers ( | |
ID SERIAL, | |
QID integer NOT NULL, | |
ANSWER varchar (300) NOT NULL, |
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
heroku addons:add heroku-postgresql | |
heroku addons:add pgbackups | |
heroku addons:add papertrail | |
heroku addons:add rollbar | |
heroku addons:add mailgun | |
heroku addons:add codeship |
This file has been truncated, but you can view the full file.
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
andrij@deneb ~ $ sudo tail -f /var/log/messages | |
Mar 16 18:13:44 deneb sshd[2300]: pam_unix(sshd:session): session opened for user andrij by (uid=0) | |
Mar 16 18:13:44 deneb sshd[2304]: SSH: Server;Ltype: Kex;Remote: 192.168.4.200-47659;Enc: aes128-ctr;MAC: [email protected];Comp: none | |
Mar 16 18:14:08 deneb sshd[2317]: SSH: Server;Ltype: Version;Remote: 192.168.4.200-47660;Protocol: 2.0;Client: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 | |
Mar 16 18:14:08 deneb sshd[2317]: SSH: Server;Ltype: Kex;Remote: 192.168.4.200-47660;Enc: aes128-ctr;MAC: [email protected];Comp: none [preauth] | |
Mar 16 18:14:08 deneb sshd[2317]: SSH: Server;Ltype: Authname;Remote: 192.168.4.200-47660;Name: andrij [preauth] | |
Mar 16 18:14:08 deneb sshd[2317]: Accepted publickey for andrij from 192.168.4.200 port 47660 ssh2: RSA 45:6e:35:69:68:68:9d:be:51:8e:13:b7:9e:4c:37:06 | |
Mar 16 18:14:08 deneb sshd[2317]: pam_unix(sshd:session): session opened for user andrij by (uid=0) | |
Mar 16 18:14:08 deneb sshd[2323]: SSH: Server;Ltype: Kex;Remote: 192.168. |
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
Mar 16 18:55:07 deneb kernel: [ 730.426766] [OSPJ c=2499] ospj_calc_time_slice() | |
Mar 16 18:55:07 deneb kernel: [ 730.426775] pid 2499 share 10 ts 2 | |
Mar 16 18:55:07 deneb kernel: [ 730.426779] Remaining available bw 80 percent | |
Mar 16 18:55:07 deneb kernel: [ 730.426783] [OSPJ] SUCCESS - Task's class & share updated successfully to VMS | |
Mar 16 18:55:07 deneb kernel: [ 730.426787] [OSPJ c=2499] set_curr_task_ospj() | |
Mar 16 18:55:07 deneb kernel: [ 730.426791] [OSPJ] enqueue(): add 2499, nr_running = 1 | |
Mar 16 18:55:07 deneb kernel: [ 730.426798] [OSPJ c=2499] update_curr_ospj() | |
Mar 16 18:55:07 deneb kernel: [ 730.426802] [OSPJ] check_preempt_curr_ospj(); // old: 2499; new: 2499 | |
Mar 16 18:55:07 deneb kernel: [ 730.426808] [OSPJ c=2499] put_prev_task_ospj() | |
Mar 16 18:55:07 deneb kernel: [ 730.426811] [OSPJ c=2499] update_curr_ospj() |