Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
namespace SimpleConsole | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
class Program | |
{ | |
static void Main() |
Project Update #27: The Storm | |
For backers only, Posted by cw&t | |
Hi backers! | |
First, for those of you still waiting for your pen(s), we're still on schedule. The schedule was posted a few updates ago (update #22). The 3 remaining batches are shipped from our manufacturer in China on | |
July 7th (480 pens) | |
July 23rd (480) | |
August 7th (494) |
{method} | |
- klass: {other class} | |
- this oop: 0x00000000bc925718 | |
- method holder: 'StopThread$1' | |
- constants: 0x00000000bc925430 constant pool [29] for 'StopThread$1' cache=0x00000000bc925a90 | |
- access: 0xc1000001 public | |
- name: 'run' | |
- signature: '()V' | |
- max stack: 1 | |
- max locals: 2 |
#!/usr/bin/env sh | |
origin=`curl -i http://202.116.160.166 | egrep '(Cookie)|(VIEW)' --color` | |
session=`echo $origin | perl -n -e '/SessionId=(\S+);/ && print $1'` | |
viewstate=`echo $origin | perl -n -e '/value="(\S+)"/ && print $1'` | |
cookie="Cookie:ASP.NET_SessionId="$session | |
agent="User-Agent:python/gevent-http-client-1.0a" | |
curl -H $cookie http://202.116.160.166/CheckCode.aspx > /tmp/test.gif |
/* | |
* linux 2.6.37-3.x.x x86_64, ~100 LOC | |
* gcc-4.6 -O2 semtex.c && ./a.out | |
* 2010 sd@fucksheep.org, salut! | |
* | |
* update may 2013: | |
* seems like centos 2.6.32 backported the perf bug, lol. | |
* jewgold to 115T6jzGrVMgQ2Nt1Wnua7Ch1EuL9WXT2g if you insist. | |
*/ |
Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
This article is now published on my website: When are circular imports fatal?
#!/bin/sh | |
# | |
# Read-only Root-FS for Raspian | |
# | |
# Modified 2015 by Pascal Rosin to work on raspian-ua-netinst with | |
# overlayfs integrated in Linux Kernel >= 3.18. | |
# | |
# Originally written by Axel Heider (Copyright 2012) for Ubuntu 11.10. | |
# This version can be found here: | |
# https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash#Overlayfs |
Document moved to: https://github.com/servo/servo/blob/master/HACKING_QUICKSTART.md